Coverity Scan: Thunderbird

Project Name Thunderbird
Lines of code analyzed 10,850,872
On Coverity Scan since Apr 12, 2006
Last build analyzed about 9 hours 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

Oct 02, 2026
Last Analyzed
10,850,872
Lines of Code Analyzed
529,026
Lines of Code in Selected Components
0.74
Defect Density

Defect changes since previous build dated Sep 30, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

33,118
Total defects
391
Outstanding
27,155
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,760 1.81
mailnews-compose .*/mail.*/compose/.* No 8,003 1.37
mailnews-imap .*/mail.*/imap/.* No 30,494 1.28
mailnews-import .*/mail.*/import/.* No 2,690 1.49
mailnews-local .*/mail.*/local/.* No 11,181 0.80
mailnews-mime .*/mail.*/mime/.* No 18,327 1.53
mailnews-news .*/mail.*/news/.* No 991 3.03
mail .*/mail.* No 100,254 1.12
calendar-libical .*/calendar/libical/.* No 0 N/A
calendar .*/calendar/.* No 1,121 0.00
Gecko-2 .*/mozilla/.* Yes 778,370 N/A
thunderbird .*/comm/.* No 310,772 0.57
js /js/.* Yes 771,755 N/A
dom /dom/.* Yes 1,014,773 N/A
media /media/.* Yes 520,860 N/A
gfx /gfx/.* Yes 679,509 N/A
accessible /accessible/.* Yes 47,209 N/A
intl /intl/.* Yes 262,723 N/A
toolkit /toolkit/.* Yes 331,887 N/A
third_party /third_party/.* Yes 1,422,876 N/A
widget /widget/.* Yes 85,681 N/A
xpcom /xpcom/.* Yes 83,026 N/A
netwerk /netwerk/.* Yes 268,267 N/A
image /image/.* Yes 35,403 N/A
memory /memory/.* Yes 9,784 N/A
generated-code /obj-x86_64-pc-linux-gnu/.* Yes 2,621,771 N/A
modules /modules/.* Yes 73,390 N/A
security /security/.* Yes 395,479 N/A
storage /storage/.* Yes 9,998 N/A
mfbt /mfbt/.* Yes 20,784 N/A
nsprpub /nsprpub/.* Yes 37,611 N/A
parser /parser/.* Yes 53,774 N/A
tools /tools/.* Yes 25,708 N/A
docshell /docshell/.* Yes 27,409 N/A
editor /editor/.* Yes 86,007 N/A
extensions /extensions/.* Yes 25,102 N/A
xpfe /xpfe/.* Yes 4,610 N/A
testing /testing/.* Yes 1,394 N/A
view /view/.* Yes 0 N/A
hal /hal/.* Yes 1,384 N/A
uriloader /uriloader/.* Yes 10,599 N/A
startupcache /startupcache/.* Yes 976 N/A
other-licenses /other-licenses/.* Yes 5,323 N/A
layout /layout/.* Yes 264,433 N/A
devtools /devtools/.* Yes 6,998 N/A
ipc /ipc/.* Yes 44,646 N/A
root /root/.* Yes 248,445 N/A
caps /caps/.* Yes 5,583 N/A
mozglue /mozglue/.* Yes 38,299 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') 10
131 Incorrect Calculation of Buffer Size 12
190 Integer Overflow or Wraparound 356
676 Use of Potentially Dangerous Function 33
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