Repository Analysis

supertokens/supertokens-core

Open source alternative to Auth0 / Firebase Auth / AWS Cognito

3.3 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of supertokens/supertokens-core, a Java project with 15,252 GitHub stars. SynthScan v2.0 examined 230,982 lines of code across 861 source files, recording 245 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 3.3 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

3.3
Adjusted Score
3.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
15.3K
Stars
Java
Language
231.0K
Lines of Code
861
Files
245
Pattern Hits
2026-07-14
Scan Date
0.06
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 51HIGH 0MEDIUM 21LOW 173

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 245 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators51 hits · 510 pts
SeverityFileLineSnippetContext
CRITICALsrc/test/java/io/supertokens/test/AuthRecipeTest.java738 List<JsonObject> webauthnUsers = io.supertokens.test.webauthn.Utils.registerUsers(main, 1);CODE
CRITICAL…kens/test/accountlinking/GetUserByAccountInfoTest.java107 JsonObject responseUser = io.supertokens.test.webauthn.Utils.registerUserWithCredentials(main, email).getAsJsonOCODE
CRITICAL…kens/test/webauthn/WebauthNAccountLinkingFlowTest.java217 JsonObject signInResponse = io.supertokens.test.webauthn.Utils.signInWithUser(process.getProcess(), users.get(0)CODE
CRITICAL…kens/test/webauthn/WebauthNAccountLinkingFlowTest.java338 JsonObject signInResponse = io.supertokens.test.webauthn.Utils.signInWithUser(process.getProcess(), users.get(0)CODE
CRITICAL…ava/io/supertokens/test/webauthn/WebAuthNFlowTest.java72 List<JsonObject> users = io.supertokens.test.webauthn.Utils.registerUsers(process.getProcess(), numberOfUsers);CODE
CRITICAL…ava/io/supertokens/test/webauthn/WebAuthNFlowTest.java92 JsonObject signInResponse = io.supertokens.test.webauthn.Utils.signInWithUser(process.getProcess(), users.get(0)CODE
CRITICAL…ava/io/supertokens/test/webauthn/WebAuthNFlowTest.java125 List<JsonObject> users = io.supertokens.test.webauthn.Utils.registerUsers(process.getProcess(), numberOfUsers);CODE
CRITICAL…ava/io/supertokens/test/webauthn/WebAuthNFlowTest.java146 JsonObject signInResponse = io.supertokens.test.webauthn.Utils.signInWithUser(process.getProcess(),CODE
CRITICAL…kens/test/webauthn/api/TestUpdateUserEmailAPI_5_3.java156 Map<String, PublicKeyCredentialCreationOptions> options = io.supertokens.test.webauthn.Utils.createPublicKeyCreaCODE
CRITICAL…kens/test/webauthn/api/TestUpdateUserEmailAPI_5_3.java158 PublicKeyCredential<AuthenticatorAttestationResponse, RegistrationExtensionClientOutput> credential = io.supertoCODE
CRITICAL…authn/api/TestSignUpWithCredentialRegisterAPI_5_3.java239 Map<String, PublicKeyCredentialCreationOptions> options = io.supertokens.test.webauthn.Utils.createPublicKeyCreaCODE
CRITICAL…authn/api/TestSignUpWithCredentialRegisterAPI_5_3.java241 PublicKeyCredential<AuthenticatorAttestationResponse, RegistrationExtensionClientOutput> credential = io.supertoCODE
CRITICAL…kens/test/webauthn/api/TestListCredentialsAPI_5_3.java193 Map<String, PublicKeyCredentialCreationOptions> options = io.supertokens.test.webauthn.Utils.createPublicKeyCreaCODE
CRITICAL…kens/test/webauthn/api/TestListCredentialsAPI_5_3.java195 PublicKeyCredential<AuthenticatorAttestationResponse, RegistrationExtensionClientOutput> credential = io.supertoCODE
CRITICAL…tokens/test/webauthn/api/TestGetCredentialAPI_5_3.java232 Map<String, PublicKeyCredentialCreationOptions> options = io.supertokens.test.webauthn.Utils.createPublicKeyCreaCODE
CRITICAL…tokens/test/webauthn/api/TestGetCredentialAPI_5_3.java234 PublicKeyCredential<AuthenticatorAttestationResponse, RegistrationExtensionClientOutput> credential = io.supertoCODE
CRITICAL…o/supertokens/test/webauthn/api/TestSignInAPI_5_3.java307 Map<String, PublicKeyCredentialCreationOptions> options = io.supertokens.test.webauthn.Utils.createPublicKeyCreaCODE
CRITICAL…o/supertokens/test/webauthn/api/TestSignInAPI_5_3.java309 PublicKeyCredential<AuthenticatorAttestationResponse, RegistrationExtensionClientOutput> credential = io.supertoCODE
CRITICAL…o/supertokens/test/webauthn/api/TestSignInAPI_5_3.java331 Map<String, PublicKeyCredential<AuthenticatorAssertionResponse, AuthenticationExtensionClientOutput>> options = CODE
CRITICAL…ens/test/webauthn/api/TestRemoveCredentialAPI_5_3.java237 Map<String, PublicKeyCredentialCreationOptions> options = io.supertokens.test.webauthn.Utils.createPublicKeyCreaCODE
CRITICAL…ens/test/webauthn/api/TestRemoveCredentialAPI_5_3.java239 PublicKeyCredential<AuthenticatorAttestationResponse, RegistrationExtensionClientOutput> credential = io.supertoCODE
CRITICAL…/test/webauthn/api/TestCredentialsRegisterAPI_5_3.java323 Map<String, PublicKeyCredentialCreationOptions> options = io.supertokens.test.webauthn.Utils.createPublicKeyCreaCODE
CRITICAL…/test/webauthn/api/TestCredentialsRegisterAPI_5_3.java325 PublicKeyCredential<AuthenticatorAttestationResponse, RegistrationExtensionClientOutput> credential = io.supertoCODE
CRITICALsrc/test/java/io/supertokens/test/saml/MockSAML.java280 org.opensaml.core.xml.schema.impl.XSStringBuilder sb = new org.opensaml.core.xml.schema.impl.XSStrinCODE
CRITICAL…va/io/supertokens/test/saml/api/SAMLConfigTest5_4.java406 String urlDecoded = java.net.URLDecoder.decode(encoded, java.nio.charset.StandardCharsets.UTF_8.name());CODE
CRITICAL…va/io/supertokens/test/saml/api/SAMLConfigTest5_4.java418 return baos.toString(java.nio.charset.StandardCharsets.UTF_8.name());CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java1256 throw new io.supertokens.pluginInterface.thirdparty.exception.DuplicateUserIdException();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java2667 throw new io.supertokens.pluginInterface.dashboard.exceptions.DuplicateEmailException();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java2726 throw new io.supertokens.pluginInterface.dashboard.exceptions.DuplicateUserIdException();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java2730 throw new io.supertokens.pluginInterface.dashboard.exceptions.DuplicateEmailException();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java3595 throw new io.supertokens.pluginInterface.webauthn.exceptions.DuplicateCredentialException();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java3601 throw new io.supertokens.pluginInterface.webauthn.exceptions.UserIdNotFoundException();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java3718 throw new io.supertokens.pluginInterface.webauthn.exceptions.DuplicateUserIdException();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java3764 throw new io.supertokens.pluginInterface.webauthn.exceptions.DuplicateUserIdException();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java3875 throw new io.supertokens.pluginInterface.webauthn.exceptions.UserIdNotFoundException();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java3903 throw new io.supertokens.pluginInterface.webauthn.exceptions.UserIdNotFoundException();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java3964 String table = io.supertokens.inmemorydb.config.Config.getConfig(this).getSAMLClientsTable();CODE
CRITICALsrc/main/java/io/supertokens/inmemorydb/Start.java3966 throw new io.supertokens.pluginInterface.saml.exception.DuplicateEntityIdException();CODE
CRITICALsrc/main/java/io/supertokens/webserver/Webserver.java314 addAPI(new RecipeRouter(main, new UserAPI(main), new io.supertokens.webserver.api.thirdparty.UserAPI(main),CODE
CRITICALsrc/main/java/io/supertokens/webserver/Webserver.java315 new io.supertokens.webserver.api.passwordless.UserAPI(main)));CODE
CRITICALsrc/main/java/io/supertokens/webserver/Webserver.java451 addAPI(new io.supertokens.webserver.api.webauthn.SignInAPI(main));CODE
CRITICAL…supertokens/webserver/api/emailpassword/SignInAPI.java79 io.supertokens.webserver.api.emailpassword.Utils.assertIfEmailPasswordIsEnabledForTenant(main,CODE
CRITICAL…r/api/emailpassword/ImportUserWithPasswordHashAPI.java101 io.supertokens.webserver.api.emailpassword.Utils.assertIfEmailPasswordIsEnabledForTenant(main,CODE
CRITICAL…r/api/emailpassword/GeneratePasswordResetTokenAPI.java71 io.supertokens.webserver.api.emailpassword.Utils.assertIfEmailPasswordIsEnabledForTenant(main,CODE
CRITICAL…supertokens/webserver/api/emailpassword/SignUpAPI.java82 io.supertokens.webserver.api.emailpassword.Utils.assertIfEmailPasswordIsEnabledForTenant(main,CODE
CRITICAL…/supertokens/webserver/api/thirdparty/SignInUpAPI.java144 io.supertokens.webserver.api.thirdparty.Utils.assertIfThirdPartyIsEnabledForTenant(main,CODE
CRITICAL…pertokens/webserver/api/passwordless/CheckCodeAPI.java82 io.supertokens.webserver.api.passwordless.Utils.assertIfPasswordlessIsEnabledForTenant(main,CODE
CRITICAL…rtokens/webserver/api/passwordless/ConsumeCodeAPI.java87 io.supertokens.webserver.api.passwordless.Utils.assertIfPasswordlessIsEnabledForTenant(main,CODE
CRITICAL…ertokens/webserver/api/passwordless/CreateCodeAPI.java83 io.supertokens.webserver.api.passwordless.Utils.assertIfPasswordlessIsEnabledForTenant(main,CODE
CRITICALsrc/main/java/io/supertokens/saml/SAML.java301 org.opensaml.xmlsec.signature.X509Certificate x509CertElement = new org.opensaml.xmlsec.signature.impl.X509CCODE
CRITICALsrc/main/java/io/supertokens/saml/SAML.java666 String validUntil = java.time.format.DateTimeFormatter.ISO_INSTANT.format(cert.getNotAfter().toInstant());CODE
Fake / Example Data129 hits · 145 pts
SeverityFileLineSnippetContext
LOWsrc/test/java/io/supertokens/test/FeatureFlagTest.java507 tenantIdentifier, storage, process.getProcess(), "user@example.com",CODE
LOWsrc/test/java/io/supertokens/test/FeatureFlagTest.java629 tenantIdentifier, storage, process.getProcess(), "user@example.com",CODE
LOWsrc/test/java/io/supertokens/test/FeatureFlagTest.java761 tenantIdentifier, storage, process.getProcess(), "user@example.com",CODE
LOW…/java/io/supertokens/test/multitenant/TestAppData.java168 "user@example.com", "password");CODE
LOW…/java/io/supertokens/test/multitenant/TestAppData.java170 "user@example.com", "password");CODE
LOW…ltitenant/api/TestTenantIdIsNotPresentForOlderCDI.java232 JsonObject user1 = epSignUp(t1, "user@example.com", "password1");CODE
LOW…ltitenant/api/TestTenantIdIsNotPresentForOlderCDI.java233 JsonObject user2 = epSignUp(t2, "user@example.com", "password2");CODE
LOW…ltitenant/api/TestTenantIdIsNotPresentForOlderCDI.java234 JsonObject user3 = epSignUp(t3, "user@example.com", "password3");CODE
LOW…ltitenant/api/TestTenantIdIsNotPresentForOlderCDI.java241 JsonObject nuser1 = epSignIn(t1, "user@example.com", "password1");CODE
LOW…ltitenant/api/TestTenantIdIsNotPresentForOlderCDI.java242 JsonObject nuser2 = epSignIn(t2, "user@example.com", "password2");CODE
LOW…ltitenant/api/TestTenantIdIsNotPresentForOlderCDI.java243 JsonObject nuser3 = epSignIn(t3, "user@example.com", "password3");CODE
LOW…ltitenant/api/TestTenantIdIsNotPresentForOlderCDI.java261 JsonObject nuser1 = epGetUserUsingEmail(t1, "user@example.com");CODE
LOW…ltitenant/api/TestTenantIdIsNotPresentForOlderCDI.java262 JsonObject nuser2 = epGetUserUsingEmail(t2, "user@example.com");CODE
LOW…ltitenant/api/TestTenantIdIsNotPresentForOlderCDI.java263 JsonObject nuser3 = epGetUserUsingEmail(t3, "user@example.com");CODE
LOW…rtokens/test/multitenant/api/TestLicenseBehaviour.java102 "user@example.com", "password", process.getProcess());CODE
LOW…rtokens/test/multitenant/api/TestLicenseBehaviour.java290 "user@example.com", "password", process.getProcess());CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java139 JsonObject user = TestMultitenancyAPIHelper.epSignUp(new TenantIdentifier(null, "a1", "t1"), "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java161 JsonObject user = TestMultitenancyAPIHelper.epSignUp(new TenantIdentifier(null, "a1", "t1"), "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java241 JsonObject user = TestMultitenancyAPIHelper.epSignUp(new TenantIdentifier(null, "a1", "t1"), "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java267 JsonObject user = TestMultitenancyAPIHelper.epSignUp(new TenantIdentifier(null, "a1", "t1"), "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java291 process.getProcess(), "user@example.com", "password");CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java323 process.getProcess(), "user@example.com", null, null, null);CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java401 "googleid", "user@example.com");CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java432 JsonObject user = TestMultitenancyAPIHelper.epSignUp(new TenantIdentifier(null, "a1", "t1"), "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java449 JsonObject user = TestMultitenancyAPIHelper.epSignUp(new TenantIdentifier(null, "a1", "t1"), "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java469 JsonObject user = TestMultitenancyAPIHelper.epSignUp(new TenantIdentifier(null, "a1", "t1"), "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java495 JsonObject user = TestMultitenancyAPIHelper.epSignUp(new TenantIdentifier(null, "a1", "t1"), "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java534 "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java538 TestMultitenancyAPIHelper.epSignUp(new TenantIdentifier(null, "a1", "t2"), "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java554 "google-user", "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java559 "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java575 "user@example.com",CODE
LOW…ns/test/multitenant/api/TestTenantUserAssociation.java579 TestMultitenancyAPIHelper.plSignInUpEmail(new TenantIdentifier(null, "a1", "t2"), "user@example.com",CODE
LOW…rtokens/test/userIdMapping/api/MultitenantAPITest.java276 JsonObject user1 = emailPasswordSignUp(t1, "user@example.com", "password1");CODE
LOW…rtokens/test/userIdMapping/api/MultitenantAPITest.java277 JsonObject user2 = emailPasswordSignUp(t2, "user@example.com", "password2");CODE
LOW…rtokens/test/userIdMapping/api/MultitenantAPITest.java278 JsonObject user3 = emailPasswordSignUp(t3, "user@example.com", "password3");CODE
LOW…rtokens/test/userIdMapping/api/MultitenantAPITest.java401 JsonObject user1 = emailPasswordSignUp(t1, "user@example.com", "password1");CODE
LOW…rtokens/test/userIdMapping/api/MultitenantAPITest.java402 JsonObject user2 = emailPasswordSignUp(t2, "user@example.com", "password2");CODE
LOW…rtokens/test/userIdMapping/api/MultitenantAPITest.java443 JsonObject user1 = emailPasswordSignUp(t1, "user@example.com", "password1");CODE
LOW…rtokens/test/userIdMapping/api/MultitenantAPITest.java444 JsonObject user2 = emailPasswordSignUp(t2, "user@example.com", "password2");CODE
LOW…rtokens/test/userIdMapping/api/MultitenantAPITest.java487 JsonObject user1 = emailPasswordSignUp(t1, "user@example.com", "password1");CODE
LOW…io/supertokens/test/authRecipe/MultitenantAPITest.java199 "user@example.com",CODE
LOW…io/supertokens/test/authRecipe/MultitenantAPITest.java228 "user@example.com",CODE
LOW…io/supertokens/test/authRecipe/MultitenantAPITest.java299 process.getProcess(), "google", "googleid1", "user@example.com");CODE
LOW…io/supertokens/test/authRecipe/MultitenantAPITest.java311 process.getProcess(), "facebook", "facebookid1", "user@example.com");CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java215 EmailPassword.signUp(t1, t1storage, process.getProcess(), "user@example.com", "password1");CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java216 EmailPassword.signUp(t2, t2storage, process.getProcess(), "user@example.com", "password2");CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java217 EmailPassword.signUp(t3, t3storage, process.getProcess(), "user@example.com", "password3");CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java220 AuthRecipeUserInfo userInfo = EmailPassword.signIn(t1, t1storage, process.getProcess(), "user@example.com",CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java222 assertEquals("user@example.com", userInfo.loginMethods[0].email);CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java226 AuthRecipeUserInfo userInfo = EmailPassword.signIn(t2, t2storage, process.getProcess(), "user@example.com",CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java228 assertEquals("user@example.com", userInfo.loginMethods[0].email);CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java232 AuthRecipeUserInfo userInfo = EmailPassword.signIn(t3, t3storage, process.getProcess(), "user@example.com",CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java234 assertEquals("user@example.com", userInfo.loginMethods[0].email);CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java337 AuthRecipeUserInfo user1 = EmailPassword.signUp(t1, t1storage, process.getProcess(), "user@example.com",CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java339 AuthRecipeUserInfo user2 = EmailPassword.signUp(t2, t2storage, process.getProcess(), "user@example.com",CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java341 AuthRecipeUserInfo user3 = EmailPassword.signUp(t3, t3storage, process.getProcess(), "user@example.com",CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java390 AuthRecipeUserInfo user1 = EmailPassword.signUp(t1, t1storage, process.getProcess(), "user@example.com",CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java392 AuthRecipeUserInfo user2 = EmailPassword.signUp(t2, t2storage, process.getProcess(), "user@example.com",CODE
LOW…s/test/emailpassword/MultitenantEmailPasswordTest.java394 AuthRecipeUserInfo user3 = EmailPassword.signUp(t3, t3storage, process.getProcess(), "user@example.com",CODE
69 more matches not shown…
Decorative Section Separators21 hits · 68 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/do-release-java15.yml48 # ── Resolve branches for the given versions ───────────────────────COMMENT
MEDIUM.github/workflows/do-release-java15.yml85 # ── Register new versions with the SuperTokens API ────────────────COMMENT
MEDIUM.github/workflows/do-release-java15.yml142 # ── Run unit tests (sqlite + postgresql) ──────────────────────────COMMENT
MEDIUM.github/workflows/do-release-java15.yml294 # ── Mark test results on the SuperTokens API ──────────────────────COMMENT
MEDIUM.github/workflows/do-release-java15.yml343 # ── Build and publish the dev Docker image ────────────────────────COMMENT
MEDIUM.github/workflows/do-release-java15.yml429 # ── Stress tests ──────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/do-release-java15.yml438 # ── Tag and publish the release Docker image ──────────────────────COMMENT
MEDIUM.github/workflows/do-release-java15.yml479 # ── Tag all repos with release versions ───────────────────────────COMMENT
MEDIUM.github/workflows/generate-jars.yml120 # ── plugin-interface ────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/generate-jars.yml173 # ── postgresql-plugin ───────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/generate-jars.yml226 # ── core ────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release-tests.yml29 # ── Update dependency manifests if needed ────────────────────────COMMENT
MEDIUM.github/workflows/release-tests.yml120 # ── Unit tests (sqlite + postgresql) ──────────────────────────────COMMENT
MEDIUM.github/workflows/release-tests.yml223 # ── Wait for the dev Docker image to be published ─────────────────COMMENT
MEDIUM.github/workflows/release-tests.yml249 # ── Stress tests (uses the published Docker image) ────────────────COMMENT
MEDIUM…/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java384 // ── 1. SELECT … FOR UPDATE ─────────────────────────────────────COMMENT
MEDIUM…/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java393 // ── 2. Introspect internal token with Hydra ────────────────────COMMENT
MEDIUM…/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java414 // ── 3. Exchange with Hydra ─────────────────────────────────────COMMENT
MEDIUM…/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java422 // ── 4. Transform tokens ────────────────────────────────────────COMMENT
MEDIUM…/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java427 // ── 5. Extract gid / jti / sessionHandle ───────────────────────COMMENT
MEDIUM…/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java445 // ── 6. UPDATE + commit ─────────────────────────────────────────COMMENT
Over-Commented Block37 hits · 37 pts
SeverityFileLineSnippetContext
LOWdevConfig.yaml1# Config for SuperTokens service. Here you will set the config params forCOMMENT
LOWdevConfig.yaml21# access_token_validity:COMMENT
LOWdevConfig.yaml41COMMENT
LOWdevConfig.yaml61# (DIFFERENT_ACROSS_TENANTS | OPTIONAL | Default: 900000) long value. Time in milliseconds for how long a passwordlessCOMMENT
LOWdevConfig.yaml81# standard error insteadCOMMENT
LOWdevConfig.yaml101# base_path:COMMENT
LOWdevConfig.yaml121# argon2_hashing_pool_size:COMMENT
LOWdevConfig.yaml141# (OPTIONAL | Default: null). This is used when deploying the core in SuperTokens SaaS infrastructure. If set, limitsCOMMENT
LOWdevConfig.yaml161# oauth_provider_admin_service_url:COMMENT
LOWdevConfig.yaml181COMMENT
LOWconfig.yaml1# Config for SuperTokens service. Here you will set the config params forCOMMENT
LOWconfig.yaml21# access_token_validity:COMMENT
LOWconfig.yaml41# (DIFFERENT_ACROSS_APPS | OPTIONAL | Default: 144000) double value. Time in mins for how long a refresh token is validCOMMENT
LOWconfig.yaml61# code is valid for.COMMENT
LOWconfig.yaml81# error_log_path:COMMENT
LOWconfig.yaml101COMMENT
LOWconfig.yaml121COMMENT
LOWconfig.yaml141# what database information is shown to / modifiable by the dev when they query the core to get the information aboutCOMMENT
LOWconfig.yaml161# oauth_provider_admin_service_url:COMMENT
LOWconfig.yaml181COMMENT
LOWtest-data/playground/src/setupTests.js1// jest-dom adds custom jest matchers for asserting on DOM nodes.COMMENT
LOWee/src/main/java/io/supertokens/ee/EEFeatureFlag.java201COMMENT
LOWee/src/main/java/io/supertokens/ee/EEFeatureFlag.java321 // if (!usesAccountLinking) {COMMENT
LOWsrc/test/java/io/supertokens/test/PluginTest.java201// String installDir = "../";COMMENT
LOWsrc/test/java/io/supertokens/test/PluginTest.java221// process.kill();COMMENT
LOW…est/java/io/supertokens/test/multitenant/LoadTest.java101 process.kill();COMMENT
LOW…est/java/io/supertokens/test/multitenant/LoadTest.java121// System.out.println(i);COMMENT
LOW…est/java/io/supertokens/test/multitenant/LoadTest.java141// uniqueResources.add(storage.getUnderlyingStorage());COMMENT
LOWsrc/main/java/io/supertokens/Main.java441 // must not throw any errorCOMMENT
LOW…n/java/io/supertokens/useridmapping/UserIdMapping.java281 storageClasses.get(0).equals(EmailVerificationStorage.class.getName())) {COMMENT
LOWsrc/main/java/io/supertokens/authRecipe/AuthRecipe.java1281COMMENT
LOW…ens/webserver/api/multitenancy/BaseCreateOrUpdate.java321// tenantConfig.coreConfigCOMMENT
LOW…/main/java/io/supertokens/signingkeys/SigningKeys.java221 // This function is synchronized because we only want a single function to clear (and refresh) the key cache.COMMENT
LOWsrc/main/java/io/supertokens/totp/Totp.java181 private static void checkAndStoreCode(TenantIdentifier tenantIdentifier, Storage storage, Main main,COMMENT
LOWsrc/main/java/io/supertokens/totp/Totp.java201 // 15 minutes, and totp_invalid_code_expiry is 5 minutes.COMMENT
LOWsrc/main/java/io/supertokens/emailpassword/User.java1///*COMMENT
LOWsrc/main/java/io/supertokens/emailpassword/User.java21//COMMENT
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWstress-tests/src/oneMillionUsers/generateUsers.ts51function createThirdPartyLoginMethod(email: string, tenantIds: string[]): LoginMethod {CODE
LOWstress-tests/src/oneMillionUsers/generateUsers.ts66function createPasswordlessLoginMethod(CODE
LOWstress-tests/src/oneMillionUsers/generateUsers.ts106function generateRandomPhoneNumber(): string {CODE
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…n/java/io/supertokens/useridmapping/UserIdMapping.java513 // we need to check if db is in A3 or A4.COMMENT
LOW…c/main/java/io/supertokens/webserver/RequestStats.java101 // appIdentifier parameter is coming from the API request and hence we need to check if the app existsCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…test/java/io/supertokens/test/totp/TOTPRecipeTest.java60// TODO: Add test for UsedCodeAlreadyExistsException once we implement time mockingCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/test/java/io/supertokens/test/saml/MockSAML.java88// NOTE: This class provides helpers to mimic a minimal SAML IdP for tests.COMMENT