Coverity Scan: Apache Tomcat

Project Name Apache Tomcat
Lines of code analyzed 261,277
On Coverity Scan since Aug 13, 2014
Last build analyzed 5 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: 12.0.x\ -\ 50d5ee444a2f8f82294...

Nov 01, 2026
Last Analyzed
261,277
Lines of Code Analyzed
0.18
Defect Density

Defect changes since previous build dated Oct 25, 2026

2
Newly detected
15
Eliminated

Defects by status for current build

1,395
Total defects
46
Outstanding
918
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,844 0.11
Jasper .*/org/apache/jasper/.* No 25,018 0.04
Catalina .*/org/apache/catalina/.* No 106,611 0.23
Coyote .*/org/apache/coyote/.* No 16,263 0.06
EL .*/org/apache/el/.* No 12,021 0.00
JULI .*/org/apache/juli/.* No 1,775 0.00
DBCP fork .*/org/apache/tomcat/dbcp/.* No 18,855 0.05
Tomcat JDBC .*/jdbc-pool/.* No 8,898 0.56
Web apps .*/webapps/.* No 3,948 1.01
Jakarta APIS .*/jakarta/.* No 10,186 0.00
Fileupload .*/org/apache/tomcat/util/http/fileupload/.* No 2,557 0.39
Other .* No 47,148 0.15

CWE Top 25 defects

ID CWE-Name Number of Defects
22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 1
352 Cross-Site Request Forgery (CSRF) 7
732 Incorrect Permission Assignment for Critical Resource 1
798 Use of Hard-coded Credentials 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