AI Slop Code Risk Monitor

iina/iina

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

The modern video player for macOS.

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for iina/iina, a Swift project with 46,965 GitHub stars. SynthScan examined 91,788 lines of code across 375 source files, recording 191 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 2.2 (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.

2.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
47.0K
Stars
Swift
Language
91.8K
Lines of Code
375
Files
191
Pattern Hits
2026-10-31
Scan Date
0.01
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 10.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 191 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 0.0/100 · LOW

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

PR Review Velocity Impact 10.6/100 · LOW

Which changes need focused human review? 191 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 2MEDIUM 2LOW 187

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 191 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 Block184 hits · 184 pts
SeverityFileLineSnippetContext
LOWiina/write_info_plist_header.sh1#!/bin/shCOMMENT
LOWiina/JavascriptAPIEvent.swift1//COMMENT
LOWiina/PlayerCore.swift1//COMMENT
LOWiina/PlayerCore.swift161 private var _touchBarSupport: Any?COMMENT
LOWiina/PlayerCore.swift261 /// - Returns:value of the mpv option `ab-loop-a`COMMENT
LOWiina/PlayerCore.swift521 }COMMENT
LOWiina/PlayerCore.swift701 /// **must not** be called.COMMENT
LOWiina/PlayerCore.swift721 /// Notify the task running in the background queue it should stop.COMMENT
LOWiina/PlayerCore.swift761 }COMMENT
LOWiina/PlayerCore.swift941 ///COMMENT
LOWiina/PlayerCore.swift1041 mainWindow.videoView.displayActive()COMMENT
LOWiina/PlayerCore.swift1181 if !saveToFile {COMMENT
LOWiina/PlayerCore.swift1581COMMENT
LOWiina/PlayerCore.swift1761 } else {COMMENT
LOWiina/PlayerCore.swift1781 /// - Returns: `true` if the filter was successfully removed, `false` otherwise.COMMENT
LOWiina/PlayerCore.swift1841 }COMMENT
LOWiina/PlayerCore.swift1881 /// Remove an audio filter given as a string.COMMENT
LOWiina/PlayerCore.swift1901 /// This function obtains the list of audio devices from mpv using theCOMMENT
LOWiina/PlayerCore.swift1921 ///COMMENT
LOWiina/PlayerCore.swift2681COMMENT
LOWiina/FFmpegController.m1//COMMENT
LOWiina/FFmpegController.m481 return NULL;COMMENT
LOWiina/MainWindowController.swift781 player.events.emit(.windowLoaded)COMMENT
LOWiina/MainWindowController.swift1481 NSMenu.setMenuBarVisible(true)COMMENT
LOWiina/MainWindowController.swift1641 additionalInfoView.isHidden = trueCOMMENT
LOWiina/MainWindowController.swift2181 // Big Sur that method now calls "window.styleMask.remove(.titled)". Removing titled from theCOMMENT
LOWiina/MainWindowController.swift2201 // Sometimes the doc icon may not be available, eg. when opened an online video.COMMENT
LOWiina/MainWindowController.swift2321 /// thumbnail to fully fit in the window. Otherwise the thumbnail must be displayed below the OSC's progress bar.COMMENT
LOWiina/HistoryController.swift1//COMMENT
LOWiina/VideoTime.swift21 /// Return this time as a string with the given precision.COMMENT
LOWiina/PlaySlider.swift1//COMMENT
LOWiina/PlaySlider.swift61 controlSize = .smallCOMMENT
LOWiina/PlaySlider.swift101 // the NSView method does or even if it needs to be called by subclasses.COMMENT
LOWiina/OpenSubClient.swift1//COMMENT
LOWiina/OpenSubClient.swift21/// Thus this is more than a switch from a XMLRPC API to a REST API, it also involves a migration from `opensubtitles.orCOMMENT
LOWiina/OpenSubClient.swift41/// request header is hardcoded to IINA's keyCOMMENT
LOWiina/OpenSubClient.swift61 case contentMissing(statusCode: Int?)COMMENT
LOWiina/OpenSubClient.swift101COMMENT
LOWiina/OpenSubClient.swift141 private var rateLimiter = RateLimiter()COMMENT
LOWiina/OpenSubClient.swift161 ///COMMENT
LOWiina/OpenSubClient.swift261 }COMMENT
LOWiina/OpenSubClient.swift341 }COMMENT
LOWiina/OpenSubClient.swift461 /// Form the base URL to append a REST API method to.COMMENT
LOWiina/OpenSubClient.swift601 /// REST API call rate limiter.COMMENT
LOWiina/OpenSubClient.swift621 /// credentials if user fail to authenticate.COMMENT
LOWiina/OpenSubClient.swift761 /// [Subtitle](https://opensubtitles.stoplight.io/docs/opensubtitles-api/573f76acc1493-subtitle) model.COMMENT
LOWiina/OpenSubClient.swift801#endifCOMMENT
LOWiina/MemoryUsage.swift1//COMMENT
LOWiina/KeyCodeHelper.swift101 // 0x37: ("Command", nil),COMMENT
LOWiina/HardwareDecodeCapabilities.swift1//COMMENT
LOWiina/SidebarVideoPane.swift541 /// Return the slider value that represents the given playback speed.COMMENT
LOWiina/MiniPlaySlider.swift1//COMMENT
LOWiina/OSDMessage.swift1//COMMENT
LOWiina/OSDMessage.swift541 }COMMENT
LOWiina/OSDMessage.swift561// case .audioDelay, .subDelay, .secondSubDelay:COMMENT
LOWiina/AccessibilityPreferences.swift1//COMMENT
LOWiina/AccessibilityPreferences.swift21 ///COMMENT
LOWiina/FFmpegLogger.swift1//COMMENT
LOWiina/LanguageTokenField.swift1//COMMENT
LOWiina/Logger.swift1//COMMENT
124 more matches not shown…
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHdeps/include/libavformat/avformat.h1487#define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Add bitstream filters as requested by the muxerCOMMENT
HIGHdeps/include/libavformat/avformat.h1487#define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Add bitstream filters as requested by the muxerCOMMENT
AI Slop Vocabulary2 hits · 2 pts
SeverityFileLineSnippetContext
MEDIUMiina/PlayerCore.swift2689 /// that call for an app to avoid needless energy use. [Minimizing Timer Usage](https://developer.apple.com/library/arSTRING
LOWdeps/include/libavformat/avformat.h1472#define AVFMT_FLAG_NOFILLIN 0x0010 ///< Do not infer any values from other values, just return what is stored in theCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWiina/write_info_plist_header.sh30# Check if git is on the path.COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWother/l10n_xib_to_strings.rb3# Usage:COMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMiina/Display.swift153 // As discussed above in the comments for this initializer, this method will return nil whenSTRING