Coverity Scan: Zephyr

Project Name Zephyr
Lines of code analyzed 22,872,133
On Coverity Scan since Jul 01, 2016
Last build analyzed 7 days ago
   
Language C/C++
Repository URL https://github.com/zephyrproject-rtos/zephyr
Homepage URL https://www.zephyrproject.org/
License Apache (Apache License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: v3.6.0-rc3

Feb 22, 2024
Last Analyzed
22,872,133
Lines of Code Analyzed
20,546,626
Lines of Code in Selected Components
0.02
Defect Density

Defect changes since previous build dated Feb 15, 2024

38
Newly detected
770
Eliminated

Defects by status for current build

17,467
Total defects
356
Outstanding
16,967
Fixed
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
Modules .*/modules/.* Yes 948,720 N/A
HALs .*/ext/hal/.* Yes 0 N/A
Bluetooth .*/bluetooth/.* No 219,230 0.06
Kernel .*/kernel/.* No 41,948 0.00
External Components /ext/.* Yes 0 N/A
Drivers .*/drivers/.* No 1,339,378 0.04
Architectures /arch/.* No 8,750 0.80
libc .*/lib/libc/.* No 2,983 0.34
Testsuite .*/subsys/testsuite/.* No 11,138 0.00
USB .*/subsys/usb/.* No 97,552 0.01
Shell .*/subsys/shell/.* No 62,620 0.02
Power Management .*/subsys/pm/.* No 92,139 0.00
File System .*/subsys/fs/.* No 40,199 0.07
Logging .*/subsys/logging/.* No 21,059 0.05
Modbus .*/modbus/.* No 6,687 0.15
MCUBoot .*/bootloader/mcuboot/.* Yes 809 N/A
Tests .*/tests/.* Yes 1,248,165 N/A
Samples .*/samples/.* Yes 127,813 N/A
Other .* No 350,447 0.03

CWE Top 25 defects

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