Coverity Scan: nss

Project Name nss
Lines of code analyzed 894,345
On Coverity Scan since Dec 15, 2008
Last build analyzed 17 days ago
Language C/C++
Repository URL N/A
Homepage URL N/A
License N/A

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 1668

Sep 09, 2023
Last Analyzed
Lines of Code Analyzed
Lines of Code in Selected Components
Defect Density

Defect changes since previous build dated Sep 07, 2023

Newly detected

Defects by status for current build

Total defects
See how defect density for 'nss' 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
cmd /cmd/.* No 68,148 1.86
lib-base /lib/base/.* No 2,381 0.42
lib-certdb /lib/certdb/.* No 12,359 0.40
lib-certhigh /lib/certhigh/.* No 9,641 0.31
lib-ckfw /lib/ckfw/.* No 14,908 0.20
lib-crmf /lib/crmf/.* No 6,538 0.46
lib-cryptohi /lib/cryptohi/.* No 4,389 0.23
lib-dbm /lib/dbm/.* No 0 N/A
lib-dev /lib/dev/.* No 3,833 0.78
lib-freebl /lib/freebl/.* No 90,309 0.14
lib-jar /lib/jar/.* No 2,766 0.72
lib-nss /lib/nss/.* No 2,006 0.00
lib-pk11wrap /lib/pk11wrap/.* No 28,179 0.75
lib-pkcs12 /lib/pkcs12/.* No 6,722 0.74
lib-pkcs7 /lib/pkcs7/.* No 5,203 0.38
lib-pki /lib/pki/.* No 9,259 0.65
lib-smime /lib/smime/.* No 7,621 0.79
lib-softoken /lib/softoken/.* No 34,265 0.58
lib-ssl /lib/ssl/.* No 43,195 0.14
lib-util /lib/util/.* No 18,386 0.33
include-system /usr/.* Yes 139,447 N/A
sqlite /lib/sqlite/.* Yes 138,858 N/A
nspr .*/nspr/.* No 45,337 1.17
gtests gtests/.* No 0 N/A
Other .* No 200,591 0.94

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 10
190 Integer Overflow or Wraparound 3
676 Use of Potentially Dangerous Function 5





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