Coverity Scan: espressif/esp-usb

Project Name espressif/esp-usb
Lines of code analyzed 673,529
On Coverity Scan since Jan 07, 2025
Last build analyzed about 11 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: dcbfb166ffa3ba2d0b05dcab25b952...

Feb 14, 2026
Last Analyzed
673,529
Lines of Code Analyzed
22,643
Lines of Code in Selected Components
0.53
Defect Density

Defect changes since previous build dated Jan 28, 2026

10
Newly detected
3
Eliminated

Defects by status for current build

351
Total defects
12
Outstanding
153
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,160 0.10
esp_tinyusb .*/esp-usb/device/esp_tinyusb/.* No 3,134 0.00
cdc .*/esp-usb/host/class/cdc/.* No 2,365 0.00
hid .*/esp-usb/host/class/hid/.* No 1,362 1.47
msc .*/esp-usb/host/class/msc/.* No 1,296 3.86
uac .*/esp-usb/host/class/uac/.* No 2,663 0.75
uvc .*/esp-usb/host/class/uvc/.* No 2,700 0.74
managed_components .*/managed_components/.* Yes 20,800 N/A
CMakeFiles .*/CMakeFiles/.* Yes 2,812 N/A
esp-idf .*/esp/idf/.* Yes 537,952 N/A
tools .*/esp/tools/.* Yes 87,618 N/A
static_analysis project .*/esp-usb/static_analysis/.* Yes 1,704 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 23
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