Coverity Scan: Thunderbird

Project Name Thunderbird
Lines of code analyzed 10,617,705
On Coverity Scan since Apr 12, 2006
Last build analyzed about 1 hour 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 28, 2026
Last Analyzed
10,617,705
Lines of Code Analyzed
427,033
Lines of Code in Selected Components
0.82
Defect Density

Defect changes since previous build dated Jun 26, 2026

66
Newly detected
30
Eliminated

Defects by status for current build

32,678
Total defects
351
Outstanding
25,908
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,119 0.72
mailnews-mime .*/mail.*/mime/.* No 18,867 1.48
mailnews-news .*/mail.*/news/.* No 995 3.02
mail .*/mail.* No 99,091 1.15
calendar-libical .*/calendar/libical/.* No 0 N/A
calendar .*/calendar/.* No 1,121 0.00
Gecko-2 .*/mozilla/.* Yes 760,766 N/A
thunderbird .*/comm/.* No 235,653 0.57
js /js/.* Yes 770,128 N/A
dom /dom/.* Yes 993,233 N/A
media /media/.* Yes 504,334 N/A
gfx /gfx/.* Yes 813,755 N/A
accessible /accessible/.* Yes 46,721 N/A
intl /intl/.* Yes 262,692 N/A
toolkit /toolkit/.* Yes 324,892 N/A
third_party /third_party/.* Yes 1,271,367 N/A
widget /widget/.* Yes 83,901 N/A
xpcom /xpcom/.* Yes 80,767 N/A
netwerk /netwerk/.* Yes 283,589 N/A
image /image/.* Yes 35,121 N/A
memory /memory/.* Yes 9,813 N/A
generated-code /obj-x86_64-pc-linux-gnu/.* Yes 2,580,665 N/A
modules /modules/.* Yes 73,186 N/A
security /security/.* Yes 380,426 N/A
storage /storage/.* Yes 9,989 N/A
mfbt /mfbt/.* Yes 20,592 N/A
nsprpub /nsprpub/.* Yes 34,968 N/A
parser /parser/.* Yes 52,965 N/A
tools /tools/.* Yes 25,230 N/A
docshell /docshell/.* Yes 27,181 N/A
editor /editor/.* Yes 85,753 N/A
extensions /extensions/.* Yes 25,031 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,551 N/A
startupcache /startupcache/.* Yes 975 N/A
other-licenses /other-licenses/.* Yes 5,150 N/A
layout /layout/.* Yes 261,982 N/A
devtools /devtools/.* Yes 7,000 N/A
ipc /ipc/.* Yes 59,781 N/A
root /root/.* Yes 237,252 N/A
caps /caps/.* Yes 5,561 N/A
mozglue /mozglue/.* Yes 37,750 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 364
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