Repository Analysis

appwrite/appwrite

Appwrite® - complete cloud infrastructure for your web, mobile and AI apps. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime and more

5.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of appwrite/appwrite, a TypeScript project with 56,587 GitHub stars. SynthScan v2.0 examined 422,749 lines of code across 2405 source files, recording 2139 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 5.3 places this repository in the Low AI signal 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).

5.3
Adjusted Score
5.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
56.6K
Stars
TypeScript
Language
422.7K
Lines of Code
2.4K
Files
2.1K
Pattern Hits
2026-07-14
Scan Date
0.00
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 0HIGH 10MEDIUM 3LOW 2126

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

Hyper-Verbose Identifiers1590 hits · 1431 pts
SeverityFileLineSnippetContext
LOWtests/unit/Advisor/AuthTest.php21 public function testAdvisorApisOnlySupportAdminAndKeyAuth(Action $action): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php43 public function testAcceptsEntryWithoutParams(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php54 public function testRejectsEntryMissingRequiredKeys(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php63 public function testRejectsEntryWithEmptyStrings(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php74 public function testRejectsEntryWithNonStringFields(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php85 public function testRejectsEntryWithScalarParams(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php105 public function testRejectsMoreThanMaxCount(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php122 public function testAcceptsExactlyMaxCount(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php152 public function testRejectsEntryWithEmptyService(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php163 public function testRejectsEntryWithEmptyMethod(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php174 public function testRejectsUnknownService(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php198 public function testAcceptsCustomAllowedLists(): voidCODE
LOWtests/unit/Advisor/Validator/CTAsTest.php218 public function testDefaultMaxCountIsSixteen(): voidCODE
LOWtests/unit/Docker/Compose/GeneratorTest.php23 public function testSelectsDatabaseService(): voidCODE
LOWtests/unit/Docker/Compose/GeneratorTest.php50 public function testTogglesAssistantService(): voidCODE
LOWtests/unit/Docker/Compose/GeneratorTest.php63 public function testKeepsProductionWorkers(): voidCODE
LOWtests/unit/Docker/Compose/GeneratorTest.php82 public function testAddsLocalHostPathMount(): voidCODE
LOWtests/unit/Docker/Compose/GeneratorTest.php92 public function testRewritesLocalRelativeBindMountsToHostPath(): voidCODE
LOWtests/unit/Docker/Compose/GeneratorTest.php106 public function testDoesNotAddDatabaseDependencyWithoutPlaceholder(): voidCODE
LOWtests/unit/Docker/Compose/GeneratorTest.php117 public function testKeepsLongCommandsReadable(): voidCODE
LOWtests/unit/Utopia/ResponseTest.php91 public function testResponseModelRequired(): voidCODE
LOWtests/unit/Utopia/ResponseTest.php106 public function testResponseModelRequiredException(): voidCODE
LOWtests/unit/Utopia/ResponseTest.php235 public function testShowSensitiveRestoresPreviousState(): voidCODE
LOWtests/unit/Utopia/RequestTest.php65 public function testGetParamsWithMultipleMethods(): voidCODE
LOWtests/unit/Utopia/RequestTest.php81 public function testGetParamsWithAllRequired(): voidCODE
LOWtests/unit/Utopia/RequestTest.php99 public function testGetParamsWithAllOptional(): voidCODE
LOWtests/unit/Utopia/RequestTest.php116 public function testGetParamsMatchesMethodB(): voidCODE
LOWtests/unit/Utopia/RequestTest.php132 public function testGetParamsFallbackForMixedAndUnknown(): voidCODE
LOWtests/unit/Utopia/RequestTest.php153 public function testRouteIsScopedToRequestInstance(): voidCODE
LOWtests/unit/Utopia/RequestTest.php168 public function testGetHeaderLineReturnsStringValue(): voidCODE
LOWtests/unit/Utopia/RequestTest.php175 public function testGetHeaderLineReturnsDefaultWhenMissing(): voidCODE
LOWtests/unit/Utopia/RequestTest.php181 public function testGetHeaderLineJoinsMultipleValues(): voidCODE
LOWtests/unit/Utopia/RequestTest.php190 public function testGetHeadersSynthesizesCookieHeaderFromCookieJar(): voidCODE
LOWtests/unit/Utopia/RequestTest.php205 public function testGetHeadersOmitsCookieHeaderWhenNoCookies(): voidCODE
LOWtests/unit/Utopia/RequestTest.php250 public function testGetParamsDoesNotCacheRawParamsForServerError(): voidCODE
LOWtests/unit/Utopia/RequestTest.php276 public function testGetParamsDoesNotCacheRawParamsForUncodedException(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php647 public function testSelectSpecificFieldsNotAllowed(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php653 public function testSelectSingleFieldNotAllowed(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php659 public function testValidateSelectQueryWithWildcard(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php667 public function testValidateSelectQueryWithSpecificFields(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php675 public function testValidateSelectQueryWithSingleField(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php683 public function testSelectInAllowedQueries(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php688 public function testIsSelectAllWithNonSelectQuery(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php694 public function testValidateSelectQueryWithNonSelectQuery(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php703 public function testFilterWithSelectAllReturnsPayload(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php711 public function testFilterWithSelectAllAndOtherQueriesReturnsPayload(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php37 public function testFilterWithNoMatchingQuery(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php45 public function testFilterWithMatchingQuery(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php70 public function testEqualMultipleValuesMatch(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php78 public function testEqualMultipleValuesNoMatch(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php102 public function testEqualMissingAttribute(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php127 public function testNotEqualMultipleValues(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php177 public function testLesserStringComparison(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php194 public function testLesserEqualExactMatch(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php210 public function testLesserEqualMultipleValues(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php244 public function testGreaterMultipleValues(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php262 public function testGreaterEqualExactMatch(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php278 public function testGreaterEqualMultipleValues(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php304 public function testIsNullMissingAttribute(): voidCODE
LOWtests/unit/Utopia/Database/Query/RuntimeQueryTest.php329 public function testIsNotNullMissingAttribute(): voidCODE
1530 more matches not shown…
Verbosity Indicators144 hits · 265 pts
SeverityFileLineSnippetContext
LOWapp/controllers/shared/api.php113 // Step 1: Check if project is emptyCOMMENT
LOWapp/controllers/shared/api.php118 // Step 2: Get roles configurationCOMMENT
LOWapp/controllers/shared/api.php121 // Step 3: Determine role for userCOMMENT
LOWapp/controllers/shared/api.php128 // Step 4: Get scopes for the roleCOMMENT
LOWapp/controllers/shared/api.php131 // Step 5: API Key AuthenticationCOMMENT
LOWapp/controllers/shared/api.php457 // Step 9: Validate scope permissionsCOMMENT
LOWapp/controllers/shared/api.php463 // Step 10: Check if user is blockedCOMMENT
LOWapp/controllers/shared/api.php468 // Step 11: Verify password statusCOMMENT
LOWapp/controllers/shared/api.php473 // Step 12: Validate MFA requirementsCOMMENT
LOWapp/controllers/shared/api.php481 // Step 13: Handle Multi-Factor AuthenticationCOMMENT
LOWapp/controllers/shared/api.php382 // Step 6: Update project and user last activityCOMMENT
LOWtests/unit/Messaging/MessagingTest.php594 // Step 1: guest subscribes. convertChannels preserves the literal form.COMMENT
LOWtests/unit/Messaging/MessagingTest.php599 // Step 2: fromPayload publishes account.create alongside the user-scoped form.COMMENT
LOWtests/unit/Messaging/MessagingTest.php547 // Step 2: A → B.COMMENT
LOWtests/unit/Messaging/MessagingTest.php558 // Step 3: permissions-change for B (userId stays 'B').COMMENT
LOWtests/unit/Messaging/MessagingTest.php569 // Step 4: B → C.COMMENT
LOWtests/unit/Messaging/MessagingTest.php618 // Step 3: in-band auth promotes the guest to user 'B'.COMMENT
LOWtests/benchmarks/bulk-operations/utils.js69 // Step 1: Create AccountCOMMENT
LOWtests/benchmarks/bulk-operations/utils.js85 // Step 2: Create SessionCOMMENT
LOWtests/benchmarks/bulk-operations/utils.js110 // Step 3: Create TeamCOMMENT
LOWtests/benchmarks/bulk-operations/utils.js122 // Step 4: Create ProjectCOMMENT
LOWtests/benchmarks/bulk-operations/utils.js135 // Step 5: Create API KeyCOMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3110 // Step 1: Create new documents with age > 25 in transactionCOMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3143 // Step 2: Bulk update all documents with age > 25 to have status 'active'COMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3293 // Step 1: Update some documents to have category 'special' in transactionCOMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3320 // Step 2: Bulk update all documents with category 'special' to have priority 'high'COMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3459 // Step 1: Create temporary documents in transactionCOMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3490 // Step 2: Bulk delete all documents with type 'temporary'COMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3623 // Step 1: Mark some documents for deletion by updating their statusCOMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3650 // Step 2: Bulk delete all documents with status 'marked_for_deletion'COMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php44 // Step 1: Set session duration to 5 secondsCOMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php47 // Step 2: Create user and a sessionCOMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php76 // Step 3: Poll until the 5s TTL elapses - session should expireCOMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php82 // Step 4: Raise duration to 10s - same session should still not be usableCOMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php88 // Step 5: Set duration to 1 yearCOMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php91 // Step 6: Same session should still not be usableCOMMENT
LOW…roject/PoliciesPasswordPersonalDataIntegrationTest.php87 // Step 1: Enable password personal data policyCOMMENT
LOW…roject/PoliciesPasswordPersonalDataIntegrationTest.php90 // Step 2: Each of the four personal-data fields in the password must block user creationCOMMENT
LOW…roject/PoliciesPasswordPersonalDataIntegrationTest.php97 // Step 3: Disable password personal data policyCOMMENT
LOW…roject/PoliciesPasswordPersonalDataIntegrationTest.php100 // Step 4: The same categories of passwords should now be accepted (fresh data to avoid uniqueness conflicts)COMMENT
LOW…/Services/Project/MockPhonesSessionIntegrationTest.php35 // Step 1: Configure two mock phones with distinct OTPs.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php369 // Step 1: Set a custom replyToEmail.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php380 // Step 2: Clear it with an empty string.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php385 // Step 3: Verify the cleared value persists.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php396 // Step 1: Configure SMTP with a sender email, then disable it.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php405 // Step 2: Clear senderEmail while keeping SMTP disabled.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php414 // Step 3: Verify the cleared value persists.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php615 // Step 1: Set username and password.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php627 // Step 2: Clear both credentials by passing empty strings.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php637 // Step 3: Verify the cleared username persists (a no-params PATCH must not restore it).COMMENT
LOWtests/e2e/Services/Project/TemplatesBase.php565 // Step 1: Set a custom en verification template with sender and reply-to fields.COMMENT
LOWtests/e2e/Services/Project/TemplatesBase.php582 // Step 2: GET en verification template and ensure it reflects the custom values.COMMENT
LOWtests/e2e/Services/Project/TemplatesBase.php590 // Step 3: Update the same template, clearing sender and reply-to fields to empty strings.COMMENT
LOWtests/e2e/Services/Project/TemplatesBase.php605 // Step 4: GET again to confirm the cleared values persist.COMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php84 // Step 1: Disable session alertsCOMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php87 // Step 2: Create user1 and two sessionsCOMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php93 // Step 3: No alert should arrive in the next 10 secondsCOMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php96 // Step 4: Enable session alertsCOMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php99 // Step 5: Create user2 and one sessionCOMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php104 // Step 6: First session never alerts, so nothing arrives in 10 secondsCOMMENT
84 more matches not shown…
Structural Annotation Overuse144 hits · 264 pts
SeverityFileLineSnippetContext
LOWapp/controllers/shared/api.php113 // Step 1: Check if project is emptyCOMMENT
LOWapp/controllers/shared/api.php118 // Step 2: Get roles configurationCOMMENT
LOWapp/controllers/shared/api.php121 // Step 3: Determine role for userCOMMENT
LOWapp/controllers/shared/api.php128 // Step 4: Get scopes for the roleCOMMENT
LOWapp/controllers/shared/api.php131 // Step 5: API Key AuthenticationCOMMENT
LOWapp/controllers/shared/api.php457 // Step 9: Validate scope permissionsCOMMENT
LOWapp/controllers/shared/api.php463 // Step 10: Check if user is blockedCOMMENT
LOWapp/controllers/shared/api.php468 // Step 11: Verify password statusCOMMENT
LOWapp/controllers/shared/api.php473 // Step 12: Validate MFA requirementsCOMMENT
LOWapp/controllers/shared/api.php481 // Step 13: Handle Multi-Factor AuthenticationCOMMENT
LOWapp/controllers/shared/api.php382 // Step 6: Update project and user last activityCOMMENT
LOWtests/unit/Messaging/MessagingTest.php594 // Step 1: guest subscribes. convertChannels preserves the literal form.COMMENT
LOWtests/unit/Messaging/MessagingTest.php599 // Step 2: fromPayload publishes account.create alongside the user-scoped form.COMMENT
LOWtests/unit/Messaging/MessagingTest.php547 // Step 2: A → B.COMMENT
LOWtests/unit/Messaging/MessagingTest.php558 // Step 3: permissions-change for B (userId stays 'B').COMMENT
LOWtests/unit/Messaging/MessagingTest.php569 // Step 4: B → C.COMMENT
LOWtests/unit/Messaging/MessagingTest.php618 // Step 3: in-band auth promotes the guest to user 'B'.COMMENT
LOWtests/benchmarks/bulk-operations/utils.js69 // Step 1: Create AccountCOMMENT
LOWtests/benchmarks/bulk-operations/utils.js85 // Step 2: Create SessionCOMMENT
LOWtests/benchmarks/bulk-operations/utils.js110 // Step 3: Create TeamCOMMENT
LOWtests/benchmarks/bulk-operations/utils.js122 // Step 4: Create ProjectCOMMENT
LOWtests/benchmarks/bulk-operations/utils.js135 // Step 5: Create API KeyCOMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3110 // Step 1: Create new documents with age > 25 in transactionCOMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3143 // Step 2: Bulk update all documents with age > 25 to have status 'active'COMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3293 // Step 1: Update some documents to have category 'special' in transactionCOMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3320 // Step 2: Bulk update all documents with category 'special' to have priority 'high'COMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3459 // Step 1: Create temporary documents in transactionCOMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3490 // Step 2: Bulk delete all documents with type 'temporary'COMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3623 // Step 1: Mark some documents for deletion by updating their statusCOMMENT
LOW…e/Services/Databases/Transactions/TransactionsBase.php3650 // Step 2: Bulk delete all documents with status 'marked_for_deletion'COMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php44 // Step 1: Set session duration to 5 secondsCOMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php47 // Step 2: Create user and a sessionCOMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php76 // Step 3: Poll until the 5s TTL elapses - session should expireCOMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php82 // Step 4: Raise duration to 10s - same session should still not be usableCOMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php88 // Step 5: Set duration to 1 yearCOMMENT
LOW…ces/Project/PoliciesSessionDurationIntegrationTest.php91 // Step 6: Same session should still not be usableCOMMENT
LOW…roject/PoliciesPasswordPersonalDataIntegrationTest.php87 // Step 1: Enable password personal data policyCOMMENT
LOW…roject/PoliciesPasswordPersonalDataIntegrationTest.php90 // Step 2: Each of the four personal-data fields in the password must block user creationCOMMENT
LOW…roject/PoliciesPasswordPersonalDataIntegrationTest.php97 // Step 3: Disable password personal data policyCOMMENT
LOW…roject/PoliciesPasswordPersonalDataIntegrationTest.php100 // Step 4: The same categories of passwords should now be accepted (fresh data to avoid uniqueness conflicts)COMMENT
LOW…/Services/Project/MockPhonesSessionIntegrationTest.php35 // Step 1: Configure two mock phones with distinct OTPs.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php369 // Step 1: Set a custom replyToEmail.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php380 // Step 2: Clear it with an empty string.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php385 // Step 3: Verify the cleared value persists.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php396 // Step 1: Configure SMTP with a sender email, then disable it.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php405 // Step 2: Clear senderEmail while keeping SMTP disabled.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php414 // Step 3: Verify the cleared value persists.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php615 // Step 1: Set username and password.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php627 // Step 2: Clear both credentials by passing empty strings.COMMENT
LOWtests/e2e/Services/Project/SMTPBase.php637 // Step 3: Verify the cleared username persists (a no-params PATCH must not restore it).COMMENT
LOWtests/e2e/Services/Project/TemplatesBase.php565 // Step 1: Set a custom en verification template with sender and reply-to fields.COMMENT
LOWtests/e2e/Services/Project/TemplatesBase.php582 // Step 2: GET en verification template and ensure it reflects the custom values.COMMENT
LOWtests/e2e/Services/Project/TemplatesBase.php590 // Step 3: Update the same template, clearing sender and reply-to fields to empty strings.COMMENT
LOWtests/e2e/Services/Project/TemplatesBase.php605 // Step 4: GET again to confirm the cleared values persist.COMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php84 // Step 1: Disable session alertsCOMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php87 // Step 2: Create user1 and two sessionsCOMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php93 // Step 3: No alert should arrive in the next 10 secondsCOMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php96 // Step 4: Enable session alertsCOMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php99 // Step 5: Create user2 and one sessionCOMMENT
LOW…rvices/Project/PoliciesSessionAlertIntegrationTest.php104 // Step 6: First session never alerts, so nothing arrives in 10 secondsCOMMENT
84 more matches not shown…
Fake / Example Data222 hits · 200 pts
SeverityFileLineSnippetContext
LOWapp/config/templates/function.php213 'placeholder' => 'neo4j+s://4tg4mddo.databases.neo4j.io',CODE
LOWapp/config/templates/function.php221 'placeholder' => 'neo4j',CODE
LOWapp/config/templates/function.php229 'placeholder' => 'mCUc4PbVUQN-_NkTLJLisb6ccnwzQKKhrkF77YMctzx',CODE
LOWapp/config/templates/function.php306 'placeholder' => 'ep-still-sea-a792sh84.eu-central-1.aws.neon.tech',CODE
LOWapp/config/templates/function.php314 'placeholder' => 'main',CODE
LOWapp/config/templates/function.php322 'placeholder' => 'main_owner',CODE
LOWapp/config/templates/function.php330 'placeholder' => 'iQCfaUaaWB3B',CODE
LOWapp/config/templates/function.php338 'placeholder' => 'ep-still-sea-a792sh84',CODE
LOWapp/config/templates/function.php396 'placeholder' => 'sk-wzG...vcy',CODE
LOWapp/config/templates/function.php404 'placeholder' => '512',CODE
LOWapp/config/templates/function.php455 'placeholder' => 'db9...980',CODE
LOWapp/config/templates/function.php463 'placeholder' => '427...169',CODE
LOWapp/config/templates/function.php471 'placeholder' => 'NDI...LUfg',CODE
LOWapp/config/templates/function.php665 'placeholder' => 'urlShortener',CODE
LOWapp/config/templates/function.php673 'placeholder' => 'urls',CODE
LOWapp/config/templates/function.php681 'placeholder' => 'https://shortdomain.io',CODE
LOWapp/config/templates/function.php731 'placeholder' => '64a55...7b912',CODE
LOWapp/config/templates/function.php738 'placeholder' => '7c3e8...2a9f1',CODE
LOWapp/config/templates/function.php745 'placeholder' => 'OFCNCOG2CU',CODE
LOWapp/config/templates/function.php752 'placeholder' => 'fd0aa...136a8',CODE
LOWapp/config/templates/function.php759 'placeholder' => 'my_index',CODE
LOWapp/config/templates/function.php766 'placeholder' => 'bf2f5...df733',CODE
LOWapp/config/templates/function.php830 'placeholder' => '64a55...7b912',CODE
LOWapp/config/templates/function.php837 'placeholder' => '7c3e8...2a9f1',CODE
LOWapp/config/templates/function.php844 'placeholder' => 'http://127.0.0.1:7700',CODE
LOWapp/config/templates/function.php851 'placeholder' => 'masterKey1234',CODE
LOWapp/config/templates/function.php858 'placeholder' => 'searchKey1234',CODE
LOWapp/config/templates/function.php865 'placeholder' => 'appwrite_index',CODE
LOWapp/config/templates/function.php937 'placeholder' => '62...97',CODE
LOWapp/config/templates/function.php944 'placeholder' => 'Zjc...5PH',CODE
LOWapp/config/templates/function.php951 'placeholder' => 'NXOi3...IBHDa',CODE
LOWapp/config/templates/function.php958 'placeholder' => '+14000000102',CODE
LOWapp/config/templates/function.php995 'placeholder' => 'mywebapp-f6e57',CODE
LOWapp/config/templates/function.php1002 'placeholder' => 'fcm-adminsdk-2f0de@test-f7q57.iam.gserviceaccount.com',CODE
LOWapp/config/templates/function.php1009 'placeholder' => '0b683...75675',CODE
LOWapp/config/templates/function.php1016 'placeholder' => 'https://my-app-f298e.firebaseio.com',CODE
LOWapp/config/templates/function.php1067 'placeholder' => 'smtp.mailgun.org',CODE
LOWapp/config/templates/function.php1074 'placeholder' => '25',CODE
LOWapp/config/templates/function.php1081 'placeholder' => 'no-reply@mywebapp.org',CODE
LOWapp/config/templates/function.php1088 'placeholder' => '5up3r5tr0ngP4ssw0rd',CODE
LOWapp/config/templates/function.php1095 'placeholder' => 'me@mywebapp.org',CODE
LOWapp/config/templates/function.php1103 'placeholder' => 'https://mywebapp.org,https://mywebapp.com',CODE
LOWapp/config/templates/function.php1182 'placeholder' => 'sk_test_51J...',CODE
LOWapp/config/templates/function.php1189 'placeholder' => 'whsec_...',CODE
LOWapp/config/templates/function.php1197 'placeholder' => 'orders',CODE
LOWapp/config/templates/function.php1205 'placeholder' => 'orders',CODE
LOWapp/config/templates/function.php1314 'placeholder' => 'ai',CODE
LOWapp/config/templates/function.php1322 'placeholder' => 'image_classification',CODE
LOWapp/config/templates/function.php1330 'placeholder' => 'image_classification',CODE
LOWapp/config/templates/function.php1337 'placeholder' => 'hf_MUvn...',CODE
LOWapp/config/templates/function.php1374 'placeholder' => 'ai',CODE
LOWapp/config/templates/function.php1382 'placeholder' => 'object_detection',CODE
LOWapp/config/templates/function.php1390 'placeholder' => 'object_detection',CODE
LOWapp/config/templates/function.php1397 'placeholder' => 'hf_MUvn...',CODE
LOWapp/config/templates/function.php1434 'placeholder' => 'ai',CODE
LOWapp/config/templates/function.php1442 'placeholder' => 'speech_recognition',CODE
LOWapp/config/templates/function.php1450 'placeholder' => 'speech_recognition',CODE
LOWapp/config/templates/function.php1457 'placeholder' => 'hf_MUvn...',CODE
LOWapp/config/templates/function.php1497 'placeholder' => 'ai',CODE
LOWapp/config/templates/function.php1505 'placeholder' => 'speech_recognition',CODE
162 more matches not shown…
Magic Placeholder Names9 hits · 52 pts
SeverityFileLineSnippetContext
HIGHapp/config/templates/function.php394 'description' => 'A unique key used to authenticate with the OpenAI API. This is a paid service and you CODE
HIGHapp/config/templates/function.php1716 'description' => 'A unique key used to authenticate with the OpenAI API. This is a paid service and you CODE
HIGHapp/config/templates/function.php1781 'description' => 'A unique key used to authenticate with the OpenAI API. This is a paid service and you CODE
HIGHdocs/sdks/dart/EXAMPLES.md11 .setKey('<YOUR_API_KEY>');CODE
HIGHdocs/sdks/dart/EXAMPLES.md11 .setKey('<YOUR_API_KEY>');CODE
HIGHdocs/sdks/dart/GETTING_STARTED.md9 .setKey('<YOUR_API_KEY>');CODE
HIGHdocs/sdks/dart/GETTING_STARTED.md9 .setKey('<YOUR_API_KEY>');CODE
HIGHsrc/Appwrite/SDK/Specification/Format/OpenAPI3.php87 'Key' => '<YOUR_API_KEY>',CODE
HIGHsrc/Appwrite/SDK/Specification/Format/OpenAPI3.php87 'Key' => '<YOUR_API_KEY>',CODE
Over-Commented Block24 hits · 16 pts
SeverityFileLineSnippetContext
LOWtest-build.sh1#!/usr/bin/env bashCOMMENT
LOWapp/config/oAuthProviders.php481 'icon' => 'icon-zoom',COMMENT
LOWapp/config/storage/logos.php21 // // Microsoft WordCOMMENT
LOWapp/config/storage/logos.php41 // 'application/vnd.ms-powerpoint.addin.macroEnabled.12' => __DIR__.'/logos/ppt.png',COMMENT
LOWtests/unit/Platform/Workers/NotificationsTest.php841COMMENT
LOWtests/e2e/Services/Databases/DatabasesBase.php4361 Query::search('title', $value)->toString(),COMMENT
LOW…/Services/ProjectWebhooks/WebhooksCustomServerTest.php861 // wait for timeout function to completeCOMMENT
LOW…s/e2e/Services/GraphQL/TablesDB/DatabaseServerTest.php1961 ];COMMENT
LOW…s/e2e/Services/GraphQL/TablesDB/DatabaseServerTest.php1981 // 'name' => 'John Doe',COMMENT
LOW…s/e2e/Services/GraphQL/TablesDB/DatabaseServerTest.php2261 $this->assertIsArray($row['body']['data']['tablesDBGetRow']);COMMENT
LOW…s/e2e/Services/GraphQL/TablesDB/DatabaseServerTest.php2281 // $this->assertArrayNotHasKey('errors', $customEntities['body']);COMMENT
LOW…s/e2e/Services/GraphQL/TablesDB/DatabaseServerTest.php2401 // */COMMENT
LOW…s/e2e/Services/GraphQL/TablesDB/DatabaseServerTest.php2461 // $gqlPayload = [COMMENT
LOW…sts/e2e/Services/GraphQL/Legacy/DatabaseServerTest.php1781 // * @depends testCreateFloatAttributeCOMMENT
LOW…sts/e2e/Services/GraphQL/Legacy/DatabaseServerTest.php1801 // ]COMMENT
LOW…sts/e2e/Services/GraphQL/Legacy/DatabaseServerTest.php2081 // * @throws ExceptionCOMMENT
LOW…sts/e2e/Services/GraphQL/Legacy/DatabaseServerTest.php2101 // /**COMMENT
LOW…sts/e2e/Services/GraphQL/Legacy/DatabaseServerTest.php2221 // $projectId = $this->getProject()['$id'];COMMENT
LOW…sts/e2e/Services/GraphQL/Legacy/DatabaseServerTest.php2261 $document = $this->client->call(Client::METHOD_POST, '/graphql', array_merge([COMMENT
LOW…sts/e2e/Services/GraphQL/Legacy/DatabaseServerTest.php2281 // 'id' => $data['id'],COMMENT
LOW.github/workflows/issue-triage.lock.yml1# This file was automatically generated by gh-aw. DO NOT EDIT.COMMENT
LOW.github/workflows/issue-triage.lock.yml21# pre_activation --> activationCOMMENT
LOWsrc/Appwrite/Compute/Job.php61 // internal endpoint when configured, falling back to the public host.COMMENT
LOWsrc/Appwrite/Migration/Version/V19.php521 // try {COMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/issue-triage.lock.yml4# For more information: https://github.com/githubnext/gh-aw/blob/main/.github/instructions/github-agentic-workflows.instCOMMENT
MEDIUM.github/workflows/issue-triage.lock.yml4# For more information: https://github.com/githubnext/gh-aw/blob/main/.github/instructions/github-agentic-workflows.instCOMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/Appwrite/Platform/Tasks/SDKs.php531 $aiChangelog = ''; // Track AI-generated changelog for PR descriptionCODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/resources/swagger2.json1{"swagger":"2.0","info":{"version":"0.8.0","title":"Appwrite","description":"Appwrite backend as a service cuts up to 70CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/e2e/Services/Sites/SitesCustomServerTest.php969 // // TODO: Implement testCreateDeploymentFromCLI() laterCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmongo-init-replicaset.sh6# Check if replica set is already initializedCOMMENT