Coverity Scan: espressif/esp-usb

Project Name espressif/esp-usb
Lines of code analyzed 706,072
On Coverity Scan since Jan 07, 2025
Last build analyzed about 6 hours ago
   
Language C/C++
Repository URL https://github.com/espressif/esp-usb.git
Homepage URL https://github.com/espressif/esp-usb
License Apache (Apache License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: da8fe8ca1d01760394db289b680fd8...

Sep 16, 2026
Last Analyzed
706,072
Lines of Code Analyzed
24,874
Lines of Code in Selected Components
0.48
Defect Density

Defect changes since previous build dated Sep 14, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

372
Total defects
12
Outstanding
179
Fixed
See how defect density for 'espressif/esp-usb' 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
usb .*/esp-usb/host/usb/.* No 10,501 0.10
esp_tinyusb .*/esp-usb/device/esp_tinyusb/.* No 3,375 0.00
cdc .*/esp-usb/host/class/cdc/.* No 2,585 0.00
hid .*/esp-usb/host/class/hid/.* No 1,484 1.35
msc .*/esp-usb/host/class/msc/.* No 1,436 3.48
uac .*/esp-usb/host/class/uac/.* No 2,708 0.74
uvc .*/esp-usb/host/class/uvc/.* No 2,896 0.69
managed_components .*/managed_components/.* Yes 22,771 N/A
CMakeFiles .*/CMakeFiles/.* Yes 2,816 N/A
esp-idf .*/esp/idf/.* Yes 551,535 N/A
tools .*/esp/tools/.* Yes 101,230 N/A
static_analysis project .*/esp-usb/static_analysis/.* Yes 2,846 N/A
Other .* No 0 N/A

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 24
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