AI Slop Code Risk Monitor

apache/tomcat

SlopCodeMonitor badge for apache/tomcat Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Apache Tomcat

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for apache/tomcat, a Java project with 8,268 GitHub stars. SynthScan examined 868,356 lines of code across 3532 source files, recording 326 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 2.2 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
8.3K
Stars
Java
Language
868.4K
Lines of Code
3.5K
Files
326
Pattern Hits
2026-10-31
Scan Date
0.04
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 1.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 147 finding(s).

Hallucinated Dependency & Supply Chain Risk 8.7/100 · LOW

Are imports declared and package/API names verified? 138 finding(s).

Agent Over-Engineering Ratio 0.7/100 · LOW

Are wrappers, guards, and repeated structures necessary? 41 finding(s).

PR Review Velocity Impact 9.4/100 · LOW

Which changes need focused human review? 326 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 138HIGH 6MEDIUM 55LOW 127

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 326 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators138 hits · 1585 pts
SeverityFileLineSnippetContext
CRITICAL⚡webapps/docs/manager-howto.xml978 at org.apache.tomcat.util.Diagnostics.getThreadDump(Diagnostics.java:440)CODE
CRITICAL⚡webapps/docs/manager-howto.xml979 at org.apache.tomcat.util.Diagnostics.getThreadDump(Diagnostics.java:409)CODE
CRITICAL⚡webapps/docs/manager-howto.xml980 at org.apache.catalina.manager.ManagerServlet.threadDump(ManagerServlet.java:557)CODE
CRITICAL⚡webapps/docs/manager-howto.xml981 at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:371)CODE
CRITICALwebapps/docs/config/cluster-interceptor.xml217 The report is logged to the <code>org.apache.juli.logging.LogFactory.getLog(ThroughputInterceptor.class)</code>CODE
CRITICALwebapps/docs/config/cluster-membership.xml135 The <code>org.apache.catalina.tribes.Member.getDomain()</code> method returns the value specified here.CODE
CRITICALres/spotbugs/filter-false-positives.xml110 o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALres/spotbugs/filter-false-positives.xml117 o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALres/spotbugs/filter-false-positives.xml129 because o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALres/spotbugs/filter-false-positives.xml151 return null because o.a.t.util.buf.MessageBytes.toString() can return NULLCODE
CRITICALres/spotbugs/filter-false-positives.xml167 o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALres/spotbugs/filter-false-positives.xml190 o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALres/spotbugs/filter-false-positives.xml459 o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALres/spotbugs/filter-false-positives.xml821 o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALres/spotbugs/filter-false-positives.xml828 o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALres/spotbugs/filter-false-positives.xml850 o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALres/spotbugs/filter-false-positives.xml863 o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALres/spotbugs/filter-false-positives.xml1454 o.a.t.util.buf.MessageBytes.toString() can return NULL -->CODE
CRITICALtest/org/apache/juli/TestDateFormatCache.java31 // org.apache.catalina.valves.TestAccessLogValve.testBug54044()COMMENT
CRITICALtest/org/apache/juli/TestFileHandlerNonRotatable.java42 URLDecoder.decode(configLoggingPath, java.nio.charset.StandardCharsets.UTF_8.toString()));CODE
CRITICAL…che/catalina/valves/TestLoadBalancerDrainingValve.java139 .andStubReturn(org.apache.juli.logging.LogFactory.getLog(LoadBalancerDrainingValve.class));CODE
CRITICAL…/org/apache/catalina/startup/TestTomcatStandalone.java164 org.apache.catalina.startup.VersionLoggerListener.class.getName())) {CODE
CRITICAL…t/org/apache/catalina/storeconfig/TestStoreConfig.java64 org.apache.tomcat.util.descriptor.web.ContextResource tc_ContextResource_12 = new org.apache.tomcat.util.descripCODE
CRITICAL…t/org/apache/catalina/storeconfig/TestStoreConfig.java89 org.apache.tomcat.util.net.SSLHostConfig tc_SSLHostConfig_22 = new org.apache.tomcat.util.net.SSLHostConfig();CODE
CRITICAL…t/org/apache/catalina/storeconfig/TestStoreConfig.java94 new org.apache.tomcat.util.net.SSLHostConfigCertificate(tc_SSLHostConfig_22,CODE
CRITICAL⚡…t/org/apache/catalina/storeconfig/TestStoreConfig.java108 org.apache.catalina.ha.tcp.SimpleTcpCluster tc_SimpleTcpCluster_51 = new org.apache.catalina.ha.tcp.SimpleTcpCluCODE
CRITICAL⚡…t/org/apache/catalina/storeconfig/TestStoreConfig.java110 org.apache.catalina.tribes.group.GroupChannel tc_GroupChannel_52 = new org.apache.catalina.tribes.group.GroupChaCODE
CRITICAL⚡…t/org/apache/catalina/storeconfig/TestStoreConfig.java114 new org.apache.catalina.tribes.membership.cloud.CloudMembershipService();CODE
CRITICAL…catalina/session/TestPersistentManagerIntegration.java63 // Wait until o.a.c.connector.Request.recycle() completes,COMMENT
CRITICAL…e/catalina/session/TestPersistentManagerFileStore.java59 // Wait until o.a.c.connector.Request.recycle() completes,COMMENT
CRITICAL…lina/session/TestPersistentManagerDataSourceStore.java75 // Wait until o.a.c.connector.Request.recycle() completes,COMMENT
CRITICAL…rg/apache/coyote/http2/TestHttp2InitialConnection.java133 int len = 196 + org.apache.catalina.util.TomcatCSS.TOMCAT_CSS.getBytes(StandardCharsets.UTF_8).length +CODE
CRITICAL…e/jasper/compiler/TesterNonstandardTagPerformance.java70// org.apache.taglibs.standard.tag.rt.core.SetTag _jspx_th_c_005fset_005f39 = new org.apache.taglibs.standard.tagCOMMENT
CRITICAL…e/jasper/compiler/TesterNonstandardTagPerformance.java88// org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_c_005fset_005f39,COMMENT
CRITICALjava/org/apache/catalina/core/StandardServer.java411 utilityExecutorWrapper = new org.apache.tomcat.util.threads.ScheduledThreadPoolExecutor(utilityExecutor);CODE
CRITICALjava/org/apache/catalina/core/ApplicationContext.java373 String uriToMap = org.apache.catalina.util.RequestUtil.stripPathParams(uri, null);CODE
CRITICALjava/org/apache/catalina/core/StandardWrapper.java426 if (!jakarta.servlet.http.HttpServlet.class.isAssignableFrom(servletClazz)) {CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java129 if (org.apache.tomcat.jni.AprStatus.isInstanceCreated()) {CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java130 Lock writeLock = org.apache.tomcat.jni.AprStatus.getStatusLock().writeLock();CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java138 return org.apache.tomcat.jni.AprStatus.isAprAvailable();CODE
CRITICALjava/org/apache/catalina/core/AprLifecycleListener.java234 org.apache.tomcat.jni.AprStatus.setInstanceCreated(true);CODE
CRITICALjava/org/apache/catalina/core/AprLifecycleListener.java248 Lock writeLock = org.apache.tomcat.jni.AprStatus.getStatusLock().writeLock();CODE
CRITICALjava/org/apache/catalina/core/AprLifecycleListener.java264 if (org.apache.tomcat.jni.AprStatus.isAprAvailable()) {CODE
CRITICALjava/org/apache/catalina/core/AprLifecycleListener.java284 Lock writeLock = org.apache.tomcat.jni.AprStatus.getStatusLock().writeLock();CODE
CRITICALjava/org/apache/catalina/core/AprLifecycleListener.java295 if (!org.apache.tomcat.jni.AprStatus.isAprAvailable()) {CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java313 org.apache.tomcat.jni.AprStatus.setAprInitialized(false);CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java314 org.apache.tomcat.jni.AprStatus.setAprAvailable(false);CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java323 if (org.apache.tomcat.jni.AprStatus.isAprInitialized()) {CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java326 org.apache.tomcat.jni.AprStatus.setAprInitialized(true);CODE
CRITICALjava/org/apache/catalina/core/AprLifecycleListener.java406 org.apache.tomcat.jni.AprStatus.setAprAvailable(true);CODE
CRITICALjava/org/apache/catalina/core/AprLifecycleListener.java436 org.apache.tomcat.jni.AprStatus.setOpenSSLVersion(SSL.version());CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java616 if (useOpenSSL != org.apache.tomcat.jni.AprStatus.getUseOpenSSL()) {CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java617 org.apache.tomcat.jni.AprStatus.setUseOpenSSL(useOpenSSL);CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java627 return org.apache.tomcat.jni.AprStatus.getUseOpenSSL();CODE
CRITICAL⚡java/org/apache/catalina/core/AprLifecycleListener.java636 return org.apache.tomcat.jni.AprStatus.isInstanceCreated();CODE
CRITICAL…org/apache/catalina/valves/AbstractAccessLogValve.java2090 if (org.apache.coyote.http11.Constants.CLOSE.equalsIgnoreCase(connStatus)) {CODE
CRITICAL…a/org/apache/catalina/valves/rewrite/RewriteValve.java589 org.apache.catalina.util.RequestUtil.stripPathParams(urlStringRewriteEncoded, request);CODE
CRITICALjava/org/apache/catalina/util/RateLimiterBase.java153 .getAttribute(org.apache.tomcat.util.threads.ScheduledThreadPoolExecutor.class.getName());CODE
CRITICALjava/org/apache/catalina/util/RequestUtil.java162 urlPath = org.apache.tomcat.util.http.RequestUtil.normalize(urlPath);CODE
CRITICAL…tribes/group/interceptors/DomainFilterInterceptor.java179 setDomain(org.apache.catalina.tribes.util.Arrays.fromString(domain));CODE
78 more matches not shown…
Over-Commented Block119 hits · 118 pts
SeverityFileLineSnippetContext
LOWbuild.xml3061# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWbuild.xml3081COMMENT
LOWbuild.xml3101# Java Name: ${java.vm.name}COMMENT
LOWbuild.xml3121# the License. You may obtain a copy of the License atCOMMENT
LOW…amples/WEB-INF/classes/websocket/drawboard/Client.java101 || messagesToSendLength >= 1000000) {COMMENT
LOWres/scripts/check-mime.pl1#!/usr/bin/perlCOMMENT
LOWres/scripts/check-mime.pl21# -----------------------------------------------------------------------------COMMENT
LOWres/scripts/check-mime.pl41# new web.xml. If you want to keep their Tomcat definition, add themCOMMENT
LOWres/openssl/addlicense.sh1#!/bin/shCOMMENT
LOWres/openssl/openssl.h21#include <openssl/pem.h>COMMENT
LOWres/graal/graal-measure.sh1#!/bin/bashCOMMENT
LOWres/graal/build-tomcat-native-image.sh1#!/bin/bashCOMMENT
LOWtest/org/apache/catalina/connector/test_content.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWtest/org/apache/catalina/startup/service-config.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…org/apache/tomcat/util/net/generate-longchain-certs.sh1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWtest/org/apache/coyote/http2/TestHttp2Section_5_1.java481 // Do this before sending the requests to ensure the connection windowCOMMENT
LOWtest/org/apache/coyote/http2/TestCancelledUpload.java61 }COMMENT
LOWtest/org/apache/coyote/http2/TestHttp2Limits.java281 break;COMMENT
LOWtest/org/apache/coyote/http2/TestHttp2Security.java81COMMENT
LOWtest/org/apache/coyote/http2/TestHttp2Security.java101 // This ordering matters: Stream.close() -> Stream.replace() swaps theCOMMENT
LOW…st/org/apache/jasper/compiler/TestAttributeParser.java121COMMENT
LOW…e/jasper/compiler/TesterNonstandardTagPerformance.java61 * @param _jspx_page_context page contextCOMMENT
LOWtest/webapp/bug5nnnn/bug57601.txt1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWtest/webresources/dir2/d1/.ignore-me.txt1# -----------------------------------------------------------------------------COMMENT
LOWtest/webresources/dir2/d2/.ignore-me.txt1# -----------------------------------------------------------------------------COMMENT
LOWtest/webresources/dir3/.ignore-me.txt1# -----------------------------------------------------------------------------COMMENT
LOWtest/conf/TesterRewriteMapB.txt1# -----------------------------------------------------------------------------COMMENT
LOWtest/conf/TesterRewriteMapC.txt1# -----------------------------------------------------------------------------COMMENT
LOWbin/catalina.sh1#!/bin/shCOMMENT
LOWbin/catalina.sh21# For supported commands call "catalina.sh help" or see the usage section atCOMMENT
LOWbin/catalina.sh41# process. If CATALINA_OUT_CMD is set, the value ofCOMMENT
LOWbin/catalina.sh61# JRE_HOME Must point at your Java Runtime installation.COMMENT
LOWbin/catalina.sh81#COMMENT
LOWbin/catalina.sh101#COMMENT
LOWbin/configtest.sh1#!/bin/shCOMMENT
LOWbin/makebase.sh1#!/bin/shCOMMENT
LOWbin/daemon.sh1#!/bin/shCOMMENT
LOWbin/migrate.sh1#!/bin/shCOMMENT
LOWbin/tool-wrapper.sh1#!/bin/shCOMMENT
LOWbin/tool-wrapper.sh21# Environment Variable PrerequisitesCOMMENT
LOWbin/setclasspath.sh1#!/bin/shCOMMENT
LOWbin/startup.sh1#!/bin/shCOMMENT
LOWbin/digest.sh1#!/bin/shCOMMENT
LOWbin/ciphers.sh1#!/bin/shCOMMENT
LOWbin/version.sh1#!/bin/shCOMMENT
LOWbin/shutdown.sh1#!/bin/shCOMMENT
LOWjava/org/apache/catalina/filters/CorsFilter.java381 // CORS requests (SIMPLE, ACTUAL, PRE_FLIGHT) set the following headersCOMMENT
LOW…/apache/catalina/tribes/transport/nio/NioReceiver.java561 socketTimeouts();COMMENT
LOWjava/org/apache/catalina/tribes/util/StringManager.java121 // bad: shouldn't mask an exception the following way:COMMENT
LOW…/org/apache/catalina/tribes/membership/MemberImpl.java221 long alive = System.currentTimeMillis() - getServiceStartTime();COMMENT
LOW…che/catalina/webresources/AbstractFileResourceSet.java161 if (!canPath.isEmpty() && canPath.charAt(0) != File.separatorChar) {COMMENT
LOWjava/org/apache/catalina/webresources/Cache.java141 } else {COMMENT
LOWjava/org/apache/catalina/connector/InputBuffer.java281 }COMMENT
LOWjava/org/apache/catalina/connector/CoyoteAdapter.java701COMMENT
LOW…a/org/apache/catalina/startup/WebappServiceLoader.java121COMMENT
LOWjava/org/apache/catalina/startup/HostConfig.java1241 // The migrated application is in place. The previous application, if one wasCOMMENT
LOWjava/org/apache/tomcat/websocket/Util.java481 // extension-list = 1#extensionCOMMENT
LOWjava/org/apache/tomcat/websocket/PerMessageDeflate.java621 // Output and start new compressed part.COMMENT
LOWjava/org/apache/tomcat/websocket/WsSession.java901 // There is a small timing window that means the Future may have beenCOMMENT
LOWjava/org/apache/tomcat/util/Diagnostics.java21// (http://docs.oracle.com/javase/7/docs/jre/api/management/extension/index.html)COMMENT
59 more matches not shown…
Decorative Section Separators38 hits · 112 pts
SeverityFileLineSnippetContext
MEDIUMbuild.xml3060 <echo file="build.properties.release"># ----------------------------------------------------------------------------CODE
MEDIUMbuild.xml3075# -----------------------------------------------------------------------------COMMENT
MEDIUMbuild.xml3115 <echo file="res/maven/mvn.properties.release"># --------------------------------------------------------------------CODE
MEDIUMbuild.xml3130# -----------------------------------------------------------------------------COMMENT
MEDIUMres/scripts/check-mime.pl18# -----------------------------------------------------------------------------COMMENT
MEDIUMres/scripts/check-mime.pl21# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/webresources/dir2/d1/.ignore-me.txt1# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/webresources/dir2/d1/.ignore-me.txt16# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/webresources/dir2/d2/.ignore-me.txt1# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/webresources/dir2/d2/.ignore-me.txt16# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/webresources/dir3/.ignore-me.txt1# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/webresources/dir3/.ignore-me.txt16# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/conf/TesterRewriteMapB.txt1# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/conf/TesterRewriteMapB.txt16# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/conf/TesterRewriteMapC.txt1# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/conf/TesterRewriteMapC.txt16# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/catalina.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/catalina.sh112# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/configtest.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/configtest.sh20# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/daemon.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/daemon.sh20# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/migrate.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/migrate.sh20# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/tool-wrapper.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/tool-wrapper.sh35# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/setclasspath.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/setclasspath.sh21# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/startup.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/startup.sh20# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/digest.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/digest.sh20# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/ciphers.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/ciphers.sh20# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/version.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/version.sh20# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/shutdown.sh18# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/shutdown.sh20# -----------------------------------------------------------------------------COMMENT
Self-Referential Comments7 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUM⚡webapps/docs/realm-howto.xml638# Define an entry to contain peopleCOMMENT
MEDIUM⚡webapps/docs/realm-howto.xml644# Define a user entry for Janet JonesCOMMENT
MEDIUM⚡webapps/docs/realm-howto.xml653# Define a user entry for Fred BloggsCOMMENT
MEDIUM⚡webapps/docs/realm-howto.xml662# Define an entry to contain LDAP groupsCOMMENT
MEDIUM⚡webapps/docs/realm-howto.xml668# Define an entry for the "tomcat" roleCOMMENT
MEDIUM⚡webapps/docs/realm-howto.xml675# Define an entry for the "role1" roleCOMMENT
MEDIUMbin/catalina.sh221 # Define the java.io.tmpdir to use for CatalinaCOMMENT
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGH…/apache/tomcat/security/TestSecurity2026WebSocket.java91 * Generated by Claude Code with Sonnet 5.COMMENT
HIGHtest/org/apache/coyote/http2/TestHttp2Security.java76 * Generated by Claude Code with Sonnet 5COMMENT
HIGHtest/org/apache/coyote/http2/TestHttp2Security.java243 * Generated by Claude Code with Sonnet 5COMMENT
Slop Phrases11 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMwebapps/docs/realm-howto.xml521the repository for user information as discussed above).CODE
MEDIUMwebapps/docs/realm-howto.xml757<p>However, as discussed above, the default bind mode forCODE
LOWwebapps/docs/jndi-datasource-examples-howto.xml213<p>Before you proceed, don't forget to copy the JDBC Driver's jar into <code>$CATALINA_HOME/lib</code>.</p>CODE
LOWwebapps/docs/jndi-datasource-examples-howto.xml337project &#x2014; just make sure you get a 1.1.x or later release. Once you haveCODE
LOWwebapps/docs/config/cluster.xml195 Enable this flag don't forget to disable the channel heartbeat thread.CODE
MEDIUMwebapps/docs/appdev/source.xml167<p>As mentioned earlier, it is highly recommended that you place all of theCODE
LOWwebapps/docs/appdev/processes.xml176Whenever you create a new file, don't forget to add it to the source codeCODE
MEDIUMjava/org/apache/catalina/filters/ExpiresFilter.java72 * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9" >RFC 2616 section 14.9</a>), you can useCOMMENT
LOWjava/org/apache/catalina/servlets/WebdavServlet.java154 * Don't forget to secure access appropriately to the editing URLs, especially if allowSpecialPaths is used. With theCOMMENT
MEDIUMmodules/jdbc-pool/doc/jdbc-pool.xml823 <p>Here is a simple example of how to create and use a data source.</p>CODE
LOWmodules/jdbc-pool/doc/jdbc-pool.xml990 When overriding these methods, don't forget to call super if you are extending a class other than <code>JdbcInterCODE
AI Slop Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMjava/org/apache/tomcat/util/net/IPv6Utils.java64 // Definitely not an IPv6, return untouched input.COMMENT
MEDIUMjava/org/apache/tomcat/buildutil/translate/Import.java49 // Not robust but good enoughCOMMENT
MEDIUMjava/org/apache/el/parser/AstLambdaParameters.java28 // Purely for debug purposes. May not be complete or correct. CertainlyCOMMENT
MEDIUMjava/org/apache/el/parser/AstMethodParameters.java45 // Purely for debug purposes. May not be complete or correct. CertainlyCOMMENT
MEDIUMjava/org/apache/el/parser/AstLambdaExpression.java136 // Purely for debug purposes. May not be complete or correct. CertainlyCOMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…/tomcat/integration/httpd/TestSSLValveWithProxy01.java0loadmodule proxy_module modules/mod_proxy.so loadmodule proxy_http_module modules/mod_proxy_http.so loadmodule headers_mSTRING
HIGH…che/tomcat/integration/httpd/TestFullReverseProxy.java0loadmodule proxy_module modules/mod_proxy.so loadmodule proxy_http_module modules/mod_proxy_http.so loadmodule headers_mSTRING
HIGH…/tomcat/integration/httpd/TestSSLValveWithProxy02.java0loadmodule proxy_module modules/mod_proxy.so loadmodule proxy_http_module modules/mod_proxy_http.so loadmodule headers_mSTRING
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWbin/daemon.sh92# Set JAVA_HOME to working JDK or JRECOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…va/org/apache/tomcat/util/http/fileupload/IOUtils.java63 // NOTE: This class is focused on InputStream, OutputStream, Reader andCOMMENT