Coverity Scan: tesseract-ocr

Project Name tesseract-ocr
Lines of code analyzed 481,674
On Coverity Scan since Jan 26, 2014
Last build analyzed 2 months 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.0.0-alpha-628-g95befed6

Feb 09, 2020
Last Analyzed
481,674
Lines of Code Analyzed
158,751
Lines of Code in Selected Components
0.62
Defect Density

Defect changes since previous build dated Jan 04, 2020

0
Newly detected
0
Eliminated

Defects by status for current build

504
Total defects
98
Outstanding
383
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 281,675 N/A
abseil /abseil/.* Yes 14,840 N/A
googletest /googletest/.* Yes 25,663 N/A
tfnetwork /src/lstm/tfnetwork.pb.cc Yes 745 N/A
api .*/src/api/.* No 4,835 0.41
arch .*/src/arch/.* No 697 0.00
ccmain .*/src/ccmain/.* No 14,710 0.68
ccstruct .*/src/ccstruct/.* No 16,182 0.43
ccutil .*/src/ccutil/.* No 27,505 0.22
classify .*/src/classify/.* No 10,156 0.49
cutil .*/cutil/.* No 326 0.00
dict .*/dict/.* No 3,527 1.13
lstm .*/lstm/.* No 15,229 0.39
opencl .*/opencl/.* No 2,926 0.00
textord .*/textord/.* No 30,784 0.32
training .*/training/.* No 12,352 1.05
unittest .*/unittest/.* No 10,003 0.50
viewer .*/viewer/.* No 1,191 0.00
wordrec .*/wordrec/.* No 4,466 0.90
Other .* No 3,864 0.52

CWE Top 25 defects

ID CWE-Name Number of Defects
676 Use of Potentially Dangerous Function 3
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