An iOS library to natively render After Effects vector animations
This report summarizes scanner evidence for airbnb/lottie-ios, a Swift project with 26,921 GitHub stars. SynthScan examined 69,731 lines of code across 775 source files, recording 148 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 2.4 (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? 142 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 6 finding(s).
Which changes need focused human review? 148 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 148 distinct pattern matches across 2 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 | Tests/SnapshotConfiguration.swift | 1 | // Created by Cal Stephens on 12/15/21. | COMMENT |
| LOW | Sources/Public/DotLottie/DotLottieFile.swift | 1 | // | COMMENT |
| LOW | Sources/Public/DotLottie/DotLottieFile.swift | 181 | COMMENT | |
| LOW | Sources/Public/DotLottie/DotLottieConfiguration.swift | 1 | // | COMMENT |
| LOW | Sources/Public/DotLottie/DotLottieFileHelpers.swift | 1 | // | COMMENT |
| LOW | …es/Public/DotLottie/Cache/DotLottieCacheProvider.swift | 1 | // | COMMENT |
| LOW | Sources/Public/DotLottie/Cache/DotLottieCache.swift | 1 | // | COMMENT |
| LOW | Sources/Public/DotLottie/Cache/DotLottieCache.swift | 61 | // MARK: @unchecked Sendable | COMMENT |
| LOW | Sources/Public/Configuration/LottieConfiguration.swift | 21 | self.reducedMotionOption = reducedMotionOption | COMMENT |
| LOW | …urces/Public/Configuration/RenderingEngineOption.swift | 1 | // Created by Cal Stephens on 7/14/23. | COMMENT |
| LOW | …urces/Public/Configuration/RenderingEngineOption.swift | 21 | .specific(.mainThread) | COMMENT |
| LOW | Sources/Public/Configuration/ReducedMotionOption.swift | 1 | // Created by Cal Stephens on 7/14/23. | COMMENT |
| LOW | Sources/Public/Configuration/DecodingStrategy.swift | 1 | // Created by Cal Stephens on 7/14/23. | COMMENT |
| LOW | Sources/Public/macOS/BundleImageProvider.macOS.swift | 1 | // | COMMENT |
| LOW | Sources/Public/macOS/FilepathImageProvider.macOS.swift | 1 | // | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationLayer.swift | 281 | toFrame: from.frameTime + from.durationFrameTime, | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationLayer.swift | 561 | /// synchronously (when loading a `LottieAnimation` from a .json file on disk) | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationLayer.swift | 821 | COMMENT | |
| LOW | Sources/Public/Animation/LottieAnimationLayer.swift | 861 | valueProviders[valueProvider.key] = nil | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 1 | // | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 21 | /// The completion block is stored and called when the animation completes. | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 241 | /// | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 261 | open func play( | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 301 | /// Plays the animation from a named marker to the end of the marker's duration. | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 321 | /// A marker is a point in time with an associated duration that is encoded into the | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 381 | public var animateLayoutChangesWithCurrentCoreAnimationContext = true | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 401 | public var configuration: LottieConfiguration { | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 441 | /// animation is loaded and applied, so can be a useful way to configure this | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 621 | /// of properties that have to be re-rendered on each frame. There are some cases | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 681 | /// A value provider provides a typed value on a frame by frame basis. | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 701 | public func removeValueProvider(for keypath: AnimationKeypath) { | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 741 | /// Furthermore the subview will be in the child layers coordinate space. | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 801 | /// Sets the enabled state of all animator nodes found with the keypath search. | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 821 | COMMENT | |
| LOW | Sources/Public/Animation/LottieAnimationView.swift | 961 | @unknown default: | COMMENT |
| LOW | …Public/Animation/LottieAnimationViewInitializers.swift | 1 | // | COMMENT |
| LOW | Sources/Public/Animation/LottieView.swift | 21 | /// | COMMENT |
| LOW | Sources/Public/Animation/LottieView.swift | 61 | /// ``` | COMMENT |
| LOW | Sources/Public/Animation/LottieAnimationHelpers.swift | 241 | /// does not need to update playback code. | COMMENT |
| LOW | Sources/Public/Animation/LottiePlaybackMode.swift | 81 | /// - Parameter fromFrame: The start frame of the animation. If `nil` the animation will start at the current frame. | COMMENT |
| LOW | Sources/Public/Animation/LottiePlaybackMode.swift | 101 | /// represents the beginning of the next section, it should be false. | COMMENT |
| LOW | Sources/Public/Animation/LottiePlaybackMode.swift | 121 | loopMode: LottieLoopMode | COMMENT |
| LOW | Sources/Public/Animation/LottiePlaybackMode.swift | 181 | .fromFrame(nil, toFrame: toFrame, loopMode: loopMode) | COMMENT |
| LOW | …rces/Public/ImageProvider/AnimationImageProvider.swift | 1 | // | COMMENT |
| LOW | Sources/Public/iOS/FilepathImageProvider.swift | 1 | // | COMMENT |
| LOW | Sources/Public/iOS/BundleImageProvider.swift | 1 | // | COMMENT |
| LOW | Sources/Public/iOS/LottieAnimationViewBase.swift | 1 | // | COMMENT |
| LOW | …Public/iOS/Compatibility/CompatibleAnimationView.swift | 101 | /// Pause the animation and restart it when the application moves to the foreground. | COMMENT |
| LOW | Sources/Public/Controls/AnimatedSwitch.swift | 1 | // | COMMENT |
| LOW | Sources/Public/Controls/AnimatedButton.swift | 1 | // | COMMENT |
| LOW | Sources/Public/Controls/AnimatedControl.swift | 1 | // | COMMENT |
| LOW | Sources/Public/Controls/AnimatedControl.swift | 21 | /// user actions. | COMMENT |
| LOW | Sources/Public/Keyframes/Interpolatable.swift | 1 | // Created by Cal Stephens on 1/24/22. | COMMENT |
| LOW | Sources/Public/Keyframes/Interpolatable.swift | 21 | /// ``` | COMMENT |
| LOW | …urces/Public/AnimationCache/LottieAnimationCache.swift | 1 | // | COMMENT |
| LOW | …ces/Public/AnimationCache/AnimationCacheProvider.swift | 1 | // | COMMENT |
| LOW | …rces/Public/AnimationCache/DefaultAnimationCache.swift | 1 | // | COMMENT |
| LOW | …rces/Public/AnimationCache/DefaultAnimationCache.swift | 61 | // MARK: @unchecked Sendable | COMMENT |
| LOW | Sources/Public/TextProvider/AnimationTextProvider.swift | 1 | // | COMMENT |
| LOW | Sources/Public/TextProvider/AnimationTextProvider.swift | 21 | /// Legacy protocol for providing dynamic text for a Lottie animation. | COMMENT |
| 82 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ation/Animations/CAAnimation+TimingConfiguration.swift | 18 | // ┌──────────────────────────────────┐ | COMMENT |
| MEDIUM | …ation/Animations/CAAnimation+TimingConfiguration.swift | 20 | // └──────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | …ation/Animations/CAAnimation+TimingConfiguration.swift | 32 | // ┌────────────────────┬───────► | COMMENT |
| MEDIUM⚡ | …ation/Animations/CAAnimation+TimingConfiguration.swift | 34 | // └────────────────────┴───────► | COMMENT |
| MEDIUM⚡ | …ation/Animations/CAAnimation+TimingConfiguration.swift | 36 | // ┌──────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | …ation/Animations/CAAnimation+TimingConfiguration.swift | 38 | // └──────────────────────────────────┘ | COMMENT |