Coverity Scan: Zephyr

Project Name Zephyr
Lines of code analyzed 5,771,853
On Coverity Scan since Jul 01, 2016
Last build analyzed 12 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.7.0-rc2-487-g2e012668e90

Jul 14, 2024
Last Analyzed
5,771,853
Lines of Code Analyzed
2,736,918
Lines of Code in Selected Components
0.14
Defect Density

Defect changes since previous build dated Jul 01, 2024

1
Newly detected
47
Eliminated

Defects by status for current build

18,223
Total defects
389
Outstanding
17,679
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 1,189,905 N/A
HALs .*/ext/hal/.* Yes 0 N/A
Bluetooth .*/bluetooth/.* No 232,123 0.06
Kernel .*/kernel/.* No 47,972 0.00
External Components /ext/.* Yes 0 N/A
Drivers .*/drivers/.* No 1,808,219 0.01
Architectures /arch/.* No 12,449 0.08
libc .*/lib/libc/.* No 3,001 0.00
Testsuite .*/subsys/testsuite/.* No 11,208 0.00
USB .*/subsys/usb/.* No 117,035 0.01
Shell .*/subsys/shell/.* No 70,862 0.01
Power Management .*/subsys/pm/.* No 17,600 0.00
File System .*/subsys/fs/.* No 43,947 0.07
Logging .*/subsys/logging/.* No 24,149 0.04
Modbus .*/modbus/.* No 7,199 0.14
MCUBoot .*/bootloader/mcuboot/.* Yes 812 N/A
Tests .*/tests/.* Yes 1,723,302 N/A
Samples .*/samples/.* Yes 120,916 N/A
Other .* No 355,262 0.02

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 2
190 Integer Overflow or Wraparound 12
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