Coverity Scan: libgphoto2

Project Name libgphoto2
Lines of code analyzed 124,248
On Coverity Scan since May 04, 2007
Last build analyzed 6 months ago
   
Language C/C++
Repository URL git://github.com/gphoto/libgphoto2.git
Homepage URL http://gphoto.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

Version: 2.5.31.1

May 25, 2024
Last Analyzed
124,248
Lines of Code Analyzed
2.34
Defect Density

Defect changes since previous build dated Feb 01, 2023

124
Newly detected
48
Eliminated

Defects by status for current build

902
Total defects
291
Outstanding
570
Fixed
See how defect density for 'libgphoto2' 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
camlibs .*camlibs.* No 81,076 2.91
libgphoto2_port .*libgphoto2_port.* No 5,514 0.91
examples .*examples.* No 1,892 12.16
tests .*tests.* No 336 2.98
Other .* No 38,671 0.67

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 33
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