Coverity Scan: esp32-xiaozhi

Project Name esp32-xiaozhi
Lines of code analyzed 2,014,953
On Coverity Scan since Nov 02, 2025
Last build analyzed about 21 hours ago
   
Language C/C++
Repository URL https://github.com/laoshanxi/xiaozhi-esp32
Homepage URL https://github.com/laoshanxi/xiaozhi-esp32
License MIT (MIT license )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 2.0.1

Nov 03, 2025
Last Analyzed
2,014,953
Lines of Code Analyzed
19,815
Lines of Code in Selected Components
34.01
Defect Density

Defect changes since previous build dated Nov 02, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

734
Total defects
674
Outstanding
0
Fixed
See how defect density for 'esp32-xiaozhi' 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
esp /opt/esp/* Yes 703,403 N/A
managed_components .*/managed_components/.* Yes 1,291,735 N/A
main .*/main/.* No 14,939 5.15
Other .* No 4,876 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 4
131 Incorrect Calculation of Buffer Size 1
190 Integer Overflow or Wraparound 54
676 Use of Potentially Dangerous Function 3
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