Coverity Scan: espressif/esp-usb

Project Name espressif/esp-usb
Lines of code analyzed 703,979
On Coverity Scan since Jan 07, 2025
Last build analyzed 6 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: 1fb14d33a942db7d1f7cae48b0b586...

Aug 08, 2026
Last Analyzed
703,979
Lines of Code Analyzed
24,545
Lines of Code in Selected Components
0.49
Defect Density

Defect changes since previous build dated Aug 07, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

368
Total defects
12
Outstanding
181
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,498 0.10
esp_tinyusb .*/esp-usb/device/esp_tinyusb/.* No 3,205 0.00
cdc .*/esp-usb/host/class/cdc/.* No 2,580 0.00
hid .*/esp-usb/host/class/hid/.* No 1,484 1.35
msc .*/esp-usb/host/class/msc/.* No 1,308 3.82
uac .*/esp-usb/host/class/uac/.* No 2,697 0.74
uvc .*/esp-usb/host/class/uvc/.* No 2,773 0.72
managed_components .*/managed_components/.* Yes 22,771 N/A
CMakeFiles .*/CMakeFiles/.* Yes 2,816 N/A
esp-idf .*/esp/idf/.* Yes 549,780 N/A
tools .*/esp/tools/.* Yes 101,230 N/A
static_analysis project .*/esp-usb/static_analysis/.* Yes 2,837 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