The modern video player for macOS.
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 191 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 191 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | iina/write_info_plist_header.sh | 1 | #!/bin/sh | COMMENT |
| LOW | iina/JavascriptAPIEvent.swift | 1 | // | COMMENT |
| LOW | iina/PlayerCore.swift | 1 | // | COMMENT |
| LOW | iina/PlayerCore.swift | 161 | private var _touchBarSupport: Any? | COMMENT |
| LOW | iina/PlayerCore.swift | 261 | /// - Returns:value of the mpv option `ab-loop-a` | COMMENT |
| LOW | iina/PlayerCore.swift | 521 | } | COMMENT |
| LOW | iina/PlayerCore.swift | 701 | /// **must not** be called. | COMMENT |
| LOW | iina/PlayerCore.swift | 721 | /// Notify the task running in the background queue it should stop. | COMMENT |
| LOW | iina/PlayerCore.swift | 761 | } | COMMENT |
| LOW | iina/PlayerCore.swift | 941 | /// | COMMENT |
| LOW | iina/PlayerCore.swift | 1041 | mainWindow.videoView.displayActive() | COMMENT |
| LOW | iina/PlayerCore.swift | 1181 | if !saveToFile { | COMMENT |
| LOW | iina/PlayerCore.swift | 1581 | COMMENT | |
| LOW | iina/PlayerCore.swift | 1761 | } else { | COMMENT |
| LOW | iina/PlayerCore.swift | 1781 | /// - Returns: `true` if the filter was successfully removed, `false` otherwise. | COMMENT |
| LOW | iina/PlayerCore.swift | 1841 | } | COMMENT |
| LOW | iina/PlayerCore.swift | 1881 | /// Remove an audio filter given as a string. | COMMENT |
| LOW | iina/PlayerCore.swift | 1901 | /// This function obtains the list of audio devices from mpv using the | COMMENT |
| LOW | iina/PlayerCore.swift | 1921 | /// | COMMENT |
| LOW | iina/PlayerCore.swift | 2681 | COMMENT | |
| LOW | iina/FFmpegController.m | 1 | // | COMMENT |
| LOW | iina/FFmpegController.m | 481 | return NULL; | COMMENT |
| LOW | iina/MainWindowController.swift | 781 | player.events.emit(.windowLoaded) | COMMENT |
| LOW | iina/MainWindowController.swift | 1481 | NSMenu.setMenuBarVisible(true) | COMMENT |
| LOW | iina/MainWindowController.swift | 1641 | additionalInfoView.isHidden = true | COMMENT |
| LOW | iina/MainWindowController.swift | 2181 | // Big Sur that method now calls "window.styleMask.remove(.titled)". Removing titled from the | COMMENT |
| LOW | iina/MainWindowController.swift | 2201 | // Sometimes the doc icon may not be available, eg. when opened an online video. | COMMENT |
| LOW | iina/MainWindowController.swift | 2321 | /// thumbnail to fully fit in the window. Otherwise the thumbnail must be displayed below the OSC's progress bar. | COMMENT |
| LOW | iina/HistoryController.swift | 1 | // | COMMENT |
| LOW | iina/VideoTime.swift | 21 | /// Return this time as a string with the given precision. | COMMENT |
| LOW | iina/PlaySlider.swift | 1 | // | COMMENT |
| LOW | iina/PlaySlider.swift | 61 | controlSize = .small | COMMENT |
| LOW | iina/PlaySlider.swift | 101 | // the NSView method does or even if it needs to be called by subclasses. | COMMENT |
| LOW | iina/OpenSubClient.swift | 1 | // | COMMENT |
| LOW | iina/OpenSubClient.swift | 21 | /// Thus this is more than a switch from a XMLRPC API to a REST API, it also involves a migration from `opensubtitles.or | COMMENT |
| LOW | iina/OpenSubClient.swift | 41 | /// request header is hardcoded to IINA's key | COMMENT |
| LOW | iina/OpenSubClient.swift | 61 | case contentMissing(statusCode: Int?) | COMMENT |
| LOW | iina/OpenSubClient.swift | 101 | COMMENT | |
| LOW | iina/OpenSubClient.swift | 141 | private var rateLimiter = RateLimiter() | COMMENT |
| LOW | iina/OpenSubClient.swift | 161 | /// | COMMENT |
| LOW | iina/OpenSubClient.swift | 261 | } | COMMENT |
| LOW | iina/OpenSubClient.swift | 341 | } | COMMENT |
| LOW | iina/OpenSubClient.swift | 461 | /// Form the base URL to append a REST API method to. | COMMENT |
| LOW | iina/OpenSubClient.swift | 601 | /// REST API call rate limiter. | COMMENT |
| LOW | iina/OpenSubClient.swift | 621 | /// credentials if user fail to authenticate. | COMMENT |
| LOW | iina/OpenSubClient.swift | 761 | /// [Subtitle](https://opensubtitles.stoplight.io/docs/opensubtitles-api/573f76acc1493-subtitle) model. | COMMENT |
| LOW | iina/OpenSubClient.swift | 801 | #endif | COMMENT |
| LOW | iina/MemoryUsage.swift | 1 | // | COMMENT |
| LOW | iina/KeyCodeHelper.swift | 101 | // 0x37: ("Command", nil), | COMMENT |
| LOW | iina/HardwareDecodeCapabilities.swift | 1 | // | COMMENT |
| LOW | iina/SidebarVideoPane.swift | 541 | /// Return the slider value that represents the given playback speed. | COMMENT |
| LOW | iina/MiniPlaySlider.swift | 1 | // | COMMENT |
| LOW | iina/OSDMessage.swift | 1 | // | COMMENT |
| LOW | iina/OSDMessage.swift | 541 | } | COMMENT |
| LOW | iina/OSDMessage.swift | 561 | // case .audioDelay, .subDelay, .secondSubDelay: | COMMENT |
| LOW | iina/AccessibilityPreferences.swift | 1 | // | COMMENT |
| LOW | iina/AccessibilityPreferences.swift | 21 | /// | COMMENT |
| LOW | iina/FFmpegLogger.swift | 1 | // | COMMENT |
| LOW | iina/LanguageTokenField.swift | 1 | // | COMMENT |
| LOW | iina/Logger.swift | 1 | // | COMMENT |
| 124 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | deps/include/libavformat/avformat.h | 1487 | #define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Add bitstream filters as requested by the muxer | COMMENT |
| HIGH | deps/include/libavformat/avformat.h | 1487 | #define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Add bitstream filters as requested by the muxer | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | iina/PlayerCore.swift | 2689 | /// that call for an app to avoid needless energy use. [Minimizing Timer Usage](https://developer.apple.com/library/ar | STRING |
| LOW | deps/include/libavformat/avformat.h | 1472 | #define AVFMT_FLAG_NOFILLIN 0x0010 ///< Do not infer any values from other values, just return what is stored in the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | iina/write_info_plist_header.sh | 30 | # Check if git is on the path. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | other/l10n_xib_to_strings.rb | 3 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | iina/Display.swift | 153 | // As discussed above in the comments for this initializer, this method will return nil when | STRING |