Coverity Scan: nss

Project Name nss
Lines of code analyzed 871,407
On Coverity Scan since Dec 15, 2008
Last build analyzed about 3 hours 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: 1940

Jun 24, 2024
Last Analyzed
Lines of Code Analyzed
Lines of Code in Selected Components
Defect Density

Defect changes since previous build dated Jun 23, 2024

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,938 2.05
lib-base /lib/base/.* No 2,381 11.76
lib-certdb /lib/certdb/.* No 12,379 1.13
lib-certhigh /lib/certhigh/.* No 9,654 0.31
lib-ckfw /lib/ckfw/.* No 14,926 0.20
lib-crmf /lib/crmf/.* No 6,538 0.46
lib-cryptohi /lib/cryptohi/.* No 4,642 0.43
lib-dbm /lib/dbm/.* No 0 N/A
lib-dev /lib/dev/.* No 3,835 2.09
lib-freebl /lib/freebl/.* No 63,383 0.30
lib-jar /lib/jar/.* No 2,766 0.72
lib-nss /lib/nss/.* No 2,033 2.95
lib-pk11wrap /lib/pk11wrap/.* No 28,828 1.21
lib-pkcs12 /lib/pkcs12/.* No 6,843 1.02
lib-pkcs7 /lib/pkcs7/.* No 5,203 0.38
lib-pki /lib/pki/.* No 9,259 0.65
lib-smime /lib/smime/.* No 8,576 1.40
lib-softoken /lib/softoken/.* No 34,905 2.18
lib-ssl /lib/ssl/.* No 44,148 0.52
lib-util /lib/util/.* No 18,801 0.90
include-system /usr/.* Yes 170,938 N/A
sqlite /lib/sqlite/.* Yes 138,858 N/A
nspr .*/nspr/.* No 45,337 2.91
gtests gtests/.* No 0 N/A
Other .* No 168,236 1.29

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