Coverity Scan: Zephyr

Project Name Zephyr
Lines of code analyzed 26,154,313
On Coverity Scan since Jul 01, 2016
Last build analyzed 23 days ago
Language C/C++
Repository URL
Homepage URL
License Apache (Apache License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: zephyr-v3.4.0-3229-g0df085bb36

Sep 04, 2023
Last Analyzed
Lines of Code Analyzed
Lines of Code in Selected Components
Defect Density

Defect changes since previous build dated Aug 16, 2023

Newly detected

Defects by status for current build

Total defects
See how defect density for 'Zephyr' 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
Misc .*/sanity-out/.* Yes 0 N/A
Modules .*/modules/.* Yes 1,105,854 N/A
HALs .*/ext/hal/.* Yes 0 N/A
Tests /tests/.* No 487,241 0.50
Samples /samples/.* No 26,056 0.73
Bluetooth .*/bluetooth/.* No 1,614,946 0.01
Kernel .*/kernel/.* No 978,173 0.00
Networking .*/net/.* No 1,524,086 0.00
External Components /ext/.* Yes 0 N/A
Drivers .*/drivers/.* No 4,822,591 0.01
Architectures /arch/.* No 7,716 0.13
libc .*/lib/libc/.* No 2,667 0.00
Testsuite .*/subsys/testsuite/.* No 25,660 0.00
USB .*/subsys/usb/.* No 247,406 0.00
Shell .*/subsys/shell/.* No 1,534,909 0.00
Power Management .*/subsys/pm/.* No 144,527 0.00
File System .*/subsys/fs/.* No 243,842 0.02
Logging .*/subsys/logging/.* No 2,726,427 0.00
Modbus .*/modbus/.* No 96,074 0.02
Other .* No 12,755,701 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 7
190 Integer Overflow or Wraparound 8
676 Use of Potentially Dangerous Function 6





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