Coverity Scan: Thunderbird

Project Name Thunderbird
Lines of code analyzed 10,785,171
On Coverity Scan since Apr 12, 2006
Last build analyzed 1 day ago
   
Language C/C++
Repository URL http://hg.mozilla.org/comm-central/
Homepage URL https://www.mozilla.org/thunderbird/
License MPL (Mozilla Public License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: Version

Nov 22, 2026
Last Analyzed
10,785,171
Lines of Code Analyzed
525,890
Lines of Code in Selected Components
0.74
Defect Density

Defect changes since previous build dated Nov 19, 2026

4
Newly detected
2
Eliminated

Defects by status for current build

33,290
Total defects
391
Outstanding
27,553
Fixed
See how defect density for 'Thunderbird' compares with defect density for other open source projects.  Learn more

Note: Defect density is measured by the number of defects per 1,000 lines of code.


Analysis Metrics per Components

Component Name Pattern Ignore Line of Code Defect density
ldap .*/ldap/.* No 0 N/A
mailnews-addrbook .*/mail.*/addrbook/.* No 2,767 1.81
mailnews-compose .*/mail.*/compose/.* No 7,982 1.38
mailnews-imap .*/mail.*/imap/.* No 30,395 1.18
mailnews-import .*/mail.*/import/.* No 2,694 1.48
mailnews-local .*/mail.*/local/.* No 11,151 0.99
mailnews-mime .*/mail.*/mime/.* No 18,482 1.46
mailnews-news .*/mail.*/news/.* No 990 3.03
mail .*/mail.* No 99,473 1.17
calendar-libical .*/calendar/libical/.* No 0 N/A
calendar .*/calendar/.* No 1,121 0.00
Gecko-2 .*/mozilla/.* Yes 772,651 N/A
thunderbird .*/comm/.* No 313,836 0.56
js /js/.* Yes 778,948 N/A
dom /dom/.* Yes 1,024,081 N/A
media /media/.* Yes 533,645 N/A
gfx /gfx/.* Yes 686,306 N/A
accessible /accessible/.* Yes 47,470 N/A
intl /intl/.* Yes 262,825 N/A
toolkit /toolkit/.* Yes 334,831 N/A
third_party /third_party/.* Yes 1,430,195 N/A
widget /widget/.* Yes 87,932 N/A
xpcom /xpcom/.* Yes 83,379 N/A
netwerk /netwerk/.* Yes 198,753 N/A
image /image/.* Yes 35,663 N/A
memory /memory/.* Yes 9,898 N/A
generated-code /obj-x86_64-pc-linux-gnu/.* Yes 2,580,052 N/A
modules /modules/.* Yes 74,775 N/A
security /security/.* Yes 388,073 N/A
storage /storage/.* Yes 10,177 N/A
mfbt /mfbt/.* Yes 23,472 N/A
nsprpub /nsprpub/.* Yes 37,611 N/A
parser /parser/.* Yes 55,494 N/A
tools /tools/.* Yes 26,416 N/A
docshell /docshell/.* Yes 26,777 N/A
editor /editor/.* Yes 86,320 N/A
extensions /extensions/.* Yes 26,481 N/A
xpfe /xpfe/.* Yes 4,170 N/A
testing /testing/.* Yes 1,394 N/A
view /view/.* Yes 0 N/A
hal /hal/.* Yes 1,427 N/A
uriloader /uriloader/.* Yes 10,644 N/A
startupcache /startupcache/.* Yes 976 N/A
other-licenses /other-licenses/.* Yes 5,323 N/A
layout /layout/.* Yes 268,055 N/A
devtools /devtools/.* Yes 6,996 N/A
ipc /ipc/.* Yes 44,494 N/A
root /root/.* Yes 248,078 N/A
caps /caps/.* Yes 5,603 N/A
mozglue /mozglue/.* Yes 39,896 N/A
Other .* No 42,433 0.12

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 9
131 Incorrect Calculation of Buffer Size 11
190 Integer Overflow or Wraparound 357
676 Use of Potentially Dangerous Function 34
Loading...

Loading...

Loading...

Loading...

Loading...

About Coverity Scan Static Analysis

Find and fix defects in your C/C++, Java, JavaScript or C# open source project for free.

Coverity Scan tests every line of code and potential execution path. The root cause of each defect is clearly explained, making it easy to fix bugs.

Would you like to view the project defects, or help improve its quality by fixing defects?

 Add me to project