Coverity Scan: Apache Tomcat

Project Name Apache Tomcat
Lines of code analyzed 243,301
On Coverity Scan since Aug 13, 2014
Last build analyzed 1 day 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: 10.1.43

Jul 03, 2025
Last Analyzed
243,301
Lines of Code Analyzed
0.36
Defect Density

Defect changes since previous build dated Sep 26, 2024

42
Newly detected
86
Eliminated

Defects by status for current build

1,286
Total defects
88
Outstanding
824
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,497 0.24
Jasper .*/org/apache/jasper/.* No 25,396 0.04
Catalina .*/org/apache/catalina/.* No 104,745 0.41
Coyote .*/org/apache/coyote/.* No 16,145 0.50
EL .*/org/apache/el/.* No 11,603 0.17
JULI .*/org/apache/juli/.* No 1,693 0.00
DBCP fork .*/org/apache/tomcat/dbcp/.* No 18,902 0.79
Tomcat JDBC .*/jdbc-pool/.* No 7,554 0.40
Web apps .*/webapps/.* No 3,952 0.76
Jakarta APIS .*/jakarta/.* No 10,031 0.20
Fileupload .*/org/apache/tomcat/util/http/fileupload/.* No 2,555 0.39
Naming .*/org/apache/naming/.* No 2,400 0.00
Other .* No 45,841 0.17

CWE Top 25 defects

ID CWE-Name Number of Defects
79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') 6
327 Use of a Broken or Risky Cryptographic Algorithm 1
352 Cross-Site Request Forgery (CSRF) 5
798 Use of Hard-coded Credentials 6
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