Coverity Scan: hwloc

Project Name hwloc
Lines of code analyzed 96,993
On Coverity Scan since Mar 20, 2013
Last build analyzed 23 days ago
   
Language C/C++
Repository URL https://github.com/open-mpi/hwloc
Homepage URL N/A
License N/A

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: hwloc-master-20240404.0100.git...

Apr 04, 2024
Last Analyzed
96,993
Lines of Code Analyzed
0.31
Defect Density

Defect changes since previous build dated Mar 30, 2024

0
Newly detected
0
Eliminated

Defects by status for current build

371
Total defects
30
Outstanding
314
Fixed
See how defect density for 'hwloc' 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
hwloc core /hwloc/.* No 26,058 0.38
netloc core /netloc/.* No 0 N/A
hwloc tests /tests/hwloc/.* No 14,737 0.54
netloc tests /tests/netloc/.* No 0 N/A
hwloc utils /utils/(hwloc|lstopo)/.* No 13,019 0.92
netloc utils /utils/(netloc.*|lsmap|lsnettopo)/.* No 0 N/A
Other .* No 43,200 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 1
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