AI Slop Code Risk Monitor

Kareadita/Kavita

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

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Kareadita/Kavita, a C# project with 11,987 GitHub stars. SynthScan examined 989,528 lines of code across 3574 source files, recording 497 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.6 (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.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
12.0K
Stars
C#
Language
989.5K
Lines of Code
3.6K
Files
497
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 2.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 2.7/100 · LOW

Which changes need focused human review? 497 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 3HIGH 0MEDIUM 7LOW 487

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

Over-Commented Block440 hits · 440 pts
SeverityFileLineSnippetContext
LOWentrypoint.sh1#! /bin/bashCOMMENT
LOWentrypoint.sh41# chown -R "$PUID" /kavita/configCOMMENT
LOW…b/src/app/dashboard/_components/dashboard.component.ts261 increment() {COMMENT
LOWUI/Web/src/app/_models/metadata/v2/filter-comparison.ts21 NotEqual = 9,COMMENT
LOW…ule/publisher-flipper/publisher-flipper.component.scss1//COMMENT
LOW…s/v0.9.1/ManualMigrateEpubFontFamilyDetailsBackfill.cs21 ///COMMENT
LOW…s/v0.9.1/ManualMigrateEpubFontFamilyDetailsBackfill.cs41 // Current font list at this stage of program execution already includesCOMMENT
LOWKavita.Server/Controllers/ReaderController.cs1141 /// Check if we should prompt the user for rereads for the given volumeCOMMENT
LOWKavita.Server/Controllers/FilterController.cs241 /// Encode an Annotation FilterCOMMENT
LOWKavita.Server/Controllers/AccountController.cs61COMMENT
LOWKavita.Server/Controllers/DeviceController.cs201COMMENT
LOWKavita.Server/Controllers/BaseApiController.cs41 /// <summary>COMMENT
LOWKavita.Server/Controllers/BaseApiController.cs101 /// ETag is generated from SHA256 hash of the content.COMMENT
LOWKavita.Server/Controllers/ReadingListController.cs121 /// <summary>COMMENT
LOWKavita.Server/Controllers/ReadingProfileController.cs21{COMMENT
LOWKavita.Server/Controllers/SearchController.cs41 /// <summary>COMMENT
LOWKavita.Server/Controllers/OPDSController.cs681 };COMMENT
LOWKavita.Server/Logging/LogLevelOptions.cs21 /// </summary>COMMENT
LOWKavita.Services/ArchiveService.cs181 var result = fullNamesCOMMENT
LOWKavita.Services/ArchiveService.cs261 /// <summary>COMMENT
LOWKavita.Services/ImageService.cs541 {COMMENT
LOWKavita.Services/SeriesService.cs641 /// </summary>COMMENT
LOWKavita.Services/DirectoryService.cs1041 public void RemoveNonImages(string directoryName)COMMENT
LOWKavita.Services/DirectoryService.cs1061 /// becomes:<para />COMMENT
LOWKavita.Services/FontService.cs21COMMENT
LOWKavita.Services/BookService.cs1081 if (foundTarget) return;COMMENT
LOWKavita.Services/BookService.cs1561 /// <param name="doc">Html Doc that will be appended to</param>COMMENT
LOWKavita.Services/TaskScheduler.cs901 /// <summary>COMMENT
LOWKavita.Services/VersionUpdaterService.cs21internal class GithubReleaseMetadataCOMMENT
LOWKavita.Services/VersionUpdaterService.cs81 /// <summary>COMMENT
LOWKavita.Services/Reading/ReaderService.cs341COMMENT
LOWKavita.Services/ReadingLists/ReadingListService.cs281 }COMMENT
LOWKavita.Services/Scanner/DefaultParser.cs41 /// <summary>COMMENT
LOWKavita.Services/Scanner/ScanJob.cs1using System;COMMENT
LOWKavita.Services/Scanner/Parser.cs61 /// non-greedy matching of a string where parenthesis are balancedCOMMENT
LOWKavita.Services/Scanner/Parser.cs1201 }COMMENT
LOWKavita.Services/Scanner/Parser.cs1221 return Uri.UnescapeDataString(query).Trim().Replace(@"%", string.Empty)COMMENT
LOWKavita.Services/Scanner/Parser.cs1261 /// <summary>COMMENT
LOWKavita.Services/Scanner/ParseScannedFiles.cs61COMMENT
LOWKavita.Services/Scanner/ParseScannedFiles.cs81COMMENT
LOWKavita.Services/Scanner/ParseScannedFiles.cs101 public TimeSpan GroupTime { get; private set; }COMMENT
LOWKavita.Services/Scanner/ParseScannedFiles.cs941COMMENT
LOWKavita.Services/Metadata/CoverDbService.cs81 /// <summary>COMMENT
LOWKavita.Services/Helpers/PdfMetadataExtractor.cs21// %PDF-1.4 ← HeaderCOMMENT
LOWKavita.Services/Helpers/PdfMetadataExtractor.cs41// << /Size 6 /Root 1 0 R /Info 2 0 R >>COMMENT
LOWKavita.Services/Helpers/KoreaderHelper.cs21 private static partial Regex JustNumber();COMMENT
LOWKavita.Services/Plus/ScrobblingService.cs61 /// K+ licenseCOMMENT
LOWKavita.Services/Plus/ScrobblingService.cs801 }COMMENT
LOWKavita.Services/Plus/ExternalMetadataService.cs2861COMMENT
LOWKavita.Models/Misc/Chunk.cs1namespace Kavita.Models.Misc;COMMENT
LOWKavita.Models/Misc/CacheSource.cs1namespace Kavita.Models.Misc;COMMENT
LOWKavita.Models/Constants/PolicyGroups.cs1namespace Kavita.Models.Constants;COMMENT
LOWKavita.Models/Constants/CacheProfiles.cs1namespace Kavita.Models.Constants;COMMENT
LOWKavita.Models/Constants/CacheProfiles.cs21 public const string LicenseInfo = "licenseInfo";COMMENT
LOWKavita.Models/Constants/PolicyConstants.cs1using System.Collections.Immutable;COMMENT
LOWKavita.Models/Constants/PolicyConstants.cs21 public const string DownloadRole = "Download";COMMENT
LOWKavita.Models/Parser/KnownFile.cs1using System;COMMENT
LOWKavita.Models/Parser/ParserInfo.cs21 /// Represents the parsed series from the file or folderCOMMENT
LOWKavita.Models/Parser/ParserInfo.cs41 /// <example>Beastars v01 (digital).cbz</example>COMMENT
LOWKavita.Models/Parser/ParserInfo.cs61 public IReadOnlyList<string> UnchangedFiles { get; set; } = [];COMMENT
380 more matches not shown…
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALKavita.Services/BookService.cs727 var person = epubBook.Schema.Package.Metadata.Creators.SingleOrDefault(c => c.Id == creatorId);CODE
CRITICALKavita.Database/Repositories/UserRepository.cs263 .Where(c => c.Volume.Series.Library.AppUsers.Any(user => user.Id == userId))CODE
CRITICALKavita.Database/Repositories/UserRepository.cs293 .Where(c => c.Volume.Series.Library.AppUsers.Any(user => user.Id == userId))CODE
Verbosity Indicators11 hits · 21 pts
SeverityFileLineSnippetContext
LOWUI/Web/src/app/shared/_services/download.service.ts659 // We need to check if this instance has items or notCOMMENT
LOW…der/_components/manga-reader/manga-reader.component.ts1015 // If we are in double mode, we need to check if our current page is on a right edge or not, if so adjust by decrementCOMMENT
LOW…eader/_components/book-reader/book-reader.component.ts1602 // We need to check if we are paging back, because we need to adjust the scrollCOMMENT
LOWKavita.Services/DirectoryService.cs1129 // We need to check if the directory is not a blacklisted (ie __MACOSX)COMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs38 // Step 1: Delete any images that have _output in the nameCOMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs45 // Step 2: Scan the _testDirectory for imagesCOMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs51 // Step 3: Process each imageCOMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs127 // Step 1: Delete any images that have _output in the nameCOMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs134 // Step 2: Scan the _testDirectory for imagesCOMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs140 // Step 3: Process each imageCOMMENT
LOWKavita.Services.Tests/ImageServiceTests.cs153 // Step 4: Generate HTML fileCOMMENT
Fake / Example Data19 hits · 19 pts
SeverityFileLineSnippetContext
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs3706 Assert.Equal(["John Doe"], postSeries.Metadata.People.Where(p => p.Role == PersonRole.Writer).Select(p => p.PersCODE
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs3785 Assert.Equal(new[]{"John Doe", "Johnny Twowheeler"}.OrderBy(s => s),CODE
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs3790 .FirstOrDefault(p => p.Person.Name == "John Doe")!.KavitaPlusConnection);CODE
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs3912 Assert.Equal(new[]{"John Doe"}.OrderBy(s => s),CODE
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs3948 context.Person.Add(new PersonBuilder("John Doe").Build());CODE
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs3991 context.Person.Add(new PersonBuilder("John Doe").WithAlias("Doe John").Build());CODE
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs4048 Staff = [CreateStaff("John", "Doe Doe", "Story"), CreateStaff("Doe", "John Doe", "Story")]CODE
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs4128 Assert.Equal(["John Doe"], postSeries.Metadata.People.Where(p => p.Role == PersonRole.Character).Select(p => p.PCODE
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs4207 Assert.Equal(new[]{"John Doe", "Johnny Twowheeler"}.OrderBy(s => s),CODE
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs4212 .FirstOrDefault(p => p.Person.Name == "John Doe")!.KavitaPlusConnection);CODE
LOWKavita.Services.Tests/ExternalMetadataServiceTests.cs4334 Assert.Equal(new[]{"John Doe"}.OrderBy(s => s),CODE
LOWKavita.Services.Tests/Extensions/PersonFilterTests.cs25 new PersonBuilder("Jane Doe").Build()CODE
LOWKavita.Services.Tests/Extensions/PersonFilterTests.cs55 Assert.Equal("Jane Doe", result[0].Name);CODE
LOWKavita.Services.Tests/Extensions/PersonFilterTests.cs83 Assert.Equal("Jane Doe", result[0].Name);CODE
LOWKavita.Services.Tests/Helpers/PersonHelperTests.cs67 var existingPerson2 = new PersonBuilder("Jane Doe").Build();CODE
LOWKavita.Services.Tests/Helpers/PersonHelperTests.cs90 Assert.DoesNotContain(people, p => p.Name == "Jane Doe");CODE
LOWKavita.Services.Tests/Helpers/PersonHelperTests.cs94 Assert.DoesNotContain("Jane Doe", chapterPeople);CODE
LOWscripts/generate_readinglists.py27 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor "CODE
LOWscripts/generate_readinglists.py27 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor "CODE
Structural Annotation Overuse7 hits · 15 pts
SeverityFileLineSnippetContext
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs38 // Step 1: Delete any images that have _output in the nameCOMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs45 // Step 2: Scan the _testDirectory for imagesCOMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs51 // Step 3: Process each imageCOMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs127 // Step 1: Delete any images that have _output in the nameCOMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs134 // Step 2: Scan the _testDirectory for imagesCOMMENT
LOW⚡Kavita.Services.Tests/ImageServiceTests.cs140 // Step 3: Process each imageCOMMENT
LOWKavita.Services.Tests/ImageServiceTests.cs153 // Step 4: Generate HTML fileCOMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…/src/app/manga-reader/_service/manga-reader.service.ts262 // Multiple criteria for more robust detectionCOMMENT
MEDIUMKavita.Models/DTOs/Koreader/KoreaderBookDto.cs29 /// Essentially, it is Koreader's equivalent to ProgressDto.BookScrollId.COMMENT
MEDIUMKavita.API/Services/Scanner/IFolderWatchService.cs20 /// Essentially stops then starts watching. Useful if there is a change in folders or librariesCOMMENT
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMKavita.Services.Tests/FileCacheServiceTests.cs36 // ── GetOrFetchAsync ───────────────────────────────────────────────────────COMMENT
MEDIUMKavita.Services.Tests/FileCacheServiceTests.cs168 // ── Invalidate ────────────────────────────────────────────────────────────COMMENT
MEDIUMKavita.Services.Tests/FileCacheServiceTests.cs189 // ── InvalidatePrefix ──────────────────────────────────────────────────────COMMENT
Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippetContext
LOW….9.2/manual-migration-remove-persisted-translations.ts15export function manualMigrationRemovePersistedTranslations() {CODE
LOWUI/Web/src/app/_helpers/form-debug.ts12export function analyzeFormGroupValidation(formGroup: FormGroup, basePath: string = ''): ValidationIssue[] {CODE
LOWUI/Web/src/app/_helpers/form-debug.ts90export function getFormGroupValidationReport(formGroup: FormGroup, basePath: string = ''): string {CODE
LOWUI/Web/src/app/_interceptors/error.interceptor.ts137function handlePayloadTooLargeException(toastr: ToastrService) {CODE
LOW…etadata-mappings/manage-metadata-mappings.component.ts71export function toMetadataMappingsFormModel(settings: MetadataSettings): MetadataMappingsFormModel {CODE
LOW…metadata-form/edit-external-metadata-form.component.ts21export function applyExternalMetadataIdRules(p: SchemaPathTree<IHasMetadataIds>): void {CODE
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOWKavita.Services/Scanner/Parser.cs18 // NOTE: If you change this, don't forget to change in the UI (see Series Detail)COMMENT
LOWKavita.Services/Scanner/Parser.cs32 public const string ImageFileExtensions = @"(\.png|\.jpeg|\.jpg|\.webp|\.gif|\.avif)"; // Don't forget to update CovCODE
LOW.github/ISSUE_TEMPLATE/bug_report.yml13 description: Don't forget to tell us what steps you took so we can try to reproduce.CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMUI/Web/README.md10## Code scaffoldingCOMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/ScanReport/scan_report.py135CODE