AI Slop Code Risk Monitor

apereo/cas

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

Apereo CAS - Identity & Single Sign On for all earthlings and beyond.

1.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for apereo/cas, a Java project with 11,392 GitHub stars. SynthScan examined 868,556 lines of code across 11271 source files, recording 1118 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 1.8 (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.

1.8
Adjusted Signal
1.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
11.4K
Stars
Java
Language
868.6K
Lines of Code
11.3K
Files
1.1K
Pattern Hits
2026-10-31
Scan Date
0.00
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 3.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.5/100 · LOW

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

Agent Over-Engineering Ratio 2.4/100 · LOW

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

PR Review Velocity Impact 8.2/100 · LOW

Which changes need focused human review? 1118 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 38HIGH 0MEDIUM 10LOW 1070

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 1118 distinct pattern matches across 11 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.

Fake / Example Data499 hits · 518 pts
SeverityFileLineSnippetContext
LOW⚡…s/notifications/DefaultCommunicationsManagerTests.java49 props.setFrom("cas@example.org");CODE
LOW⚡…s/notifications/DefaultCommunicationsManagerTests.java50 props.setCc(List.of("cc@example.org"));CODE
LOW⚡…s/notifications/DefaultCommunicationsManagerTests.java51 props.setBcc(List.of("bcc@example.org"));CODE
LOW⚡…s/notifications/DefaultCommunicationsManagerTests.java52 props.setReplyTo("bcc1@example.org");CODE
LOW⚡…s/notifications/DefaultCommunicationsManagerTests.java59 when(p.getAttributes()).thenReturn(CollectionUtils.wrap("email", List.of("cas@example.org")));CODE
LOW…s/notifications/DefaultCommunicationsManagerTests.java70 props.setFrom("cas@example.org");CODE
LOW…s/notifications/DefaultCommunicationsManagerTests.java74 .to(List.of("sample@example.org")).body(body).build();CODE
LOW…s/notifications/DefaultCommunicationsManagerTests.java88 props.setFrom("cas@example.org");CODE
LOW…s/notifications/DefaultCommunicationsManagerTests.java93 .to(List.of("sample@example.org")).body(body).build();CODE
LOW…eo/cas/notifications/mail/DefaultEmailSenderTests.java87 .emailProperties(new EmailProperties().setSubject("Hello ${name}").setFrom("cas@example.org"))CODE
LOW…eo/cas/notifications/mail/DefaultEmailSenderTests.java90 .to(List.of("casuser@example.org"))CODE
LOW…eo/cas/authentication/CoreAuthenticationTestUtils.java105 attributes.put("mail", CollectionUtils.wrap(CONST_USERNAME + "@example.org"));CODE
LOW…ntication/DefaultAuthenticationResultBuilderTests.java94 CollectionUtils.wrap("email", "cas@example.org",CODE
LOW…src/test/java/org/apereo/cas/util/RegexUtilsTests.java55 assertTrue(RegexUtils.createPattern(pattern).matcher("something@example.org").find());CODE
LOW…as/util/gen/ChainingPrincipalNameTransformerTests.java24 t.addTransformer(new RegexPrincipalNameTransformer("(.+)@example.org"));CODE
LOW…as/util/gen/ChainingPrincipalNameTransformerTests.java27 val uid = t.transform("casuser@example.org");CODE
LOW…java/org/apereo/cas/ticket/TicketSerializersTests.java45 val principal = RegisteredServiceTestUtils.getPrincipal("casuser", CollectionUtils.wrap("email", List.of("casuseCODE
LOW…n/support/DefaultCasProtocolAttributeEncoderTests.java94 attributes.put("_MAIL_", "casuser@example.org");CODE
LOW…/services/ReturnMappedAttributeReleasePolicyTests.java185 principalAttributes.put("email", List.of("user@example.org"));CODE
LOW…/services/ReturnMappedAttributeReleasePolicyTests.java195 assertEquals(List.of("user@example.org"), result.get(mappedAttribute));CODE
LOW…r/BaseSimpleMultifactorAuthenticationTriggerTests.java66 when(principal.getAttributes()).thenReturn(Map.of("email", List.of("casuser@example.org")));CODE
LOW…teredServiceMultifactorAuthenticationTriggerTests.java48 when(policy.getPrincipalAttributeValueToMatch()).thenReturn("@example.org");CODE
LOW…redServiceAttributeReleaseActivationCriteriaTests.java96 criteria.setRequiredAttributes(Map.of("memberOf", List.of("ad.+|sys.+"), "mail", List.of(".+@example.org")));CODE
LOW…rg/apereo/cas/services/RegisteredServiceTestUtils.java451 "mail", "groovy { return attributes['sAMAccountName'][0] + '@example.org'}")));CODE
LOW…enPolicyAgentRegisteredServiceAccessStrategyTests.java59 principalAttributes.put("email", List.of("user@example.org"));CODE
LOW…ces/DefaultRegisteredServiceUsernameProviderTests.java76 val principal = RegisteredServiceTestUtils.getPrincipal("casuser@example.org");CODE
LOW…cas/services/RegisteredServicesEventListenerTests.java64 "cas.service-registry.mail.from=admin@example.org",CODE
LOW…cas/services/RegisteredServicesEventListenerTests.java105 contact.setEmail("casuser@example.org");CODE
LOW…cas/services/RegisteredServicesEventListenerTests.java117 contact.setEmail("casuser@example.org");CODE
LOW…alAttributeRegisteredServiceUsernameProviderTests.java57 principalAttributes.put("email", List.of("user@example.org"));CODE
LOW…alAttributeRegisteredServiceUsernameProviderTests.java67 assertEquals("user@example.org", id);CODE
LOW…/apereo/cas/services/AbstractServiceRegistryTests.java628 contact.setEmail("cas@example.org");CODE
LOW…til/transforms/RegexPrincipalNameTransformerTests.java22 val result = chain.transform("cas@example.org");CODE
LOW…il/transforms/GroovyPrincipalNameTransformerTests.java23 val result = chain.transform("cas@example.org");CODE
LOW…narios/interrupt-afterauthn-login-saml-idp/script.json20 "--cas.authn.attribute-repository.stub.attributes.mail=casuser@example.org",CODE
LOW…r/scenarios/service-registry-import-export/script.json11 "--cas.authn.attribute-repository.stub.attributes.mail=casuser@example.org",CODE
LOW…teer/scenarios/forgot-password-stateless/accounts.json3 "email" : "casuser@example.org",CODE
LOW…-login-saml2-sp-oidc-idp-selection-discovery/script.js44 await cas.type(page, "#username", "casuser@example.org");CODE
LOW…enarios/pm-must-change-password-generic/passwords.json3 "email" : "mustchangepswd@example.org",CODE
LOW…/scenarios/oidc-client-registration-expiring/script.js10 "contacts": ["cas@example.org"],CODE
LOW…/scenarios/oidc-client-registration-expiring/script.js36 "contacts": ["cas@example.org", "new@example.org"],CODE
LOW…s/puppeteer/scenarios/surrogate-auto-login/script.json13 "--cas.authn.attribute-repository.stub.attributes.mail=casuser@example.org",CODE
LOW…teer/scenarios/oidc-clientcredentials-x509/script.json16 "--cas.authn.attribute-repository.stub.attributes.mail=casuser@example.org",CODE
LOW…s/puppeteer/scenarios/passwordless-login/accounts.json6 "email": "cas@example.org",CODE
LOW…uppeteer/scenarios/simple-mfa-login-locale/script.json22 "--cas.authn.attribute-repository.stub.attributes.mail=casuser@example.org",CODE
LOW…s/puppeteer/scenarios/surrogate-login-jdbc/script.json16 "--cas.authn.attribute-repository.stub.attributes.mail=casuser@example.org",CODE
LOW…puppeteer/scenarios/rest-protocol-services/script.json10 "--cas.rest.services.attribute-value=.*@example.org",CODE
LOW…puppeteer/scenarios/rest-protocol-services/script.json11 "--cas.authn.attribute-repository.stub.attributes.mail=casuser@example.org"CODE
LOW…/tests/puppeteer/scenarios/wsfed-idp-login/script.json6 "--cas.authn.attribute-repository.stub.attributes.email=casuser@example.org",CODE
LOWci/tests/puppeteer/scenarios/wsfed-idp-login/script.js21 await cas.assertInnerText(page, "#claim0", "http://schemas.xmlsoap.org/claims/EmailAddress:casuser@example.org")CODE
LOWci/tests/puppeteer/scenarios/wsfed-idp-login/script.js23 await cas.assertInnerText(page, "#claim2", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress:CCODE
LOWci/tests/puppeteer/scenarios/wsfed-idp-login/script.js38 await cas.assertInnerText(page, "#claim0", "http://schemas.xmlsoap.org/claims/EmailAddress:casuser@example.org")CODE
LOWci/tests/puppeteer/scenarios/wsfed-idp-login/script.js40 await cas.assertInnerText(page, "#claim2", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress:CCODE
LOW…eteer/scenarios/wsfed-idp-login/services/Sample-1.json12 "EMAIL_ADDRESS_2005" : "groovy { return attributes['cn'].get(0) + '@example.org' }"CODE
LOW…ppeteer/scenarios/oidc-authzcode-claim-sub/script.json13 "--cas.authn.attribute-repository.stub.attributes.mail=cas@example.org",CODE
LOW…ppeteer/scenarios/oidc-discovery-webfinger/script.json13 "--cas.authn.attribute-repository.stub.attributes.email=cas@example.org",CODE
LOW…puppeteer/scenarios/oidc-discovery-webfinger/script.js18 const resource2 = "okta:acct:joe.stormtrooper@example.org";CODE
LOW⚡…narios/passwordless-login-user-selection/accounts.json23 "email": "casuser@example.org"CODE
LOW⚡…narios/passwordless-login-user-selection/accounts.json30 "email": "casuser@example.org",CODE
LOW⚡…narios/passwordless-login-user-selection/accounts.json35 "email": [ "java.util.ArrayList", [ "casuser@example.org" ] ]CODE
439 more matches not shown…
Hallucination Indicators38 hits · 458 pts
SeverityFileLineSnippetContext
CRITICAL…s/web/support/gen/CookieRetrievingCookieGenerator.java111 var cookie = org.springframework.web.util.WebUtils.getCookie(request, Objects.requireNonNull(getCookieName()CODE
CRITICAL…cenarios/sso-access-per-service/services/Sample-2.json15 "randomNumber" : "groovy { return org.apereo.cas.util.RandomUtils.generateSecureRandomId() }"CODE
CRITICAL…cenarios/sso-access-per-service/services/Sample-1.json15 "randomNumber" : "groovy { return org.apereo.cas.util.RandomUtils.generateSecureRandomId() }"CODE
CRITICAL⚡…er-documentation/installation/Troubleshooting-Guide.md167 at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)CODE
CRITICAL⚡…er-documentation/installation/Troubleshooting-Guide.md168 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)CODE
CRITICAL⚡…er-documentation/installation/Troubleshooting-Guide.md169 at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)CODE
CRITICAL⚡…er-documentation/installation/Troubleshooting-Guide.md170 at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)CODE
CRITICAL⚡…er-documentation/installation/Troubleshooting-Guide.md171 at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)CODE
CRITICAL…er-documentation/installation/Troubleshooting-Guide.md202 org.apereo.cas.client.validation.Saml11TicketValidator.retrieveResponseFromServer(Saml11TicketValidator.java:203)CODE
CRITICAL…er-documentation/installation/Troubleshooting-Guide.md203 org.apereo.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:185)CODE
CRITICAL…-documentation/authentication/SPNEGO-Authentication.md234 at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Unknown Source)CODE
CRITICAL…org/apereo/cas/config/CasJpaUtilAutoConfiguration.java52 com.mysql.cj.jdbc.Driver.class.getName(),CODE
CRITICAL…org/apereo/cas/config/CasJpaUtilAutoConfiguration.java55 org.mariadb.jdbc.Driver.class.getName()CODE
CRITICAL…ereo/cas/heimdall/HeimdallAuthorizationController.java89 requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…ereo/cas/heimdall/HeimdallAuthorizationController.java136 requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…ereo/cas/heimdall/HeimdallAuthorizationController.java182 requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…apereo/cas/heimdall/HeimdallAuthorizationEndpoint.java113 requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…/org/apereo/cas/config/CasJaversAutoConfiguration.java99 @Pointcut("execution(* org.apereo.cas.services.ServicesManager.save(..))")CODE
CRITICAL…meleaf/src/main/resources/static/js/palantir-system.js94 const originalLabels = Chart.defaults.plugins.legend.labels.generateLabels(chart);CODE
CRITICAL⚡…hymeleaf/src/main/resources/static/js/inwebo/client.js3 o=(h[2]||"").split(".").sort(),n){for(l=oa.event.special[n]||{},m=i[n=(d?l.delegateType:l.bindType)||n]||[],h=h[CODE
CRITICAL⚡…hymeleaf/src/main/resources/static/js/inwebo/client.js4 if(v="abort",r.add(n.complete),w.done(n.success),w.fail(n.error),d=Y(Kb,n,b,w)){if(w.readyState=1,k&&p.trigger("CODE
CRITICAL⚡…hymeleaf/src/main/resources/static/js/inwebo/client.js5 this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),a.ui.ddmanager&&a.ui.dCODE
CRITICAL⚡…c/main/resources/templates/consent/casConsentView.html176 #{screen.consent.options.desc.attributevalue.first(${service.id})} +COMMENT
CRITICAL⚡…c/main/resources/templates/consent/casConsentView.html178 #{screen.consent.options.desc.attributevalue.second(${service.id})} +COMMENT
CRITICAL⚡…c/main/resources/templates/consent/casConsentView.html180 #{screen.consent.options.desc.attributevalue.third(${service.id})} +COMMENT
CRITICAL…apereo/cas/support/rest/RegisteredServiceResource.java72 requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…/cas/config/CasJpaTicketRegistryAutoConfiguration.java234 val repo = new org.springframework.integration.jdbc.lock.DefaultLockRepository(dataSourceTicket);CODE
CRITICAL…g/OidcDynamicClientRegistrationEndpointController.java60 requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…dynareg/OidcClientConfigurationEndpointController.java98 requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…llers/jwks/OidcJwksRegistrationEndpointController.java70 requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…IdPDelegatedClientAuthenticationRequestCustomizer.java137 if (org.apache.commons.lang3.StringUtils.isBlank(identityProviderEntityId)) {CODE
CRITICAL…dp/metadata/SamlRegisteredServiceMetadataEndpoint.java216 requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(required = true,CODE
CRITICAL…va/org/apereo/cas/webauthn/web/WebAuthnController.java123 requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…shell/commands/util/ValidateLdapConnectionCommand.java132 if (org.apache.commons.lang3.StringUtils.isNotBlank(userPassword)) {CODE
CRITICAL…thn/web/flow/WebAuthnMultifactorWebflowConfigurer.java99 val appId = org.apache.commons.lang3.StringUtils.defaultIfBlank(webAuthn.getCore().getApplicationId(), casPrCODE
CRITICAL…dpoints/OAuth20AccessTokenEndpointControllerTests.java773 assertEquals(org.springframework.http.HttpStatus.FOUND.value(), devResponse.getStatus());CODE
CRITICAL…/cas/adaptors/duo/web/DuoSecurityAdminApiEndpoint.java129 @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…eo/cas/config/CasSpringBootAdminAutoConfiguration.java85 val nettyHttpClient = reactor.netty.http.client.HttpClient.create()CODE
Hyper-Verbose Identifiers431 hits · 418 pts
SeverityFileLineSnippetContext
LOW…s/throttle/DefaultThrottledRequestResponseHandler.java22public class DefaultThrottledRequestResponseHandler implements ThrottledRequestResponseHandler {CODE
LOWci/tests/puppeteer/run.sh68function downloadAndRunExternalTomcat() {CODE
LOWci/tests/puppeteer/run.sh853function casServerArtifactForInstance() {CODE
LOWci/tests/puppeteer/run.sh868function nativeFeatureModulesForInstance() {CODE
LOWci/tests/puppeteer/run.sh874function dockerImageNameForInstance() {CODE
LOW…scenarios/redis-ticket-registry-idle-timeout/script.js9async function verifyTicketGrantingTicketCount(count = 0) {CODE
LOW…/scenarios/passwordless-login-user-selection/script.js29async function authenticateWithDelegation(browser) {CODE
LOW…/scenarios/passwordless-login-user-selection/script.js53async function authenticateWithPasswordlessToken(browser) {CODE
LOW…tests/puppeteer/scenarios/pm-account-profile/script.js15async function importMultifactorTrustedRecord() {CODE
LOW…tests/puppeteer/scenarios/pm-account-profile/script.js50async function removeMultifactorTrustedRecord(record) {CODE
LOW…tests/puppeteer/scenarios/pm-account-profile/script.js54async function verifyAccountManagementFlow(browser) {CODE
LOW…tests/puppeteer/scenarios/pm-account-profile/script.js140async function verifyPasswordManagementFlow(browser) {CODE
LOWci/tests/puppeteer/scenarios/heimdall-authzen/script.js203async function verifyCallerAuthentication() {CODE
LOW…ppeteer/scenarios/pm-mfa-device-registration/script.js6async function registerGoogleAuthenticatorAccount() {CODE
LOW…ppeteer/scenarios/pm-mfa-device-registration/script.js17async function deleteGoogleAuthenticatorAccounts() {CODE
LOW…ppeteer/scenarios/pm-mfa-device-registration/script.js21async function passwordResetFlowMfaWithoutRegisteredDevice(browser) {CODE
LOW…teer/scenarios/surrogate-login-selection-duo/script.js7async function verifyImpersonationWithMfa(page) {CODE
LOW…teer/scenarios/surrogate-login-selection-duo/script.js45async function verifyNoImpersonationWithMfa(page) {CODE
LOW…sts/puppeteer/scenarios/oidc-authzcode-login/script.js4async function verifyAccessTokenIsLimited(context) {CODE
LOW…sts/puppeteer/scenarios/oidc-authzcode-login/script.js43async function verifyAccessTokenIsNeverReceived(context) {CODE
LOW…sts/puppeteer/scenarios/oidc-authzcode-login/script.js75async function verifyAccessTokenAndProfile(context) {CODE
LOW…sts/puppeteer/scenarios/oidc-authzcode-login/script.js183async function verifyMissingTicketGrantingCookie(context) {CODE
LOW…scenarios/oidc-verifiable-credentials-waltid/script.js62async function createVerifiableCredentialTransaction(credentialConfigurationIds) {CODE
LOW…scenarios/oidc-verifiable-credentials-waltid/script.js84async function startVerifiableCredentialFlowForConfiguration(wallet, ...configurationIds) {CODE
LOW…scenarios/oidc-verifiable-credentials-waltid/script.js122async function startVerifiableCredentialPresentationFlow(wallet, responseMode) {CODE
LOW…rios/cassandra-authn-ticket-service-registry/script.js14async function storedTicketGrantingTickets() {CODE
LOW…ts/puppeteer/scenarios/delegated-login-saml2/script.js8async function verifyNormalAuthenticationFlow(browser) {CODE
LOW…/tests/puppeteer/scenarios/oidc-login-jwt-at/script.js62async function verifyAccessTokenWithProfile(accessToken) {CODE
LOW…eteer/scenarios/passwordless-delegated-login/script.js61async function verifyPasswordlessAccountEndpoint() {CODE
LOW…r/scenarios/shibboleth-idp-service-selection/script.js4function getShibbolethUrlForEntityId(entityId) {CODE
LOW…uppeteer/scenarios/surrogate-login-selection/script.js21async function verifyImpersonationByPrincipalAttributes(browser) {CODE
LOW…uppeteer/scenarios/surrogate-login-selection/script.js40async function verifyImpersonationByPrincipalAttributesDisabled(browser) {CODE
LOW…eer/scenarios/stateless-ticket-registry-load/script.js174async function exchangeAuthorizationCode(code) {CODE
LOW…eer/scenarios/stateless-ticket-registry-load/script.js228async function assertTicketGrantingCookieSize(page) {CODE
LOW…eer/scenarios/stateless-ticket-registry-load/script.js243async function verifyInterruptNotification(context) {CODE
LOW…eer/scenarios/stateless-ticket-registry-load/script.js276async function verifyBlockedInterruptNotification(context) {CODE
LOW…eer/scenarios/stateless-ticket-registry-load/script.js301async function verifySamlIdentityProviderWithOidc(context, username) {CODE
LOW…eer/scenarios/stateless-ticket-registry-load/script.js327async function verifyDelegatedSamlIdentityProvider(context) {CODE
LOW…eer/scenarios/stateless-ticket-registry-load/script.js403async function verifyUnhappyPathsOverHttp(jar, serviceTicket, oidc) {CODE
LOW…eer/scenarios/stateless-ticket-registry-load/script.js529async function verifyExpiredServiceTickets() {CODE
LOW…eer/scenarios/stateless-ticket-registry-load/script.js561async function verifyPushedAuthorizationRequest(context) {CODE
LOW…eer/scenarios/stateless-ticket-registry-load/script.js587async function verifySimpleMultifactorAuthentication(context, browser) {CODE
LOW…narios/mfa-duo-universal-login-storage-fails/script.js4async function makeBrowserStorageUnavailable(page) {CODE
LOW…narios/mfa-duo-universal-login-storage-fails/script.js43async function makeScriptCookiesUnavailable(page) {CODE
LOW…ests/puppeteer/scenarios/oidc-token-exchange/script.js97async function verifyTokenExchangeNativeSso() {CODE
LOW…eer/scenarios/mfa-webauthn-register-qr-login/script.js7async function verifyFlowUsingQRCodeButtonSameWindow() {CODE
LOW…uppeteer/scenarios/account-mgmt-registration/script.js4async function verifyAccountRegistrationWithOidcService() {CODE
LOW…uppeteer/scenarios/account-mgmt-registration/script.js30async function submitAccountRegistrationRequest(page, browser, checkAccessibility = false) {CODE
LOW…uppeteer/scenarios/account-mgmt-registration/script.js84async function verifyAccountRegistrationWithCasService() {CODE
LOW…enarios/pm-account-profile-mfa-trusteddevice/script.js7async function passwordResetFlowWithoutTrustedDevice(browser) {CODE
LOW…enarios/pm-account-profile-mfa-trusteddevice/script.js58async function passwordResetFlowWithTrustedDevice(browser) {CODE
LOW…enarios/pm-account-profile-mfa-trusteddevice/script.js97async function passwordResetFlowWithAccountProfileWithoutTrustedDevice(browser) {CODE
LOW…enarios/pm-account-profile-mfa-trusteddevice/script.js129async function passwordResetFlowWithAccountProfileWithTrustedDeviceIgnored(browser) {CODE
LOW…scenarios/redis-ticket-registry-loadbalanced/script.js4async function ensureNoSsoSessionsExistAfterLogout(page, port) {CODE
LOW…scenarios/redis-ticket-registry-loadbalanced/script.js37async function checkTicketValidationAcrossNodes(browser) {CODE
LOW…scenarios/redis-ticket-registry-loadbalanced/script.js155async function checkSsoSessionsWithActuator(browser) {CODE
LOW…ticket-validation-casv3-pgt-service-validate/script.js29async function assertProxyTicketRejected(body, endpoint) {CODE
LOW…/scenarios/passwordless-delegation-with-ldap/script.js5async function verifyDelegatedAuthenticationFlow(page) {CODE
LOW…/scenarios/passwordless-delegation-with-ldap/script.js21async function verifyPasswordRequestFlow(page) {CODE
LOW…puppeteer/scenarios/surrogate-oidc-authzcode/script.js4async function verifyImpersonationAutoSelected(browser) {CODE
371 more matches not shown…
Over-Commented Block124 hits · 80 pts
SeverityFileLineSnippetContext
LOWci/tests/puppeteer/prefetch-docker-images.sh1#!/bin/bashCOMMENT
LOW…eteer/scenarios/oidc-login-strapi/strapi/entrypoint.sh1#!/bin/bashCOMMENT
LOWci/tests/elastic/apm-server.yml1######################### APM Server Configuration #########################COMMENT
LOWci/tests/elastic/apm-server.yml21COMMENT
LOWci/tests/elastic/apm-server.yml41 #rate_limit:COMMENT
LOWci/tests/elastic/apm-server.yml61COMMENT
LOWci/tests/elastic/apm-server.yml81 # request from the agent.COMMENT
LOWci/tests/elastic/apm-server.yml101 # Path to file containing the certificate for server authentication.COMMENT
LOWci/tests/elastic/apm-server.yml121COMMENT
LOWci/tests/elastic/apm-server.yml141COMMENT
LOWci/tests/elastic/apm-server.yml161 #source_mapping:COMMENT
LOWci/tests/elastic/apm-server.yml181 #elasticsearch:COMMENT
LOWci/tests/elastic/apm-server.yml201 # When using APM agent configuration, information fetched from Elasticsearch or Kibana will be cached in memory for COMMENT
LOWci/tests/elastic/apm-server.yml221 # Scheme and port can be left out and will be set to the default (`http` and `5601`).COMMENT
LOWci/tests/elastic/apm-server.yml241 #COMMENT
LOWci/tests/elastic/apm-server.yml261 #ssl.supported_protocols: [TLSv1.0, TLSv1.1, TLSv1.2]COMMENT
LOWci/tests/elastic/apm-server.yml281COMMENT
LOWci/tests/elastic/apm-server.yml301COMMENT
LOWci/tests/elastic/apm-server.yml321 #username: "elastic"COMMENT
LOWci/tests/elastic/apm-server.yml341 # tries to reconnect. If the attempt fails, the backoff timer is increasedCOMMENT
LOWci/tests/elastic/apm-server.yml361 # Enable custom SSL settings. Set to false to ignore custom SSL settings for secure communication.COMMENT
LOWci/tests/elastic/apm-server.yml381 #ssl.verification_mode: fullCOMMENT
LOWci/tests/elastic/apm-server.yml401 #ssl.cipher_suites: []COMMENT
LOWci/tests/elastic/apm-server.yml421 # Configure escaping HTML symbols in strings.COMMENT
LOWci/tests/elastic/apm-server.yml441 # Optional maximum time to live for a connection to Logstash, after which theCOMMENT
LOWci/tests/elastic/apm-server.yml461 # after a network error. After waiting backoff.init seconds, apm-serverCOMMENT
LOWci/tests/elastic/apm-server.yml481 # Enable SSL support. SSL is automatically enabled if any SSL setting is set.COMMENT
LOWci/tests/elastic/apm-server.yml501 #ssl.verification_mode: fullCOMMENT
LOWci/tests/elastic/apm-server.yml521 #ssl.cipher_suites: []COMMENT
LOWci/tests/elastic/apm-server.yml541 # using any event field. To set the topic from document type use `%{[type]}`.COMMENT
LOWci/tests/elastic/apm-server.yml561 # Authentication details. Password is required if username is set.COMMENT
LOWci/tests/elastic/apm-server.yml581 #retry.max: 3COMMENT
LOWci/tests/elastic/apm-server.yml601COMMENT
LOWci/tests/elastic/apm-server.yml621 # Set the compression level. Currently only gzip provides a compression levelCOMMENT
LOWci/tests/elastic/apm-server.yml641 #ssl.enabled: falseCOMMENT
LOWci/tests/elastic/apm-server.yml661COMMENT
LOWci/tests/elastic/apm-server.yml681COMMENT
LOWci/tests/elastic/apm-server.yml701 # Name of the Kerberos user. It is used when auth_type is set to password.COMMENT
LOWci/tests/elastic/apm-server.yml721 # Hosts to report instrumentation results to.COMMENT
LOWci/tests/elastic/apm-server.yml741COMMENT
LOWci/tests/elastic/apm-server.yml761 # Windows systems default to file output. All other systems default to syslog.COMMENT
LOWci/tests/elastic/apm-server.yml781 # The period after which to log the internal metrics. The default is 30s.COMMENT
LOWci/tests/elastic/apm-server.yml801COMMENT
LOWci/tests/elastic/apm-server.yml821 #http.enabled: falseCOMMENT
LOWci/tests/elastic/apm-server.yml841 # output configuration. This means that if you have the Elasticsearch output configured,COMMENT
LOWci/tests/elastic/apm-server.yml861COMMENT
LOWci/tests/elastic/apm-server.yml881 # The maximum number of seconds to wait before attempting to connect toCOMMENT
LOWci/tests/elastic/apm-server.yml901 # * certificate, which verifies that the provided certificate is signed by aCOMMENT
LOWci/tests/elastic/apm-server.yml921 #ssl.key: "/etc/pki/client/cert.key"COMMENT
LOWci/tests/ldap/run-ad-server.sh1#!/bin/bashCOMMENT
LOWci/tests/cassandra/cassandra.yaml1COMMENT
LOWci/tests/cassandra/cassandra.yaml21# Specifying initial_token will override this setting on the node's initial start,COMMENT
LOWci/tests/cassandra/cassandra.yaml41COMMENT
LOWci/tests/cassandra/cassandra.yaml61# this defines the maximum amount of time a dead host will have hintsCOMMENT
LOWci/tests/cassandra/cassandra.yaml81COMMENT
LOWci/tests/cassandra/cassandra.yaml101# Authentication backend, implementing IAuthenticator; used to identify usersCOMMENT
LOWci/tests/cassandra/cassandra.yaml121# Part of the Authentication & Authorization backend, implementing IRoleManager; usedCOMMENT
LOWci/tests/cassandra/cassandra.yaml141COMMENT
LOWci/tests/cassandra/cassandra.yaml161# Will be disabled automatically for AllowAllAuthorizer.COMMENT
LOWci/tests/cassandra/cassandra.yaml181credentials_validity_in_ms: 2000COMMENT
64 more matches not shown…
Self-Referential Comments7 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUMci/tests/elastic/apm-server.yml19 # Define a shared secret token for authorizing agents using the "Bearer" authorization method.COMMENT
MEDIUMci/tests/ldap/run-ldap-server.sh34# Create an empty OpenLdap server for the company Example Inc. and the domain example.org.COMMENT
MEDIUMci/tests/cassandra/generate-keys.sh52# Create the cluster key for cluster communication.COMMENT
MEDIUMci/tests/cassandra/generate-keys.sh57# Create the public key for the cluster which is used to identify nodes.COMMENT
MEDIUM⚡ci/tests/cassandra/generate-keys.sh70# Create the client key for CQL.COMMENT
MEDIUM⚡ci/tests/cassandra/generate-keys.sh75# Create the public key for the client to identify itself.COMMENT
MEDIUM⚡ci/tests/cassandra/generate-keys.sh84# Create a pks12 keystore fileCOMMENT
Verbosity Indicators6 hits · 12 pts
SeverityFileLineSnippetContext
LOW⚡ci/tests/cassandra/cassandra.yaml1109# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡ci/tests/cassandra/cassandra.yaml1111# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOW⚡ci/tests/cassandra/cassandra.yaml1156# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡ci/tests/cassandra/cassandra.yaml1158# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWgradle/libs.versions.toml280# This section handles Gradle build classpath dependency versionsCOMMENT
LOWgradle/libs.versions.toml821# This section handles Gradle build classpath dependenciesCOMMENT
Structural Annotation Overuse4 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡ci/tests/cassandra/cassandra.yaml1109# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡ci/tests/cassandra/cassandra.yaml1111# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOW⚡ci/tests/cassandra/cassandra.yaml1156# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOW⚡ci/tests/cassandra/cassandra.yaml1158# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMci/tests/cassandra/cassandra.yaml46# initial_token allows you to specify tokens manually. While you can use it withCOMMENT
MEDIUMci/tests/cassandra/cassandra.yaml715# you may want to adjust max_value_size_in_mb accordingly. This should be positive and less than 2048.COMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWetc/loadtests/locust/cas/samlLocust.py3CODE
LOWetc/loadtests/locust/cas/allLocust.py1CODE
LOWetc/loadtests/locust/cas/casLocust.py3CODE
LOWetc/loadtests/locust/cas/casLocust.py10CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWci/tests/elastic/apm-server.yml594 # Set max_retries to a value less than 0 to retryCOMMENT
LOWci/tests/cassandra/generate-keys.sh23# Check if cluster-name and password are provided as params....COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMci/tests/cassandra/cassandra.yaml1318# each write which may be lower in order to facilitate availability.COMMENT