Coverity Scan: tesseract-ocr

Project Name tesseract-ocr
Lines of code analyzed 377,456
On Coverity Scan since Jan 26, 2014
Last build analyzed 25 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.1.0-60-g9ec5a02d

Jun 12, 2022
Last Analyzed
377,456
Lines of Code Analyzed
175,882
Lines of Code in Selected Components
0.73
Defect Density

Defect changes since previous build dated Apr 16, 2022

0
Newly detected
3
Eliminated

Defects by status for current build

661
Total defects
128
Outstanding
512
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 201,574 N/A
abseil /abseil/.* Yes 0 N/A
googletest /googletest/.* Yes 0 N/A
tfnetwork /src/lstm/tfnetwork.pb.cc Yes 0 N/A
api .*/src/api/.* No 3,950 0.00
arch .*/src/arch/.* No 1,147 0.00
ccmain .*/src/ccmain/.* No 14,481 0.76
ccstruct .*/src/ccstruct/.* No 16,386 0.73
ccutil .*/src/ccutil/.* No 27,902 1.15
classify .*/src/classify/.* No 10,495 1.05
cutil .*/cutil/.* No 161 0.00
dict .*/dict/.* No 3,512 0.57
lstm .*/lstm/.* No 15,260 0.46
opencl .*/opencl/.* No 0 N/A
textord .*/textord/.* No 30,282 0.30
training .*/training/.* No 12,538 1.12
unittest .*/unittest/.* No 32,458 0.62
viewer .*/viewer/.* No 1,240 1.61
wordrec .*/wordrec/.* No 4,055 0.99
Other .* No 2,027 0.99

CWE Top 25 defects

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