Coverity Scan: Thunderbird

Project Name Thunderbird
Lines of code analyzed 10,863,167
On Coverity Scan since Apr 12, 2006
Last build analyzed 2 days 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 22, 2026
Last Analyzed
10,863,167
Lines of Code Analyzed
532,799
Lines of Code in Selected Components
0.73
Defect Density

Defect changes since previous build dated Oct 20, 2026

55
Newly detected
49
Eliminated

Defects by status for current build

33,152
Total defects
391
Outstanding
27,177
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,993 1.38
mailnews-imap .*/mail.*/imap/.* No 30,531 1.28
mailnews-import .*/mail.*/import/.* No 2,690 1.49
mailnews-local .*/mail.*/local/.* No 11,226 0.80
mailnews-mime .*/mail.*/mime/.* No 18,370 1.52
mailnews-news .*/mail.*/news/.* No 998 3.01
mail .*/mail.* No 99,490 1.13
calendar-libical .*/calendar/libical/.* No 0 N/A
calendar .*/calendar/.* No 1,121 0.00
Gecko-2 .*/mozilla/.* Yes 781,717 N/A
thunderbird .*/comm/.* No 310,772 0.57
js /js/.* Yes 774,805 N/A
dom /dom/.* Yes 1,019,205 N/A
media /media/.* Yes 528,701 N/A
gfx /gfx/.* Yes 682,292 N/A
accessible /accessible/.* Yes 47,369 N/A
intl /intl/.* Yes 262,724 N/A
toolkit /toolkit/.* Yes 332,912 N/A
third_party /third_party/.* Yes 1,427,667 N/A
widget /widget/.* Yes 86,572 N/A
xpcom /xpcom/.* Yes 83,300 N/A
netwerk /netwerk/.* Yes 268,999 N/A
image /image/.* Yes 35,597 N/A
memory /memory/.* Yes 9,817 N/A
generated-code /obj-x86_64-pc-linux-gnu/.* Yes 2,600,383 N/A
modules /modules/.* Yes 73,389 N/A
security /security/.* Yes 391,978 N/A
storage /storage/.* Yes 10,141 N/A
mfbt /mfbt/.* Yes 20,803 N/A
nsprpub /nsprpub/.* Yes 37,611 N/A
parser /parser/.* Yes 53,870 N/A
tools /tools/.* Yes 26,251 N/A
docshell /docshell/.* Yes 27,508 N/A
editor /editor/.* Yes 86,162 N/A
extensions /extensions/.* Yes 26,182 N/A
xpfe /xpfe/.* Yes 4,603 N/A
testing /testing/.* Yes 1,394 N/A
view /view/.* Yes 0 N/A
hal /hal/.* Yes 1,423 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 265,917 N/A
devtools /devtools/.* Yes 6,999 N/A
ipc /ipc/.* Yes 44,755 N/A
root /root/.* Yes 248,445 N/A
caps /caps/.* Yes 5,583 N/A
mozglue /mozglue/.* Yes 38,396 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 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