Coverity Scan: hwloc

Project Name hwloc
Lines of code analyzed 97,351
On Coverity Scan since Mar 20, 2013
Last build analyzed 1 day 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-20260402.0100.git...

Apr 02, 2026
Last Analyzed
97,351
Lines of Code Analyzed
0.32
Defect Density

Defect changes since previous build dated Apr 01, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

398
Total defects
31
Outstanding
325
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,423 0.34
netloc core /netloc/.* No 0 N/A
hwloc tests /tests/hwloc/.* No 14,666 0.82
netloc tests /tests/netloc/.* No 0 N/A
hwloc utils /utils/(hwloc|lstopo)/.* No 13,042 0.77
netloc utils /utils/(netloc.*|lsmap|lsnettopo)/.* No 0 N/A
Other .* No 43,220 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 4
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