Coverity Scan: Zephyr

Project Name Zephyr
Lines of code analyzed 3,674,143
On Coverity Scan since Jul 01, 2016
Last build analyzed 11 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: v4.0.0-745-gb1def7145fd

Nov 24, 2024
Last Analyzed
3,674,143
Lines of Code Analyzed
1,216,421
Lines of Code in Selected Components
0.49
Defect Density

Defect changes since previous build dated Nov 23, 2024

125
Newly detected
49
Eliminated

Defects by status for current build

18,606
Total defects
597
Outstanding
17,871
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,371,324 N/A
HALs .*/ext/hal/.* Yes 0 N/A
Bluetooth .*/bluetooth/.* No 244,665 0.04
Kernel .*/kernel/.* No 41,380 0.00
External Components /ext/.* Yes 0 N/A
Drivers .*/drivers/.* No 1,113,552 0.09
Architectures /arch/.* No 7,760 0.00
libc .*/lib/libc/.* No 3,089 0.00
Testsuite .*/subsys/testsuite/.* No 11,354 0.00
USB .*/subsys/usb/.* No 39,300 0.08
Shell .*/subsys/shell/.* No 27,920 0.04
Power Management .*/subsys/pm/.* No 17,929 0.00
File System .*/subsys/fs/.* No 46,434 0.06
Logging .*/subsys/logging/.* No 35,161 0.00
Modbus .*/modbus/.* No 7,442 0.13
MCUBoot .*/bootloader/mcuboot/.* Yes 771 N/A
Tests .*/tests/.* Yes 922,137 N/A
Samples .*/samples/.* Yes 163,490 N/A
Other .* No 365,484 0.05

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 14
676 Use of Potentially Dangerous Function 4
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