Coverity Scan: Apache Tomcat

Project Name Apache Tomcat
Lines of code analyzed 246,808
On Coverity Scan since Aug 13, 2014
Last build analyzed about 12 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: 10.0.6-dev-ec29686465037c31a31...

Apr 10, 2021
Last Analyzed
246,808
Lines of Code Analyzed
1.20
Defect Density

Defect changes since previous build dated Sep 19, 2020

52
Newly detected
118
Eliminated

Defects by status for current build

942
Total defects
295
Outstanding
597
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,575 0.58
Jasper .*/org/apache/jasper/.* No 26,640 0.94
Catalina .*/org/apache/catalina/.* No 102,953 1.53
Coyote .*/org/apache/coyote/.* No 15,330 1.37
APIs .*/javax/.* No 10,012 0.20
EL .*/org/apache/el/.* No 10,466 0.48
JULI .*/org/apache/juli/.* No 1,569 1.27
DBCP fork .*/org/apache/tomcat/dbcp/.* No 19,587 1.28
Tomcat JDBC .*/jdbc-pool/.* No 0 N/A
Web apps .*/webapps/.* No 0 N/A
Other .* No 63,132 0.82

CWE Top 25 defects

ID CWE-Name Number of Defects
22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 26
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') 104
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