Coverity Scan: espressif/esp-usb

Project Name espressif/esp-usb
Lines of code analyzed 708,271
On Coverity Scan since Jan 07, 2025
Last build analyzed 3 days 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: cfa15aea7266b9b08c9cd567941441...

Oct 09, 2026
Last Analyzed
708,271
Lines of Code Analyzed
25,691
Lines of Code in Selected Components
0.47
Defect Density

Defect changes since previous build dated Oct 08, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

373
Total defects
12
Outstanding
180
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,592 0.09
esp_tinyusb .*/esp-usb/device/esp_tinyusb/.* No 3,680 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 3,237 0.62
managed_components .*/managed_components/.* Yes 22,821 N/A
CMakeFiles .*/CMakeFiles/.* Yes 2,816 N/A
esp-idf .*/esp/idf/.* Yes 552,867 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 25
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