Coverity Scan: Apache Tomcat

Project Name Apache Tomcat
Lines of code analyzed 255,701
On Coverity Scan since Aug 13, 2014
Last build analyzed 3 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\ -\ 719edeaa1817fc2b614...

Sep 06, 2026
Last Analyzed
255,701
Lines of Code Analyzed
0.27
Defect Density

Defect changes since previous build dated Aug 30, 2026

3
Newly detected
9
Eliminated

Defects by status for current build

1,395
Total defects
70
Outstanding
868
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,747 0.23
Jasper .*/org/apache/jasper/.* No 24,791 0.00
Catalina .*/org/apache/catalina/.* No 103,943 0.47
Coyote .*/org/apache/coyote/.* No 16,012 0.69
EL .*/org/apache/el/.* No 11,917 0.00
JULI .*/org/apache/juli/.* No 1,652 0.00
DBCP fork .*/org/apache/tomcat/dbcp/.* No 18,855 0.05
Tomcat JDBC .*/jdbc-pool/.* No 7,595 0.00
Web apps .*/webapps/.* No 3,945 1.01
Jakarta APIS .*/jakarta/.* No 10,170 0.00
Fileupload .*/org/apache/tomcat/util/http/fileupload/.* No 2,557 0.39
Other .* No 45,974 0.04

CWE Top 25 defects

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