Coverity Scan: nss

Project Name nss
Lines of code analyzed 882,462
On Coverity Scan since Dec 15, 2008
Last build analyzed about 20 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

Apr 28, 2025
Last Analyzed
882,462
Lines of Code Analyzed
577,476
Lines of Code in Selected Components
1.43
Defect Density

Defect changes since previous build dated Apr 27, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

1,703
Total defects
827
Outstanding
838
Fixed
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 69,430 2.15
lib-base /lib/base/.* No 2,381 3.78
lib-certdb /lib/certdb/.* No 12,380 0.57
lib-certhigh /lib/certhigh/.* No 9,654 0.41
lib-ckfw /lib/ckfw/.* No 14,926 0.27
lib-crmf /lib/crmf/.* No 6,538 0.46
lib-cryptohi /lib/cryptohi/.* No 4,687 0.64
lib-dbm /lib/dbm/.* No 0 N/A
lib-dev /lib/dev/.* No 3,784 1.85
lib-freebl /lib/freebl/.* No 74,728 0.78
lib-jar /lib/jar/.* No 2,766 1.81
lib-nss /lib/nss/.* No 2,033 0.98
lib-pk11wrap /lib/pk11wrap/.* No 29,132 0.69
lib-pkcs12 /lib/pkcs12/.* No 6,851 1.02
lib-pkcs7 /lib/pkcs7/.* No 5,230 0.38
lib-pki /lib/pki/.* No 9,260 0.65
lib-smime /lib/smime/.* No 8,599 1.28
lib-softoken /lib/softoken/.* No 35,212 0.88
lib-ssl /lib/ssl/.* No 44,404 0.29
lib-util /lib/util/.* No 18,912 0.79
include-system /usr/.* Yes 166,128 N/A
sqlite /lib/sqlite/.* Yes 138,858 N/A
nspr .*/nspr/.* No 42,273 2.32
gtests gtests/.* No 0 N/A
Other .* No 174,252 1.58

CWE Top 25 defects

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