Coverity Scan: pmem/pmdk

Project Name pmem/pmdk
Lines of code analyzed 180,329
On Coverity Scan since Sep 17, 2014
Last build analyzed 2 days ago
   
Language C/C++
Repository URL https://github.com/pmem/pmdk
Homepage URL http://pmem.io
License BSD3Clause (BSD 3-Clause "New" or "Revised" License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 86c59bb

Dec 07, 2019
Last Analyzed
180,329
Lines of Code Analyzed
138,271
Lines of Code in Selected Components
0.07
Defect Density

Defect changes since previous build dated Dec 06, 2019

0
Newly detected
0
Eliminated

Defects by status for current build

217
Total defects
10
Outstanding
174
Fixed
See how defect density for 'pmem/pmdk' 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
benchmarks .*/src/benchmarks/.* No 9,847 0.00
libpmem .*/src/libpmem/.* No 597 0.00
libpmemblk .*/src/libpmemblk/.* No 1,986 0.00
libpmemlog .*/src/libpmemlog/.* No 768 0.00
libpmemobj .*/src/libpmemobj/.* No 12,238 0.00
libpmempool .*/src/libpmempool/.* No 8,997 0.00
librpmem .*/src/librpmem/.* No 3,255 0.31
common .*/src/common/.* No 17,128 0.23
test .*/src/test/.* No 0 N/A
libvmem .*/src/libvmem/.* No 0 N/A
libvmmalloc .*/src/libvmmalloc/.* No 0 N/A
examples .*/src/examples/.* No 15,336 0.20
jemalloc .*/src/jemalloc/.* No 0 N/A
libpmemcto .*/src/libpmemcto/.* No 0 N/A
rpmem .*/src/rpmem_common/.* No 992 0.00
external /usr/include/.* Yes 42,058 N/A
daxio .*/src/tools/daxio/.* No 467 0.00
rpmemd .*/src/tools/rpmemd/.* No 3,247 0.00
pmempool .*/src/tools/pmempool/.* No 5,964 0.00
Other .* No 57,463 0.03

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 1
676 Use of Potentially Dangerous Function 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