Coverity Scan: Apache Tomcat

Project Name Apache Tomcat
Lines of code analyzed 245,525
On Coverity Scan since Aug 13, 2014
Last build analyzed 7 days ago
   
Language Java
Repository URL https://github.com/apache/tomcat.git
Homepage URL http://tomcat.apache.org/
License N/A

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 9.0.39-dev-33e874fa31e6c411421...

Sep 19, 2020
Last Analyzed
245,525
Lines of Code Analyzed
1.22
Defect Density

Defect changes since previous build dated Aug 24, 2020

9
Newly detected
8
Eliminated

Defects by status for current build

1,001
Total defects
299
Outstanding
590
Fixed

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
WebSocket .*/org/apache/tomcat/websocket/.* No 8,544 0.59
Jasper .*/org/apache/jasper/.* No 26,289 0.87
Catalina .*/org/apache/catalina/.* No 102,235 1.65
Coyote .*/org/apache/coyote/.* No 15,198 1.05
APIs .*/javax/.* No 10,012 0.10
EL .*/org/apache/el/.* No 10,489 0.48
JULI .*/org/apache/juli/.* No 1,591 1.89
DBCP fork .*/org/apache/tomcat/dbcp/.* No 19,655 1.27
Tomcat JDBC .*/jdbc-pool/.* No 0 N/A
Web apps .*/webapps/.* No 0 N/A
Other .* No 52,795 0.98

CWE Top 25 defects

ID CWE-Name Number of Defects
22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 36
78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') 1
79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') 108
352 Cross-Site Request Forgery (CSRF) 19
676 Use of Potentially Dangerous Function 1
759 Use of a One-Way Hash without a Salt 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