Coverity Scan: tesseract-ocr

Project Name tesseract-ocr
Lines of code analyzed 401,329
On Coverity Scan since Jan 26, 2014
Last build analyzed 11 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.4.1-81-gfe016873

Nov 10, 2024
Last Analyzed
401,329
Lines of Code Analyzed
154,688
Lines of Code in Selected Components
0.91
Defect Density

Defect changes since previous build dated Nov 09, 2024

0
Newly detected
5
Eliminated

Defects by status for current build

762
Total defects
141
Outstanding
598
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,367 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,197 0.84
ccmain .*/src/ccmain/.* No 14,461 0.83
ccstruct .*/src/ccstruct/.* No 16,385 0.92
ccutil .*/src/ccutil/.* No 27,971 0.57
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,242 0.60
training .*/training/.* No 12,576 1.19
viewer .*/viewer/.* No 1,234 0.81
wordrec .*/wordrec/.* No 4,065 1.23
googletest .*/googletest/.* Yes 23,274 N/A
unittest .*/unittest/.* No 10,371 0.96
Other .* No 2,093 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