Coverity Scan: tesseract-ocr

Project Name tesseract-ocr
Lines of code analyzed 471,643
On Coverity Scan since Jan 26, 2014
Last build analyzed about 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-424-gb2999d81

Sep 17, 2019
Last Analyzed
471,643
Lines of Code Analyzed
170,723
Lines of Code in Selected Components
0.52
Defect Density

Defect changes since previous build dated Sep 15, 2019

2
Newly detected
27
Eliminated

Defects by status for current build

475
Total defects
88
Outstanding
373
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 275,328 N/A
abseil /abseil/.* Yes 7,782 N/A
googletest /googletest/.* Yes 17,065 N/A
tfnetwork /src/lstm/tfnetwork.pb.cc Yes 745 N/A
api .*/src/api/.* No 5,679 0.35
arch .*/src/arch/.* No 696 0.00
ccmain .*/src/ccmain/.* No 15,097 0.66
ccstruct .*/src/ccstruct/.* No 16,297 0.43
ccutil .*/src/ccutil/.* No 28,853 0.24
classify .*/src/classify/.* No 10,168 0.49
cutil .*/cutil/.* No 330 0.00
dict .*/dict/.* No 3,536 1.13
lstm .*/lstm/.* No 7,069 1.13
opencl .*/opencl/.* No 2,926 0.00
textord .*/textord/.* No 30,791 0.39
training .*/training/.* No 12,325 1.05
unittest .*/unittest/.* No 10,001 0.50
viewer .*/viewer/.* No 1,191 0.00
wordrec .*/wordrec/.* No 4,469 0.90
Other .* No 1,188 0.00

CWE Top 25 defects

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