Coverity Scan: tesseract-ocr

Project Name tesseract-ocr
Lines of code analyzed 401,108
On Coverity Scan since Jan 26, 2014
Last build analyzed 12 days ago
   
Language C/C++
Secondary Language Java
Repository URL https://github.com/tesseract-ocr/tesseract.git
Homepage URL https://github.com/tesseract-ocr
License Apache (Apache License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 5.5.0-54-g1e386b36

Mar 13, 2025
Last Analyzed
401,108
Lines of Code Analyzed
154,327
Lines of Code in Selected Components
0.87
Defect Density

Defect changes since previous build dated Dec 31, 2024

1
Newly detected
0
Eliminated

Defects by status for current build

771
Total defects
135
Outstanding
613
Fixed
See how defect density for 'tesseract-ocr' 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
usr /usr/.* Yes 223,372 N/A
tfnetwork /src/lstm/tfnetwork.pb.cc Yes 0 N/A
api .*/src/api/.* No 4,764 0.00
arch .*/src/arch/.* No 1,200 0.83
ccmain .*/src/ccmain/.* No 14,449 0.83
ccstruct .*/src/ccstruct/.* No 16,378 0.92
ccutil .*/src/ccutil/.* No 27,797 0.36
classify .*/src/classify/.* No 10,496 1.14
cutil .*/cutil/.* No 161 0.00
dict .*/dict/.* No 3,513 0.57
lstm .*/lstm/.* No 15,159 0.53
opencl .*/opencl/.* No 0 N/A
textord .*/textord/.* No 30,224 0.56
training .*/training/.* No 12,576 1.19
viewer .*/viewer/.* No 1,234 0.81
wordrec .*/wordrec/.* No 4,063 1.23
googletest .*/googletest/.* Yes 23,409 N/A
unittest .*/unittest/.* No 10,371 0.96
Other .* No 2,085 0.96

CWE Top 25 defects

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