Coverity Scan: libvirt

Project Name libvirt
Lines of code analyzed 735,363
On Coverity Scan since Feb 25, 2020
Last build analyzed 3 days ago
   
Language C/C++
Repository URL https://gitlab.com/libvirt/libvirt
Homepage URL https://libvirt.org/
License LGPL (GNU Library or "Lesser" General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Apr 27, 2025
Last Analyzed
735,363
Lines of Code Analyzed
734,435
Lines of Code in Selected Components
0.71
Defect Density

Defect changes since previous build dated Apr 26, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

855
Total defects
523
Outstanding
315
Fixed
See how defect density for 'libvirt' 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
system-libs /usr/lib/.* Yes 928 N/A
Other .* No 734,435 0.71

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 58
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