Coverity Scan: Thunderbird

Project Name Thunderbird
Lines of code analyzed 10,725,969
On Coverity Scan since Apr 12, 2006
Last build analyzed 1 day 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

Sep 04, 2026
Last Analyzed
10,725,969
Lines of Code Analyzed
443,239
Lines of Code in Selected Components
0.79
Defect Density

Defect changes since previous build dated Sep 01, 2026

22
Newly detected
25
Eliminated

Defects by status for current build

32,929
Total defects
351
Outstanding
26,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,755 1.81
mailnews-compose .*/mail.*/compose/.* No 8,425 1.42
mailnews-imap .*/mail.*/imap/.* No 30,401 1.28
mailnews-import .*/mail.*/import/.* No 2,690 1.49
mailnews-local .*/mail.*/local/.* No 11,146 0.72
mailnews-mime .*/mail.*/mime/.* No 18,504 1.46
mailnews-news .*/mail.*/news/.* No 995 3.02
mail .*/mail.* No 100,137 1.15
calendar-libical .*/calendar/libical/.* No 0 N/A
calendar .*/calendar/.* No 1,121 0.00
Gecko-2 .*/mozilla/.* Yes 770,660 N/A
thunderbird .*/comm/.* No 235,672 0.57
js /js/.* Yes 769,488 N/A
dom /dom/.* Yes 1,010,283 N/A
media /media/.* Yes 513,731 N/A
gfx /gfx/.* Yes 676,618 N/A
accessible /accessible/.* Yes 47,022 N/A
intl /intl/.* Yes 262,715 N/A
toolkit /toolkit/.* Yes 328,683 N/A
third_party /third_party/.* Yes 1,420,815 N/A
widget /widget/.* Yes 84,144 N/A
xpcom /xpcom/.* Yes 80,985 N/A
netwerk /netwerk/.* Yes 286,538 N/A
image /image/.* Yes 35,333 N/A
memory /memory/.* Yes 9,771 N/A
generated-code /obj-x86_64-pc-linux-gnu/.* Yes 2,608,812 N/A
modules /modules/.* Yes 73,351 N/A
security /security/.* Yes 396,039 N/A
storage /storage/.* Yes 9,988 N/A
mfbt /mfbt/.* Yes 20,713 N/A
nsprpub /nsprpub/.* Yes 37,611 N/A
parser /parser/.* Yes 53,202 N/A
tools /tools/.* Yes 25,626 N/A
docshell /docshell/.* Yes 27,335 N/A
editor /editor/.* Yes 85,922 N/A
extensions /extensions/.* Yes 25,079 N/A
xpfe /xpfe/.* Yes 4,610 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,599 N/A
startupcache /startupcache/.* Yes 976 N/A
other-licenses /other-licenses/.* Yes 5,150 N/A
layout /layout/.* Yes 263,786 N/A
devtools /devtools/.* Yes 6,998 N/A
ipc /ipc/.* Yes 44,618 N/A
root /root/.* Yes 239,438 N/A
caps /caps/.* Yes 5,565 N/A
mozglue /mozglue/.* Yes 37,748 N/A
Other .* No 42,429 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 12
190 Integer Overflow or Wraparound 354
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