Coverity Scan: Apache Tomcat

Project Name Apache Tomcat
Lines of code analyzed 255,420
On Coverity Scan since Aug 13, 2014
Last build analyzed about 10 hours 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\ -\ f69ab9e9a66f197af59...

Aug 16, 2026
Last Analyzed
255,420
Lines of Code Analyzed
0.24
Defect Density

Defect changes since previous build dated Aug 09, 2026

54
Newly detected
6
Eliminated

Defects by status for current build

1,393
Total defects
61
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,626 0.12
Jasper .*/org/apache/jasper/.* No 24,787 0.00
Catalina .*/org/apache/catalina/.* No 103,713 0.44
Coyote .*/org/apache/coyote/.* No 15,954 0.69
EL .*/org/apache/el/.* No 11,910 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,588 0.00
Web apps .*/webapps/.* No 3,945 0.00
Jakarta APIS .*/jakarta/.* No 10,170 0.00
Fileupload .*/org/apache/tomcat/util/http/fileupload/.* No 2,557 0.39
Other .* No 45,890 0.02

CWE Top 25 defects

ID CWE-Name Number of Defects
22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 42
352 Cross-Site Request Forgery (CSRF) 2
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