AI Slop Code Risk Monitor

ankidroid/Anki-Android

SlopCodeMonitor badge for ankidroid/Anki-Android Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ankidroid/Anki-Android, a Kotlin project with 12,135 GitHub stars. SynthScan examined 479,862 lines of code across 3977 source files, recording 78 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.5 (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.

0.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
12.1K
Stars
Kotlin
Language
479.9K
Lines of Code
4.0K
Files
78
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 0.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 2.1/100 · LOW

Which changes need focused human review? 78 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 11HIGH 3MEDIUM 7LOW 57

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 78 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.

Hallucination Indicators11 hits · 135 pts
SeverityFileLineSnippetContext
CRITICAL…/com/ichi2/anki/lint/rules/DirectToastMakeTextUsage.kt20 * of using the top level method {com.ichi2.anki.common.utils.android.showThemedToast(...)} provided by the Toast file.COMMENT
CRITICAL…on/android/src/main/java/com/ichi2/ui/FixedTextView.kt131 at com.android.internal.util.Preconditions.checkArgument(Preconditions.java:33)CODE
CRITICAL…on/android/src/main/java/com/ichi2/ui/FixedTextView.kt199 at com.android.internal.util.Preconditions.checkArgument(Preconditions.java:33)CODE
CRITICAL…st/kotlin/com/ichi2/anki/gradle/VersionCatalogsTest.kt31 def targetSdk = com.ichi2.anki.gradle.VersionCatalogsKt.libsVersionFor(project, 'targetSdk')STRING
CRITICAL…/src/androidTest/java/com/ichi2/anki/NoteEditorTest.kt59 at androidx.test.core.app.ActivityScenario.waitForActivityToBecomeAnyOf(ActivityScenario.java:301)CODE
CRITICAL⚡AnkiDroid/src/test/resources/anr/real-anr-excerpt.txt42 at java.util.concurrent.locks.LockSupport.park(LockSupport.java:221)CODE
CRITICAL⚡AnkiDroid/src/test/resources/anr/real-anr-excerpt.txt43 at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:754)CODE
CRITICAL⚡AnkiDroid/src/test/resources/anr/real-anr-excerpt.txt44 at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:10CODE
CRITICAL⚡AnkiDroid/src/test/resources/anr/real-anr-excerpt.txt46 at com.ichi2.anki.analytics.AnrReproActivity.deliberatelyBlockMainThread(AnrReproActivity.kt:58)CODE
CRITICAL⚡AnkiDroid/src/test/resources/anr/real-anr-excerpt.txt56 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)CODE
CRITICAL.github/workflows/label.yml217 const opts = github.rest.issues.listForRepo.endpoint.merge({CODE
Over-Commented Block47 hits · 47 pts
SeverityFileLineSnippetContext
LOWjitpack.yml1# overview: https://jitpack.io/com/github/ankidroid/Anki-Android/COMMENT
LOWtools/pull-compile-push.sh1#!/bin/shCOMMENT
LOWtools/google-play.py1#!/usr/bin/pythonCOMMENT
LOWtools/list-of-translators.sh1#!/bin/shCOMMENT
LOWtools/parallel-package-release.sh1#!/bin/bashCOMMENT
LOWtools/release.sh1#!/bin/bashCOMMENT
LOWtools/release.sh261COMMENT
LOWtools/compare-screenshot-test.sh1#!/bin/bashCOMMENT
LOWtools/prepare-icons/generate-images.sh1#!/bin/bashCOMMENT
LOWtools/discord/format-for-discord.sh1#!/bin/bashCOMMENT
LOWtools/discord/format-for-discord.sh41# Discord syntax is standard markdown: [title](url)COMMENT
LOWtools/discord/macos-clipboard-to-discord.sh1#!/bin/bashCOMMENT
LOWtools/storage/set_scoped_storage.sh41COMMENT
LOWtools/quality-check/old_emulator.sh1#!/bin/bashCOMMENT
LOWtools/quality-check/start_all_emulators.sh1#!/bin/bashCOMMENT
LOWtools/lib/bash-util.sh1#!/bin/bashCOMMENT
LOWtools/lib/bash-util.sh21# Executes the given command, discarding any output to stdout or stderr.COMMENT
LOWtools/lib/git-util.sh41# Outputs the abbreviated SHA for the given commit.COMMENT
LOWtools/lib/git-util.sh61# stdin:COMMENT
LOWtools/lib/googlecode_upload.py1#!/usr/bin/env pythonCOMMENT
LOWtools/lib/googlecode_upload.py21# Note that the upload script requests that you enter yourCOMMENT
LOWtools/localization/tsconfig.json21 // "jsxFactory": "", /* Specify the JSX factory function used when targeting ReaCOMMENT
LOWtools/localization/tsconfig.json41 // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from exCOMMENT
LOWtools/localization/tsconfig.json61 // "mapRoot": "", /* Specify the location where debugger should locate map fiCOMMENT
LOWtools/localization/tsconfig.json81 "strict": true /* Enable all strict type-checking options. */,COMMENT
LOWtools/localization/src/constants.ts61 "11-arrays",COMMENT
LOW…ain/java/com/ichi2/anki/compat/PackageManagerCompat.kt201 MATCH_SYSTEM_ONLY_L,COMMENT
LOWgradle/libs.versions.toml21#COMMENT
LOW…iDroid/src/test/java/com/ichi2/anki/TranslationTest.kt201 // TR.studyingAgain()COMMENT
LOW…iDroid/src/test/java/com/ichi2/anki/TranslationTest.kt221 // TR.browsingSidebarCollapse()COMMENT
LOW…iDroid/src/test/java/com/ichi2/anki/TranslationTest.kt301 // TR.statisticsReviewsTitle()COMMENT
LOW…kiDroid/src/test/java/com/ichi2/anki/NoteEditorTest.kt201 noteEditor.saveNote()COMMENT
LOWAnkiDroid/src/test/java/com/ichi2/anki/ReadTextTest.kt61 // at android.database.sqlite.SQLiteConnection$PreparedStatementCache.entryRemoved(SQLiteConnection.java:1361COMMENT
LOW…/ui/internationalization/ComposableTranslationsTest.kt101 // TODO these three backend strings come with extra FSI and PDI character types whichCOMMENT
LOWAnkiDroid/src/main/java/com/ichi2/anki/Reviewer.kt181 // A flag that determines if the SchedulingStates in CurrentQueueState areCOMMENT
LOWAnkiDroid/src/main/java/com/ichi2/anki/CardBrowser.kt681 }COMMENT
LOW…oid/src/main/java/com/ichi2/anki/NoteEditorFragment.kt2821 ) {COMMENT
LOW…om/ichi2/anki/servicelayer/PreferenceUpgradeService.kt601COMMENT
LOWAnkiDroid/src/main/assets/changelog.html141#header>h1:only-child{border-bottom:1px solid #dddddf;padding-bottom:8px}COMMENT
LOWAnkiDroid/src/main/assets/changelog.html161@media screen and (min-width:768px){#toctitle{font-size:1.375em}COMMENT
LOW…/src/test/java/com/ichi2/anki/libanki/SchedulerTest.kt81 // // the default order should ensure siblings are not seen together, andCOMMENT
LOW.github/workflows/screenshot_comment.yml1# Adapted from https://github.com/takahirom/roborazzi/blob/4be7f304fa23f2f00fad67ab612aec2035ac9db2/.github/workflows/CoCOMMENT
LOW.github/workflows/screenshot_store.yml1# ⚠️ Do not rename the file - screenshot_store.yml is referenced by screenshot_compare.ymlCOMMENT
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/codeql.yml61 # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or bothCOMMENT
LOW.github/workflows/screenshot_compare.yml1# Adapted from https://github.com/takahirom/roborazzi/blob/4be7f304fa23f2f00fad67ab612aec2035ac9db2/.github/workflows/CoCOMMENT
LOW.github/workflows/opencollective_notices.yml101 } catch (e) {COMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH.github/report_test_failures.py57except (ValueError, TypeError):CODE
HIGH.github/report_test_failures.py63except (ValueError, TypeError):CODE
HIGH.github/report_test_failures.py49except (ValueError, TypeError):CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtools/google-play.py111 # Create an httplib2.Http object to handle our HTTP requests and authorize itCOMMENT
MEDIUMtools/release.sh38# Define the location of the manifest fileCOMMENT
MEDIUMtools/release.sh194# Create a full universal build that disables minify, to help diagnose proguard issuesCOMMENT
AI Slop Vocabulary4 hits · 8 pts
SeverityFileLineSnippetContext
LOWjitpack.yml8# https://jitpack.io/com/github/ankidroid/Anki-Android/v2.18alpha7/build.log (just use a recent tag,COMMENT
MEDIUM…/anki/ui/windows/reviewer/whiteboard/WhiteboardView.kt245 // which makes it more robust for path operations.COMMENT
MEDIUM…rc/main/java/com/ichi2/anki/dialogs/tags/TagsDialog.kt412 // utilize the addTagFilter to append '::' properly by appending a space to prefixTagCOMMENT
MEDIUM…in/java/com/ichi2/anki/services/NotificationService.kt341 // Essentially the same as above, but only check through cards in the provided deck or its sSTRING
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/list-of-translators.sh2# Usage:COMMENT
LOWtools/compare-screenshot-test.sh4# Usage:COMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…/test/java/com/ichi2/anki/account/LoginFragmentTest.kt47 activity.findViewById<TextInputEditText>(R.id.username).setText("user@example.com")CODE
LOW…/src/test/java/com/ichi2/anki/pages/DeckOptionsTest.kt149 manualUrl.buildUpon().encodedAuthority("docs.ankiweb.net@example.org").build(),CODE
LOW…/src/main/res/layout/fragment_my_account_logged_in.xml69 tools:text="user@example.com"CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…rc/main/java/com/ichi2/anki/AbstractFlashcardViewer.kt8// TODO: implement own menu? http://www.codeproject.com/Articles/173121/Android-Menus-My-WayCOMMENT
LOW…2/anki/preferences/profiles/SwitchProfilesViewModel.kt67 // TODO: implement profile deletion via ProfileManagerCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/codeql.yml64 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/report_test_failures.py68CODE
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/workflows/cancel_merge_queue_runs.yml51 async function findUnfinishedMergeGroupRuns(branch) {CODE