Coverity Scan: Leptonica

Project Name Leptonica
Lines of code analyzed 213,931
On Coverity Scan since Sep 30, 2016
Last build analyzed 1 day ago
   
Language C/C++
Repository URL https://github.com/DanBloomberg/leptonica.git
Homepage URL http://www.leptonica.org/
License Other: Leptonica license

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 1.85.0-56-ged7239f3

Sep 16, 2025
Last Analyzed
213,931
Lines of Code Analyzed
196,424
Lines of Code in Selected Components
0.08
Defect Density

Defect changes since previous build dated Jul 15, 2025

5
Newly detected
1
Eliminated

Defects by status for current build

1,604
Total defects
15
Outstanding
1,473
Fixed
See how defect density for 'Leptonica' 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
prog .*/prog/.* No 52,424 0.02
src .*/src/.* No 144,144 0.10
usr /usr/.* Yes 17,507 N/A
Other .* No 36 0.00

CWE Top 25 defects

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