Coverity Scan: libgit2

Project Name libgit2
Lines of code analyzed 287,832
On Coverity Scan since Jul 24, 2013
Last build analyzed about 4 hours ago
   
Language C/C++
Repository URL https://github.com/libgit2/libgit2
Homepage URL http://libgit2.github.com/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 4dcdb64c6

Dec 22, 2024
Last Analyzed
287,832
Lines of Code Analyzed
192,064
Lines of Code in Selected Components
2.60
Defect Density

Defect changes since previous build dated Dec 21, 2024

0
Newly detected
0
Eliminated

Defects by status for current build

1,619
Total defects
500
Outstanding
1,031
Fixed
See how defect density for 'libgit2' 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
Source .*/src/.* No 95,062 0.61
Tests (ignored) .*/tests/.* Yes 95,768 N/A
Other .* No 97,002 0.16

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 25
676 Use of Potentially Dangerous Function 2
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