Coverity Scan: obgm/libcoap

Project Name obgm/libcoap
Lines of code analyzed 77,068
On Coverity Scan since Nov 29, 2016
Last build analyzed 17 days ago
   
Language C/C++
Repository URL https://github.com/obgm/libcoap.git
Homepage URL https://libcoap.net
License BSD2Clause (BSD 2-Clause "Simplified" or "FreeBSD" License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: v4.2.1-1397-g0bf6a2d7

Nov 27, 2025
Last Analyzed
77,068
Lines of Code Analyzed
0.26
Defect Density

Defect changes since previous build dated Jan 10, 2025

19
Newly detected
1
Eliminated

Defects by status for current build

275
Total defects
20
Outstanding
246
Fixed
See how defect density for 'obgm/libcoap' 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
core library sources .*/src/.*\.c No 42,187 0.38
examples .*/examples/.*\.c No 5,123 0.59
unit tests .*/tests/.* No 4,979 0.00
Other .* No 50,626 0.02

CWE Top 25 defects

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