Coverity Scan: hwloc

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

Nov 14, 2024
Last Analyzed
97,567
Lines of Code Analyzed
0.36
Defect Density

Defect changes since previous build dated Nov 12, 2024

0
Newly detected
1
Eliminated

Defects by status for current build

391
Total defects
35
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,157 0.34
netloc core /netloc/.* No 0 N/A
hwloc tests /tests/hwloc/.* No 14,911 0.94
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