Coverity Scan: Firefox

Project Name Firefox
Lines of code analyzed 8,741,982
On Coverity Scan since Feb 22, 2006
Last build analyzed about 1 hour ago
   
Language C/C++
Repository URL https://hg.mozilla.org/mozilla-central
Homepage URL https://www.mozilla.org
License MPL (Mozilla Public License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Aug 10, 2022
Last Analyzed
8,741,982
Lines of Code Analyzed
7,918,343
Lines of Code in Selected Components
0.40
Defect Density

Defect changes since previous build dated Aug 09, 2022

0
Newly detected
0
Eliminated

Defects by status for current build

39,040
Total defects
3,179
Outstanding
35,350
Fixed
See how defect density for 'Firefox' 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
layout /layout/.* No 260,686 0.26
xpcom /xpcom/.* No 97,637 0.39
dom-indexedDB /dom/indexedDB/.* No 34,371 0.09
dom-workers /dom/workers/.* No 18,034 0.22
PSM /security/manager/.* No 28,995 0.24
image /image/.* No 39,418 0.15
nsprpub /nsprpub/.* No 38,208 1.05
parser /parser/.* No 49,762 0.24
security /security/.* No 358,475 0.47
storage /storage/.* No 10,094 0.10
docshell /docshell/.* No 26,792 0.37
editor /editor/.* No 67,050 0.03
accessible /accessible/.* No 47,798 0.31
extensions /extensions/.* No 23,691 0.34
memory /memory/.* No 9,385 1.49
brotli /modules/brotli/.* No 10,791 0.19
libmar /modules/libmar/.* No 2,838 4.23
modules /modules/.* No 35,218 0.20
toolkit /toolkit/.* No 256,323 0.49
widget /widget/.* No 69,788 0.19
xpfe /xpfe/.* No 5,322 0.19
generated-test-files .*/dom/bindings/Test*.cpp No 210,455 0.05
dom-canvas /dom/canvas/.* No 44,586 0.31
IPC-dom-plugin /dom/plugins/ipc/.* No 0 N/A
dom-plugins /dom/plugins/.* No 639 0.00
dom-html /dom/html/.* No 39,998 0.20
dom-xslt /dom/xslt/.* No 18,456 0.11
dom-media /dom/media/.* No 272,069 0.35
dom-promise /dom/promise/.* No 1,332 0.00
dom-svg /dom/svg/.* No 28,005 1.00
dom-crypto /dom/crypto/.* No 3,820 0.00
dom-xbl /dom/xbl/.* No 0 N/A
IPC-dom /dom/ipc/.* No 30,512 0.07
content /(content|dom)/.* No 380,538 0.24
JavaScript-jit /js/src/jit/.* No 171,886 0.11
JavaScript-asmjs /js/src/asmjs/.* No 0 N/A
JavaScript-xpconnect /js/xpconnect/.* No 29,098 0.41
JavaScript-ctypes /js/src/ctypes/.* No 12,950 0.39
JavaScript-frontend /js/src/frontend/.* No 50,940 0.16
JavaScript-jsapi-tests /js/src/jsapi-tests/.* Yes 0 N/A
JavaScript-proxy /js/src/proxy/.* No 3,555 0.28
JavaScript-shell /js/src/shell/.* No 0 N/A
JavaScript-vm /js/src/vm/.* No 94,545 0.22
IPC-js /js/ipc/.* No 0 N/A
JavaScript /js/.* No 238,219 0.22
gfx-cairo /gfx/cairo/.* Yes 123,104 N/A
skia /gfx/skia/skia/.* Yes 172,174 N/A
gfx-gl /gfx/gl/.* No 22,229 0.18
gfx-graphite2 /gfx/graphite2/.* No 12,580 0.95
IPC-gfx-layers /gfx/layers/ipc/.* No 9,644 0.41
gfx-layers /gfx/layers/.* No 51,461 0.37
gfx-thebes /gfx/thebes/.* No 48,082 0.44
gfx /gfx/.* No 332,907 0.63
network-cache /netwerk/cache/.* No 80 0.00
network-cache2 /netwerk/cache2/.* No 18,252 0.38
network-dns /netwerk/dns/.* No 13,183 0.15
network-websocket /netwerk/protocol/websocket/.* No 6,515 0.15
network-http /netwerk/protocol/http/.* No 64,033 0.16
IPC-netwerk /netwerk/ipc/.* No 7,040 0.00
netwerk-srtp /netwerk/srtp/.* No 0 N/A
network-sctp /netwerk/sctp/.* No 75,578 1.75
network /netwerk/.* No 74,570 0.07
media-libjpeg /media/libjpeg/.* No 25,018 0.28
media-libstagefright /media/libstagefright/.* No 0 N/A
media-libvorbis /media/libvorbis/.* No 49,852 0.10
media-mtransport /media/mtransport/.* No 0 N/A
media-libvpx /media/libvpx/.* Yes 121,356 N/A
intl-icu /intl/icu/.* Yes 238,424 N/A
aom-thirdparty /third_party/aom/.* Yes 98,638 N/A
media-libopus /media/libopus/.* Yes 36,589 N/A
media-webrtc /media/webrtc/.* Yes 15,661 N/A
sqlite-thirdparty /db/sqlite3/.* Yes 0 N/A
media-mtransport-thirdparty /media/mtransport/third_party/.* Yes 0 N/A
media /media/.* No 241,158 0.31
intl /intl/.* No 19,065 0.16
IPC-chromium /ipc/chromium/.* No 45,086 0.51
IPC-glue /ipc/glue/.* No 15,301 0.72
IPC .*/ipc/.* No 525,392 0.01
tools-profiler /tools/profiler/.* No 28,226 0.43
uriloader /uriloader/.* No 10,909 0.18
view /view/.* No 1,918 1.04
caps /caps/.* No 5,295 0.00
hal /hal/.* No 1,313 0.76
embedding /embedding/.* No 0 N/A
testing /testing/.* No 1,615 3.72
headers /obj-x86_64-pc-linux-gnu/dist/include/.* No 798,489 0.43
build-time /obj-x86_64-pc-linux-gnu/.* No 1,368,167 0.05
hunspell /extensions/spellcheck/hunspell/.* No 0 N/A
google-breakpad /toolkit/crashreporter/google-breakpad/.* No 0 N/A
protocol-buffer /toolkit/components/protobuf/src/google/protobuf/.* No 0 N/A
devtools /devtools/.* No 6,581 0.15
webapprt /webapprt/.* No 0 N/A
build-unix /build/unix/.* No 0 N/A
browser /browser/.* No 1,861 1.07
config /config/.* No 530 9.43
tools /tools/.* No 868 1.15
mfbt /mfbt/tests/.* Yes 17,693 N/A
NSS /security/nss/.* Yes 0 N/A
system-header /usr/include/.* Yes 0 N/A
snappy /other-licenses/snappy/.* No 2,128 1.88
rdf /rdf/.* No 0 N/A
configure-gen .*conftest\..*.cpp Yes 0 N/A
Other .* No 911,926 0.60

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 15
190 Integer Overflow or Wraparound 44
676 Use of Potentially Dangerous Function 40
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