Coverity Scan: Thunderbird

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

Apr 29, 2025
Last Analyzed
10,030,654
Lines of Code Analyzed
1,032,271
Lines of Code in Selected Components
5.69
Defect Density

Defect changes since previous build dated Apr 28, 2025

6
Newly detected
7
Eliminated

Defects by status for current build

29,986
Total defects
5,871
Outstanding
24,098
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,682 0.75
mailnews-compose .*/mail.*/compose/.* No 9,890 0.51
mailnews-imap .*/mail.*/imap/.* No 30,121 0.53
mailnews-import .*/mail.*/import/.* No 2,585 1.93
mailnews-local .*/mail.*/local/.* No 11,076 0.18
mailnews-mime .*/mail.*/mime/.* No 17,671 1.36
mailnews-news .*/mail.*/news/.* No 1,780 0.00
mail .*/mail.* No 93,312 0.92
calendar-libical .*/calendar/libical/.* No 0 N/A
calendar .*/calendar/.* No 1,280 0.00
Gecko-2 .*/mozilla/.* Yes 706,881 N/A
thunderbird .*/comm/.* No 238,384 0.76
js /js/.* Yes 725,569 N/A
dom /dom/.* Yes 920,545 N/A
media /media/.* Yes 492,700 N/A
gfx /gfx/.* Yes 793,744 N/A
accessible /accessible/.* Yes 44,616 N/A
intl /intl/.* Yes 264,707 N/A
toolkit /toolkit/.* Yes 281,493 N/A
third_party /third_party/.* Yes 1,080,337 N/A
widget /widget/.* Yes 78,653 N/A
xpcom /xpcom/.* Yes 79,937 N/A
netwerk /netwerk/.* Yes 269,751 N/A
image /image/.* Yes 33,527 N/A
memory /memory/.* Yes 8,392 N/A
generated-code /obj-x86_64-pc-linux-gnu/.* Yes 2,491,342 N/A
modules /modules/.* Yes 50,816 N/A
security /security/.* Yes 375,277 N/A
storage /storage/.* Yes 9,508 N/A
mfbt /mfbt/.* Yes 20,515 N/A
nsprpub /nsprpub/.* Yes 35,521 N/A
parser /parser/.* Yes 51,426 N/A
tools /tools/.* Yes 24,512 N/A
docshell /docshell/.* Yes 27,150 N/A
editor /editor/.* Yes 81,806 N/A
extensions /extensions/.* Yes 23,793 N/A
xpfe /xpfe/.* Yes 4,778 N/A
testing /testing/.* Yes 1,396 N/A
view /view/.* Yes 1,694 N/A
hal /hal/.* Yes 1,399 N/A
uriloader /uriloader/.* Yes 10,546 N/A
startupcache /startupcache/.* Yes 935 N/A
other-licenses /other-licenses/.* Yes 5,117 N/A
Other .* No 625,399 0.37

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 2
190 Integer Overflow or Wraparound 100
676 Use of Potentially Dangerous Function 13
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