Coverity Scan: Firefox

Project Name Firefox
Lines of code analyzed 8,052,900
On Coverity Scan since Feb 22, 2006
Last build analyzed 4 months 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

Jul 17, 2021
Last Analyzed
8,052,900
Lines of Code Analyzed
7,082,937
Lines of Code in Selected Components
0.45
Defect Density

Defect changes since previous build dated Jul 16, 2021

8
Newly detected
5
Eliminated

Defects by status for current build

37,848
Total defects
3,162
Outstanding
34,175
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 221,425 0.23
xpcom /xpcom/.* No 87,666 0.41
dom-indexedDB /dom/indexedDB/.* No 35,206 0.28
dom-workers /dom/workers/.* No 17,106 0.18
PSM /security/manager/.* No 28,569 0.21
image /image/.* No 27,360 0.18
nsprpub /nsprpub/.* No 38,161 1.05
parser /parser/.* No 49,316 0.18
security /security/.* No 356,948 0.37
storage /storage/.* No 10,015 0.10
docshell /docshell/.* No 8,307 0.12
editor /editor/.* No 59,508 0.05
accessible /accessible/.* No 42,840 0.28
extensions /extensions/.* No 23,194 0.39
memory /memory/.* No 9,155 1.53
brotli /modules/brotli/.* No 10,791 0.28
libmar /modules/libmar/.* No 2,838 4.23
modules /modules/.* No 20,149 0.40
toolkit /toolkit/.* No 233,896 0.98
widget /widget/.* No 67,904 0.27
xpfe /xpfe/.* No 5,266 0.19
generated-test-files .*/dom/bindings/Test*.cpp No 199,278 0.03
dom-canvas /dom/canvas/.* No 39,629 0.76
IPC-dom-plugin /dom/plugins/ipc/.* No 0 N/A
dom-plugins /dom/plugins/.* No 642 0.00
dom-html /dom/html/.* No 39,993 0.30
dom-xslt /dom/xslt/.* No 18,835 0.32
dom-media /dom/media/.* No 238,277 0.41
dom-promise /dom/promise/.* No 1,069 0.00
dom-svg /dom/svg/.* No 27,856 1.22
dom-crypto /dom/crypto/.* No 3,782 0.00
dom-xbl /dom/xbl/.* No 0 N/A
IPC-dom /dom/ipc/.* No 7,622 0.13
content /(content|dom)/.* No 310,759 0.30
JavaScript-jit /js/src/jit/.* No 162,763 0.10
JavaScript-asmjs /js/src/asmjs/.* No 0 N/A
JavaScript-xpconnect /js/xpconnect/.* No 17,998 0.50
JavaScript-ctypes /js/src/ctypes/.* No 12,973 0.39
JavaScript-frontend /js/src/frontend/.* No 47,504 0.04
JavaScript-jsapi-tests /js/src/jsapi-tests/.* Yes 0 N/A
JavaScript-proxy /js/src/proxy/.* No 3,602 0.28
JavaScript-shell /js/src/shell/.* No 0 N/A
JavaScript-vm /js/src/vm/.* No 96,716 0.32
IPC-js /js/ipc/.* No 0 N/A
JavaScript /js/.* No 239,178 0.21
gfx-cairo /gfx/cairo/.* Yes 126,951 N/A
skia /gfx/skia/skia/.* Yes 172,188 N/A
gfx-gl /gfx/gl/.* No 22,117 0.23
gfx-graphite2 /gfx/graphite2/.* No 12,580 0.95
IPC-gfx-layers /gfx/layers/ipc/.* No 5,486 0.18
gfx-layers /gfx/layers/.* No 71,346 0.66
gfx-thebes /gfx/thebes/.* No 48,030 0.37
gfx /gfx/.* No 323,098 0.68
network-cache /netwerk/cache/.* No 372 0.00
network-cache2 /netwerk/cache2/.* No 18,169 0.39
network-dns /netwerk/dns/.* No 12,144 0.25
network-websocket /netwerk/protocol/websocket/.* No 5,599 0.18
network-http /netwerk/protocol/http/.* No 55,125 0.13
IPC-netwerk /netwerk/ipc/.* No 6,555 0.00
netwerk-srtp /netwerk/srtp/.* No 0 N/A
network-sctp /netwerk/sctp/.* No 75,546 1.75
network /netwerk/.* No 73,402 0.10
media-libjpeg /media/libjpeg/.* No 24,636 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 119,828 N/A
intl-icu /intl/icu/.* Yes 237,764 N/A
aom-thirdparty /third_party/aom/.* Yes 0 N/A
media-libopus /media/libopus/.* Yes 36,257 N/A
media-webrtc /media/webrtc/.* Yes 9,293 N/A
sqlite-thirdparty /db/sqlite3/.* Yes 0 N/A
media-mtransport-thirdparty /media/mtransport/third_party/.* Yes 0 N/A
media /media/.* No 188,938 0.28
intl /intl/.* No 11,708 0.26
IPC-chromium /ipc/chromium/.* No 37,707 0.32
IPC-glue /ipc/glue/.* No 9,131 0.88
IPC .*/ipc/.* No 514,393 0.01
tools-profiler /tools/profiler/.* No 7,195 0.56
uriloader /uriloader/.* No 10,226 0.20
view /view/.* No 1,943 1.03
caps /caps/.* No 4,982 0.00
hal /hal/.* No 1,379 0.73
embedding /embedding/.* No 0 N/A
testing /testing/.* No 34,972 0.40
headers /obj-x86_64-pc-linux-gnu/dist/include/.* No 763,895 0.42
build-time /obj-x86_64-pc-linux-gnu/.* No 1,273,990 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,458 0.62
webapprt /webapprt/.* No 0 N/A
build-unix /build/unix/.* No 0 N/A
browser /browser/.* No 1,802 1.11
config /config/.* No 530 9.43
tools /tools/.* No 808 1.24
mfbt /mfbt/tests/.* Yes 16,955 N/A
NSS /security/nss/.* Yes 0 N/A
system-header /usr/include/.* Yes 250,283 N/A
snappy /other-licenses/snappy/.* No 1,836 1.09
rdf /rdf/.* No 0 N/A
configure-gen .*conftest\..*.cpp Yes 444 N/A
Other .* No 586,587 0.70

CWE Top 25 defects

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