Coverity Scan: hwloc

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

Dec 05, 2024
Last Analyzed
97,568
Lines of Code Analyzed
0.33
Defect Density

Defect changes since previous build dated Nov 14, 2024

0
Newly detected
3
Eliminated

Defects by status for current build

389
Total defects
32
Outstanding
315
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,165 0.34
netloc core /netloc/.* No 0 N/A
hwloc tests /tests/hwloc/.* No 14,830 0.74
netloc tests /tests/netloc/.* No 0 N/A
hwloc utils /utils/(hwloc|lstopo)/.* No 13,286 0.90
netloc utils /utils/(netloc.*|lsmap|lsnettopo)/.* No 0 N/A
Other .* No 43,214 0.00

CWE Top 25 defects

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