AI Slop Code RIsk Monitor

onevcat/Kingfisher

A lightweight, pure-Swift library for downloading and caching images from the web.

9.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for onevcat/Kingfisher, a Swift project with 24,404 GitHub stars. SynthScan examined 52,721 lines of code across 295 source files, recording 438 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 9.0 (Moderate 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.

9.0
Adjusted Signal
9.0
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
24.4K
Stars
Swift
Language
52.7K
Lines of Code
295
Files
438
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 34.7/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 2.6/100 · LOW

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

PR Review Velocity Impact 36.6/100 · MEDIUM

Which changes need focused human review? 438 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 0HIGH 0MEDIUM 21LOW 417

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 438 distinct pattern matches across 6 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 Block405 hits · 398 pts
SeverityFileLineSnippetContext
LOWDemo/Demo/Kingfisher-macOS-Demo/ViewController.swift1//COMMENT
LOW…emo/Kingfisher-macOS-Demo/GIFHeavyViewController.swift1//COMMENT
LOW…Demo/Kingfisher-macOS-Demo/SwiftUIViewController.swift1//COMMENT
LOWDemo/Demo/Kingfisher-macOS-Demo/AppDelegate.swift1//COMMENT
LOWDemo/Demo/Kingfisher-Demo/AppDelegate.swift1//COMMENT
LOWDemo/Demo/Kingfisher-Demo/Resources/ImageLoader.swift1//COMMENT
LOW…o/Kingfisher-Demo/SwiftUIViews/AnimatedImageDemo.swift1//COMMENT
LOW…/Kingfisher-Demo/SwiftUIViews/GeometryReaderDemo.swift1//COMMENT
LOW…Kingfisher-Demo/SwiftUIViews/ProgressiveJPEGDemo.swift1//COMMENT
LOW…Kingfisher-Demo/SwiftUIViews/SizingAnimationDemo.swift1//COMMENT
LOWDemo/Demo/Kingfisher-Demo/SwiftUIViews/GridDemo.swift1//COMMENT
LOW…Demo/Kingfisher-Demo/SwiftUIViews/SingleViewDemo.swift1//COMMENT
LOW…Demo/Kingfisher-Demo/SwiftUIViews/LazyVStackDemo.swift1//COMMENT
LOWDemo/Demo/Kingfisher-Demo/SwiftUIViews/ListDemo.swift1//COMMENT
LOWDemo/Demo/Kingfisher-Demo/SwiftUIViews/MainView.swift1//COMMENT
LOW…/Kingfisher-Demo/SwiftUIViews/TransitionViewDemo.swift1//COMMENT
LOW…/Kingfisher-Demo/SwiftUIViews/LoadingFailureDemo.swift1//COMMENT
LOW…mo/Kingfisher-Demo/SwiftUIViews/PhotosPickerDemo.swift1//COMMENT
LOW…/Kingfisher-Demo/SwiftUIViews/LoadTransitionDemo.swift1//COMMENT
LOW…isher-Demo/SwiftUIViews/Regression/Issue2035View.swift1//COMMENT
LOW…isher-Demo/SwiftUIViews/Regression/Issue1998View.swift1//COMMENT
LOW…isher-Demo/SwiftUIViews/Regression/Issue2295View.swift1//COMMENT
LOW…isher-Demo/SwiftUIViews/Regression/Issue2352View.swift1//COMMENT
LOW…/Extensions/UIViewController+KingfisherOperation.swift1//COMMENT
LOW…sher-Demo/ViewControllers/GIFHeavyViewController.swift1//COMMENT
LOW…ViewControllers/InfinityCollectionViewController.swift1//COMMENT
LOW…iewControllers/IndicatorCollectionViewController.swift1//COMMENT
LOW…isher-Demo/ViewControllers/SwiftUIViewController.swift1//COMMENT
LOW…ngfisher-Demo/ViewControllers/MainViewController.swift1//COMMENT
LOW…r-Demo/ViewControllers/DetailImageViewController.swift1//COMMENT
LOW…wControllers/AVAssetImageGeneratorViewController.swift1//COMMENT
LOW…emo/ViewControllers/TextAttachmentViewController.swift1//COMMENT
LOW…iewControllers/ProcessorCollectionViewController.swift1//COMMENT
LOW…mo/ViewControllers/ProgressiveJPEGViewController.swift1//COMMENT
LOW…ollers/ImageDataProviderCollectionViewController.swift1//COMMENT
LOW…her-Demo/ViewControllers/LivePhotoViewController.swift1//COMMENT
LOW…mo/ViewControllers/AutoSizingTableViewController.swift1//COMMENT
LOW…emo/ViewControllers/PHPickerResultViewController.swift1//COMMENT
LOW…her-Demo/ViewControllers/ImageCollectionViewCell.swift1//COMMENT
LOW…ntrollers/HighResolutionCollectionViewController.swift1//COMMENT
LOW…/ViewControllers/OrientationImagesViewController.swift1//COMMENT
LOW…er-Demo/ViewControllers/TransitionViewController.swift1//COMMENT
LOW…Demo/ViewControllers/NormalLoadingViewController.swift1//COMMENT
LOW…ingfisher-Demo/ViewControllers/GIFViewController.swift1//COMMENT
LOW…isher-watchOS-Demo Extension/InterfaceController.swift1//COMMENT
LOW…gfisher-watchOS-Demo Extension/ExtensionDelegate.swift1//COMMENT
LOWDemo/Demo/Kingfisher-tvOS-Demo/AppDelegate.swift1//COMMENT
LOWTests/KingfisherTests/KingfisherTestHelper.swift1//COMMENT
LOWTests/KingfisherTests/ImageModifierTests.swift1//COMMENT
LOWTests/KingfisherTests/ImageDownloaderTests.swift1//COMMENT
LOWTests/KingfisherTests/RetryStrategyTests.swift1//COMMENT
LOWTests/KingfisherTests/KingfisherManagerTests.swift1//COMMENT
LOWTests/KingfisherTests/MemoryStorageTests.swift1//COMMENT
LOWTests/KingfisherTests/ImageBinderTests.swift1//COMMENT
LOWTests/KingfisherTests/ImageCacheTests.swift1//COMMENT
LOWTests/KingfisherTests/ImageCacheTests.swift1041 ///COMMENT
LOWTests/KingfisherTests/KingfisherTests-Bridging-Header.h1//COMMENT
LOW…ngfisherTests/ImageDataProviderCancellationTests.swift1//COMMENT
LOW…ngfisherTests/ImageDataProviderCancellationTests.swift21// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THECOMMENT
LOWTests/KingfisherTests/ImageExtensionTests.swift1//COMMENT
345 more matches not shown…
Excessive Try-Catch Wrapping12 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMCHANGELOG.md746 .onFailure { err in print("Error: \(err)") }CODE
MEDIUMDemo/Demo/Kingfisher-Demo/SwiftUIViews/ListDemo.swift60 print("Error \(self.index): \(e)")CODE
MEDIUM…/ViewControllers/OrientationImagesViewController.swift66 .onFailure { err in print("Error: \(err)") }CODE
MEDIUM…emo/ViewControllers/NetworkMetricsViewController.swift235 print("Error: \(error)")CODE
MEDIUM…Demo/ViewControllers/NormalLoadingViewController.swift65 .onFailure { err in print("Error: \(err)") }CODE
MEDIUMSources/Extensions/PHLivePhotoView+Kingfisher.swift132 /// print("Error: \(error)")COMMENT
MEDIUMSources/Extensions/PHLivePhotoView+Kingfisher.swift176 /// print("Error: \(error)")COMMENT
MEDIUMSources/Documentation.docc/CHANGELOG.md746 .onFailure { err in print("Error: \(err)") }CODE
MEDIUM…ation.docc/Resources/code-files/02-ContentView-6.swift25 print("Error: \(error)")CODE
MEDIUM…on.docc/Resources/code-files/01-ViewController-9.swift7 print("Error: \(error)")CODE
MEDIUMSources/Documentation.docc/Topics/Topic_LivePhoto.md43 print("Error: \(error)")CODE
MEDIUM⚡Sources/Documentation.docc/Topics/Topic_LivePhoto.md88 print("Error: \(error)")CODE
AI Slop Vocabulary9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMSources/General/KFOptionsSetter.swift125 /// Kingfisher will utilize the associated ``ImageCache`` object when performing related operations,COMMENT
MEDIUMSources/General/KFOptionsSetter.swift162 /// Kingfisher will utilize the specified ``ImageDownloader`` instance to download requested images.COMMENT
MEDIUMSources/General/KingfisherManager.swift137/// You can utilize this class to retrieve an image via a specified URL from the web or cache.COMMENT
MEDIUMSources/General/KingfisherOptionsInfo.swift35/// You can utilize the enum of option items with values to control certain behaviors of Kingfisher.COMMENT
MEDIUMSources/General/KingfisherOptionsInfo.swift45 /// Kingfisher will utilize the associated ``ImageCache`` object when performing related operations, such asCOMMENT
MEDIUMSources/General/KingfisherOptionsInfo.swift64 /// Kingfisher will utilize the associated ``ImageDownloader`` object to download the requested images.COMMENT
MEDIUMSources/General/KingfisherOptionsInfo.swift269 /// for all items. If this option is set, the ``MemoryStorage/Backend`` will utilize the associated value toCOMMENT
MEDIUMSources/General/KingfisherOptionsInfo.swift288 /// for all items. If this option is set, the ``DiskStorage/Backend`` will utilize the associated value to overrideCOMMENT
MEDIUMSources/Networking/SessionDataTask.swift31/// Essentially, a ``SessionDataTask`` wraps a `URLSessionDataTask` and manages the download data.COMMENT
Structural Annotation Overuse7 hits · 15 pts
SeverityFileLineSnippetContext
LOWTests/KingfisherTests/StaleCacheTests.swift591 // Step 1: Start url1's retrieval. Its ioQueue block will enter theCOMMENT
LOW⚡Tests/KingfisherTests/StaleCacheTests.swift607 // Step 2: Wait (on background) for url1's serializer to start,COMMENT
LOW⚡Tests/KingfisherTests/StaleCacheTests.swift613 // Step 3: url1's token is now cancelled by the second setImage.COMMENT
LOW⚡Tests/KingfisherTests/StaleCacheTests.swift623 // Step 4: Let url1's serializer proceed. CHECK 3 will detectCOMMENT
LOW⚡Sources/Documentation.docc/Topics/Topic_LivePhoto.md61### Step 1: Import Required Frameworks and Set Up PHLivePhotoViewCOMMENT
LOW⚡Sources/Documentation.docc/Topics/Topic_LivePhoto.md71### Step 2: Prepare URLsCOMMENT
LOW⚡Sources/Documentation.docc/Topics/Topic_LivePhoto.md79### Step 3: Load the Live PhotoCOMMENT
Verbosity Indicators4 hits · 8 pts
SeverityFileLineSnippetContext
LOWTests/KingfisherTests/StaleCacheTests.swift591 // Step 1: Start url1's retrieval. Its ioQueue block will enter theCOMMENT
LOW⚡Tests/KingfisherTests/StaleCacheTests.swift607 // Step 2: Wait (on background) for url1's serializer to start,COMMENT
LOW⚡Tests/KingfisherTests/StaleCacheTests.swift613 // Step 3: url1's token is now cancelled by the second setImage.COMMENT
LOW⚡Tests/KingfisherTests/StaleCacheTests.swift623 // Step 4: Let url1's serializer proceed. CHECK 3 will detectCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWSources/Networking/ImageDataProcessor.swift33final class ImageDataProcessor: Sendable {CODE