Coverity Scan: tesseract-ocr

Project Name tesseract-ocr
Lines of code analyzed 399,024
On Coverity Scan since Jan 26, 2014
Last build analyzed about 1 month 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.3.1-27-gb2cb4994

Mar 18, 2024
Last Analyzed
399,024
Lines of Code Analyzed
153,946
Lines of Code in Selected Components
1.08
Defect Density

Defect changes since previous build dated Mar 05, 2024

0
Newly detected
0
Eliminated

Defects by status for current build

732
Total defects
167
Outstanding
544
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,031 N/A
tfnetwork /src/lstm/tfnetwork.pb.cc Yes 0 N/A
api .*/src/api/.* No 3,973 0.25
arch .*/src/arch/.* No 1,154 0.87
ccmain .*/src/ccmain/.* No 14,483 1.38
ccstruct .*/src/ccstruct/.* No 16,396 0.91
ccutil .*/src/ccutil/.* No 27,922 1.29
classify .*/src/classify/.* No 10,499 1.14
cutil .*/cutil/.* No 161 0.00
dict .*/dict/.* No 3,512 0.57
lstm .*/lstm/.* No 15,262 0.59
opencl .*/opencl/.* No 0 N/A
textord .*/textord/.* No 30,285 0.30
training .*/training/.* No 12,554 1.27
viewer .*/viewer/.* No 1,231 0.81
wordrec .*/wordrec/.* No 4,059 0.99
googletest .*/googletest/.* Yes 22,047 N/A
unittest .*/unittest/.* No 10,411 0.96
Other .* No 2,044 0.98

CWE Top 25 defects

ID CWE-Name Number of Defects
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