Coverity Scan: Firefox

Project Name Firefox
Lines of code analyzed 10,952,487
On Coverity Scan since Feb 22, 2006
Last build analyzed about 20 hours 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

Version: Version

Jun 16, 2024
Last Analyzed
10,952,487
Lines of Code Analyzed
10,043,424
Lines of Code in Selected Components
0.67
Defect Density

Defect changes since previous build dated Jun 14, 2024

692
Newly detected
671
Eliminated

Defects by status for current build

45,841
Total defects
6,698
Outstanding
38,740
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 246,278 0.48
xpcom /xpcom/.* No 68,626 0.76
dom-indexedDB /dom/indexedDB/.* No 30,921 0.32
dom-workers /dom/workers/.* No 19,965 1.25
PSM /security/manager/.* No 26,589 1.96
image /image/.* No 32,825 1.13
nsprpub /nsprpub/.* No 38,263 1.36
parser /parser/.* No 43,542 0.30
security /security/.* No 309,342 0.51
storage /storage/.* No 9,294 0.86
docshell /docshell/.* No 26,576 2.14
editor /editor/.* No 73,880 0.47
accessible /accessible/.* No 43,691 0.46
extensions /extensions/.* No 23,568 1.74
memory /memory/.* No 9,116 1.21
brotli /modules/brotli/.* No 11,559 0.26
libmar /modules/libmar/.* No 2,942 4.08
modules /modules/.* No 36,201 0.83
toolkit /toolkit/.* No 1,545,305 0.50
widget /widget/.* No 75,106 0.89
xpfe /xpfe/.* No 5,337 2.25
generated-test-files .*/dom/bindings/Test*.cpp No 202,600 0.68
dom-canvas /dom/canvas/.* No 48,316 0.99
IPC-dom-plugin /dom/plugins/ipc/.* No 0 N/A
dom-plugins /dom/plugins/.* No 0 N/A
dom-html /dom/html/.* No 41,627 1.35
dom-xslt /dom/xslt/.* No 18,369 0.38
dom-media /dom/media/.* No 274,323 1.46
dom-promise /dom/promise/.* No 1,168 2.57
dom-svg /dom/svg/.* No 27,946 1.25
dom-crypto /dom/crypto/.* No 3,846 0.00
dom-xbl /dom/xbl/.* No 0 N/A
IPC-dom /dom/ipc/.* No 31,664 1.36
content /(content|dom)/.* No 385,404 1.46
JavaScript-jit /js/src/jit/.* No 184,976 0.96
JavaScript-asmjs /js/src/asmjs/.* No 0 N/A
JavaScript-xpconnect /js/xpconnect/.* No 30,157 1.06
JavaScript-ctypes /js/src/ctypes/.* No 12,942 0.77
JavaScript-frontend /js/src/frontend/.* No 54,771 0.38
JavaScript-jsapi-tests /js/src/jsapi-tests/.* Yes 0 N/A
JavaScript-proxy /js/src/proxy/.* No 3,623 0.28
JavaScript-shell /js/src/shell/.* No 0 N/A
JavaScript-vm /js/src/vm/.* No 99,174 0.38
IPC-js /js/ipc/.* No 0 N/A
JavaScript /js/.* No 261,853 0.36
gfx-cairo /gfx/cairo/.* Yes 110,259 N/A
skia /gfx/skia/skia/.* Yes 173,540 N/A
gfx-gl /gfx/gl/.* No 23,707 0.46
gfx-graphite2 /gfx/graphite2/.* No 12,225 1.06
IPC-gfx-layers /gfx/layers/ipc/.* No 11,105 1.35
gfx-layers /gfx/layers/.* No 42,280 1.16
gfx-thebes /gfx/thebes/.* No 52,269 0.99
gfx /gfx/.* No 299,190 0.81
network-cache /netwerk/cache/.* No 0 N/A
network-cache2 /netwerk/cache2/.* No 18,676 0.59
network-dns /netwerk/dns/.* No 12,862 2.49
network-websocket /netwerk/protocol/websocket/.* No 6,585 2.28
network-http /netwerk/protocol/http/.* No 69,888 1.97
IPC-netwerk /netwerk/ipc/.* No 7,630 3.28
netwerk-srtp /netwerk/srtp/.* No 0 N/A
network-sctp /netwerk/sctp/.* No 72,397 1.96
network /netwerk/.* No 71,141 2.11
media-libjpeg /media/libjpeg/.* No 27,434 0.44
media-libstagefright /media/libstagefright/.* No 0 N/A
media-libvorbis /media/libvorbis/.* No 49,852 0.14
media-mtransport /media/mtransport/.* No 0 N/A
media-libvpx /media/libvpx/.* Yes 116,131 N/A
intl-icu /intl/icu/.* Yes 215,132 N/A
aom-thirdparty /third_party/aom/.* Yes 260,320 N/A
media-libopus /media/libopus/.* Yes 18,784 N/A
media-webrtc /media/webrtc/.* Yes 0 N/A
sqlite-thirdparty /db/sqlite3/.* Yes 0 N/A
media-mtransport-thirdparty /media/mtransport/third_party/.* Yes 0 N/A
media /media/.* No 224,070 0.35
intl /intl/.* No 18,824 0.42
IPC-chromium /ipc/chromium/.* No 43,200 0.72
IPC-glue /ipc/glue/.* No 16,365 1.59
IPC .*/ipc/.* No 493,213 0.01
tools-profiler /tools/profiler/.* No 23,792 1.01
uriloader /uriloader/.* No 10,392 2.50
view /view/.* No 1,883 1.06
caps /caps/.* No 5,583 1.25
hal /hal/.* No 1,383 1.45
embedding /embedding/.* No 0 N/A
testing /testing/.* No 1,405 2.85
headers /obj-x86_64-pc-linux-gnu/dist/include/.* No 837,570 0.60
build-time /obj-x86_64-pc-linux-gnu/.* No 1,202,111 0.08
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,096 0.16
webapprt /webapprt/.* No 0 N/A
build-unix /build/unix/.* No 2,625 3.43
browser /browser/.* No 1,089,623 0.22
config /config/.* No 530 9.43
tools /tools/.* No 876 2.28
mfbt /mfbt/tests/.* Yes 14,897 N/A
NSS /security/nss/.* Yes 0 N/A
system-header /usr/include/.* Yes 0 N/A
snappy /other-licenses/snappy/.* No 2,593 0.77
rdf /rdf/.* No 0 N/A
configure-gen .*conftest\..*.cpp Yes 0 N/A
jpeg-xl /third_party/jpeg-xl/.* No 32,326 4.18
Other .* No 951,305 0.54

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 13
190 Integer Overflow or Wraparound 47
676 Use of Potentially Dangerous Function 24
829 Inclusion of Functionality from Untrusted Control Sphere 61
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