Coverity Scan: Firefox

Project Name Firefox
Lines of code analyzed 11,555,039
On Coverity Scan since Feb 22, 2006
Last build analyzed 1 day 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

Apr 19, 2024
Last Analyzed
11,555,039
Lines of Code Analyzed
10,544,013
Lines of Code in Selected Components
0.49
Defect Density

Defect changes since previous build dated Apr 17, 2024

5
Newly detected
11
Eliminated

Defects by status for current build

43,089
Total defects
5,157
Outstanding
37,529
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 256,076 0.32
xpcom /xpcom/.* No 74,528 0.46
dom-indexedDB /dom/indexedDB/.* No 30,861 0.26
dom-workers /dom/workers/.* No 19,716 1.27
PSM /security/manager/.* No 26,521 0.98
image /image/.* No 32,799 0.79
nsprpub /nsprpub/.* No 38,263 0.99
parser /parser/.* No 50,489 0.34
security /security/.* No 365,104 0.52
storage /storage/.* No 9,312 0.21
docshell /docshell/.* No 26,557 1.13
editor /editor/.* No 72,948 0.15
accessible /accessible/.* No 43,404 0.53
extensions /extensions/.* No 23,616 1.02
memory /memory/.* No 9,115 1.10
brotli /modules/brotli/.* No 11,559 0.26
libmar /modules/libmar/.* No 2,942 4.42
modules /modules/.* No 36,268 0.41
toolkit /toolkit/.* No 1,475,439 0.30
widget /widget/.* No 74,842 0.45
xpfe /xpfe/.* No 5,339 0.75
generated-test-files .*/dom/bindings/Test*.cpp No 204,422 0.05
dom-canvas /dom/canvas/.* No 48,650 0.70
IPC-dom-plugin /dom/plugins/ipc/.* No 0 N/A
dom-plugins /dom/plugins/.* No 0 N/A
dom-html /dom/html/.* No 41,328 0.36
dom-xslt /dom/xslt/.* No 18,382 0.16
dom-media /dom/media/.* No 288,182 1.13
dom-promise /dom/promise/.* No 1,170 1.71
dom-svg /dom/svg/.* No 27,833 0.97
dom-crypto /dom/crypto/.* No 3,836 0.00
dom-xbl /dom/xbl/.* No 0 N/A
IPC-dom /dom/ipc/.* No 31,474 0.67
content /(content|dom)/.* No 398,025 0.66
JavaScript-jit /js/src/jit/.* No 190,191 0.43
JavaScript-asmjs /js/src/asmjs/.* No 0 N/A
JavaScript-xpconnect /js/xpconnect/.* No 30,124 0.63
JavaScript-ctypes /js/src/ctypes/.* No 12,942 0.70
JavaScript-frontend /js/src/frontend/.* No 54,314 0.18
JavaScript-jsapi-tests /js/src/jsapi-tests/.* Yes 0 N/A
JavaScript-proxy /js/src/proxy/.* No 3,622 0.28
JavaScript-shell /js/src/shell/.* No 0 N/A
JavaScript-vm /js/src/vm/.* No 101,959 0.39
IPC-js /js/ipc/.* No 0 N/A
JavaScript /js/.* No 277,342 0.35
gfx-cairo /gfx/cairo/.* Yes 123,380 N/A
skia /gfx/skia/skia/.* Yes 195,909 N/A
gfx-gl /gfx/gl/.* No 23,762 0.34
gfx-graphite2 /gfx/graphite2/.* No 12,225 1.06
IPC-gfx-layers /gfx/layers/ipc/.* No 10,859 0.46
gfx-layers /gfx/layers/.* No 50,590 1.17
gfx-thebes /gfx/thebes/.* No 52,460 0.69
gfx /gfx/.* No 313,343 0.86
network-cache /netwerk/cache/.* No 0 N/A
network-cache2 /netwerk/cache2/.* No 18,675 0.43
network-dns /netwerk/dns/.* No 12,712 1.65
network-websocket /netwerk/protocol/websocket/.* No 6,583 1.37
network-http /netwerk/protocol/http/.* No 69,519 1.05
IPC-netwerk /netwerk/ipc/.* No 7,612 1.58
netwerk-srtp /netwerk/srtp/.* No 0 N/A
network-sctp /netwerk/sctp/.* No 75,998 1.83
network /netwerk/.* No 74,547 0.56
media-libjpeg /media/libjpeg/.* No 25,059 0.40
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 125,202 N/A
intl-icu /intl/icu/.* Yes 237,014 N/A
aom-thirdparty /third_party/aom/.* Yes 277,110 N/A
media-libopus /media/libopus/.* Yes 37,168 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 261,371 0.34
intl /intl/.* No 18,829 0.21
IPC-chromium /ipc/chromium/.* No 43,179 0.65
IPC-glue /ipc/glue/.* No 16,363 0.79
IPC .*/ipc/.* No 540,219 0.01
tools-profiler /tools/profiler/.* No 23,398 0.90
uriloader /uriloader/.* No 10,403 0.87
view /view/.* No 1,907 1.05
caps /caps/.* No 5,584 0.00
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 823,109 0.60
build-time /obj-x86_64-pc-linux-gnu/.* No 1,385,754 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,237 0.00
webapprt /webapprt/.* No 0 N/A
build-unix /build/unix/.* No 2,625 3.43
browser /browser/.* No 1,059,418 0.12
config /config/.* No 530 9.43
tools /tools/.* No 876 2.28
mfbt /mfbt/tests/.* Yes 15,243 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,329 3.19
Other .* No 1,088,052 0.48

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 61
676 Use of Potentially Dangerous Function 26
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