Coverity Scan: Thunderbird

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

Jul 06, 2026
Last Analyzed
10,642,749
Lines of Code Analyzed
452,485
Lines of Code in Selected Components
0.78
Defect Density

Defect changes since previous build dated Jul 04, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

32,721
Total defects
351
Outstanding
25,987
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,758 1.81
mailnews-compose .*/mail.*/compose/.* No 8,527 1.41
mailnews-imap .*/mail.*/imap/.* No 30,012 1.30
mailnews-import .*/mail.*/import/.* No 2,690 1.49
mailnews-local .*/mail.*/local/.* No 11,123 0.72
mailnews-mime .*/mail.*/mime/.* No 18,885 1.48
mailnews-news .*/mail.*/news/.* No 995 3.02
mail .*/mail.* No 99,085 1.15
calendar-libical .*/calendar/libical/.* No 0 N/A
calendar .*/calendar/.* No 1,121 0.00
Gecko-2 .*/mozilla/.* Yes 760,982 N/A
thunderbird .*/comm/.* No 235,653 0.57
js /js/.* Yes 763,375 N/A
dom /dom/.* Yes 995,462 N/A
media /media/.* Yes 504,352 N/A
gfx /gfx/.* Yes 813,797 N/A
accessible /accessible/.* Yes 46,739 N/A
intl /intl/.* Yes 262,692 N/A
toolkit /toolkit/.* Yes 326,482 N/A
third_party /third_party/.* Yes 1,271,367 N/A
widget /widget/.* Yes 84,015 N/A
xpcom /xpcom/.* Yes 80,779 N/A
netwerk /netwerk/.* Yes 283,848 N/A
image /image/.* Yes 35,126 N/A
memory /memory/.* Yes 9,813 N/A
generated-code /obj-x86_64-pc-linux-gnu/.* Yes 2,581,641 N/A
modules /modules/.* Yes 73,206 N/A
security /security/.* Yes 380,897 N/A
storage /storage/.* Yes 9,989 N/A
mfbt /mfbt/.* Yes 20,591 N/A
nsprpub /nsprpub/.* Yes 34,968 N/A
parser /parser/.* Yes 52,967 N/A
tools /tools/.* Yes 25,278 N/A
docshell /docshell/.* Yes 27,190 N/A
editor /editor/.* Yes 85,784 N/A
extensions /extensions/.* Yes 25,061 N/A
xpfe /xpfe/.* Yes 4,827 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,561 N/A
startupcache /startupcache/.* Yes 975 N/A
other-licenses /other-licenses/.* Yes 5,150 N/A
layout /layout/.* Yes 262,207 N/A
devtools /devtools/.* Yes 7,000 N/A
ipc /ipc/.* Yes 59,795 N/A
root /root/.* Yes 237,252 N/A
caps /caps/.* Yes 5,563 N/A
mozglue /mozglue/.* Yes 37,755 N/A
Other .* No 42,411 0.14

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 12
131 Incorrect Calculation of Buffer Size 11
190 Integer Overflow or Wraparound 361
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