Coverity Scan: Thunderbird

Project Name Thunderbird
Lines of code analyzed 10,689,890
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

Aug 13, 2026
Last Analyzed
10,689,890
Lines of Code Analyzed
449,836
Lines of Code in Selected Components
0.78
Defect Density

Defect changes since previous build dated Aug 10, 2026

11
Newly detected
339
Eliminated

Defects by status for current build

32,504
Total defects
351
Outstanding
26,608
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,755 1.81
mailnews-compose .*/mail.*/compose/.* No 8,422 1.42
mailnews-imap .*/mail.*/imap/.* No 30,222 1.29
mailnews-import .*/mail.*/import/.* No 2,690 1.49
mailnews-local .*/mail.*/local/.* No 11,142 0.72
mailnews-mime .*/mail.*/mime/.* No 18,990 1.53
mailnews-news .*/mail.*/news/.* No 995 3.02
mail .*/mail.* No 99,783 1.13
calendar-libical .*/calendar/libical/.* No 0 N/A
calendar .*/calendar/.* No 1,121 0.00
Gecko-2 .*/mozilla/.* Yes 768,946 N/A
thunderbird .*/comm/.* No 235,653 0.57
js /js/.* Yes 768,767 N/A
dom /dom/.* Yes 1,005,385 N/A
media /media/.* Yes 504,402 N/A
gfx /gfx/.* Yes 674,541 N/A
accessible /accessible/.* Yes 47,103 N/A
intl /intl/.* Yes 262,714 N/A
toolkit /toolkit/.* Yes 328,146 N/A
third_party /third_party/.* Yes 1,411,942 N/A
widget /widget/.* Yes 83,910 N/A
xpcom /xpcom/.* Yes 80,906 N/A
netwerk /netwerk/.* Yes 285,645 N/A
image /image/.* Yes 35,307 N/A
memory /memory/.* Yes 9,830 N/A
generated-code /obj-x86_64-pc-linux-gnu/.* Yes 2,612,717 N/A
modules /modules/.* Yes 73,311 N/A
security /security/.* Yes 379,817 N/A
storage /storage/.* Yes 9,986 N/A
mfbt /mfbt/.* Yes 20,705 N/A
nsprpub /nsprpub/.* Yes 37,611 N/A
parser /parser/.* Yes 53,188 N/A
tools /tools/.* Yes 25,422 N/A
docshell /docshell/.* Yes 27,274 N/A
editor /editor/.* Yes 85,831 N/A
extensions /extensions/.* Yes 25,071 N/A
xpfe /xpfe/.* Yes 4,639 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,590 N/A
startupcache /startupcache/.* Yes 975 N/A
other-licenses /other-licenses/.* Yes 5,150 N/A
layout /layout/.* Yes 263,309 N/A
devtools /devtools/.* Yes 7,000 N/A
ipc /ipc/.* Yes 44,358 N/A
root /root/.* Yes 239,438 N/A
caps /caps/.* Yes 5,560 N/A
mozglue /mozglue/.* Yes 37,780 N/A
Other .* No 42,427 0.14

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 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