Coverity Scan: Thunderbird

Project Name Thunderbird
Lines of code analyzed 10,046,106
On Coverity Scan since Apr 12, 2006
Last build analyzed about 17 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

Jun 08, 2025
Last Analyzed
10,046,106
Lines of Code Analyzed
1,030,325
Lines of Code in Selected Components
5.70
Defect Density

Defect changes since previous build dated Jun 07, 2025

0
Newly detected
3
Eliminated

Defects by status for current build

30,040
Total defects
5,872
Outstanding
24,151
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,685 0.74
mailnews-compose .*/mail.*/compose/.* No 9,655 0.52
mailnews-imap .*/mail.*/imap/.* No 30,123 0.46
mailnews-import .*/mail.*/import/.* No 2,591 1.93
mailnews-local .*/mail.*/local/.* No 11,288 0.18
mailnews-mime .*/mail.*/mime/.* No 17,659 1.36
mailnews-news .*/mail.*/news/.* No 1,767 0.57
mail .*/mail.* No 93,940 0.92
calendar-libical .*/calendar/libical/.* No 0 N/A
calendar .*/calendar/.* No 1,280 0.00
Gecko-2 .*/mozilla/.* Yes 710,602 N/A
thunderbird .*/comm/.* No 238,384 0.76
js /js/.* Yes 729,773 N/A
dom /dom/.* Yes 924,408 N/A
media /media/.* Yes 491,870 N/A
gfx /gfx/.* Yes 795,206 N/A
accessible /accessible/.* Yes 44,667 N/A
intl /intl/.* Yes 264,659 N/A
toolkit /toolkit/.* Yes 281,090 N/A
third_party /third_party/.* Yes 1,081,563 N/A
widget /widget/.* Yes 76,732 N/A
xpcom /xpcom/.* Yes 79,843 N/A
netwerk /netwerk/.* Yes 272,258 N/A
image /image/.* Yes 33,641 N/A
memory /memory/.* Yes 8,645 N/A
generated-code /obj-x86_64-pc-linux-gnu/.* Yes 2,493,685 N/A
modules /modules/.* Yes 50,832 N/A
security /security/.* Yes 375,658 N/A
storage /storage/.* Yes 9,496 N/A
mfbt /mfbt/.* Yes 20,534 N/A
nsprpub /nsprpub/.* Yes 35,521 N/A
parser /parser/.* Yes 51,403 N/A
tools /tools/.* Yes 24,633 N/A
docshell /docshell/.* Yes 27,420 N/A
editor /editor/.* Yes 81,923 N/A
extensions /extensions/.* Yes 23,789 N/A
xpfe /xpfe/.* Yes 4,808 N/A
testing /testing/.* Yes 1,396 N/A
view /view/.* Yes 1,693 N/A
hal /hal/.* Yes 1,399 N/A
uriloader /uriloader/.* Yes 10,582 N/A
startupcache /startupcache/.* Yes 935 N/A
other-licenses /other-licenses/.* Yes 5,117 N/A
Other .* No 620,600 0.36

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 14
131 Incorrect Calculation of Buffer Size 14
190 Integer Overflow or Wraparound 383
676 Use of Potentially Dangerous Function 31
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