{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX7","name":"Slice cohesion","shortDescription":{"text":"Slice cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/AX7"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"CapturePipeline.process (cyclomatic 183): CapturePipeline.process has cyclomatic complexity 183 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16ce05e73552d87dc3c74696501756bad60804ff357413893ac43db6fbd9f5c"}},{"ruleId":"D1","level":"warning","message":{"text":"RetroCamPlugin.buildShaderParams (cyclomatic 94): RetroCamPlugin.buildShaderParams has cyclomatic complexity 94 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afd5911d457befc4784e00c0a9251a29cf414d754d0f878319eb782e289f0f7"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraAppNotifier.takePhoto (cyclomatic 88): CameraAppNotifier.takePhoto has cyclomatic complexity 88 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4af1e8ad722e62ae0bf98336510121c585cdee6495767ddea947b38db45d0b"}},{"ruleId":"D1","level":"warning","message":{"text":"MetalRenderer.updateParams (cyclomatic 87): MetalRenderer.updateParams has cyclomatic complexity 87 (threshold 15). Of this number, 78 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbd43c358b3143e2d35eb7bc838ba86d0c82b50393291a39751c41d3ae412d2"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultLook.toJson (cyclomatic 58): DefaultLook.toJson has cyclomatic complexity 58 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d32408cb9f02af5b3ba1c134591a21a1cccf2dc5feb020b9940a577a9a7ccc9"}},{"ruleId":"D1","level":"warning","message":{"text":"_CameraScreenState._classifySceneHintKey (cyclomatic 43): _CameraScreenState._classifySceneHintKey has cyclomatic complexity 43 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e998a0f51d61d7e4c82e433cf4b577ec50947db8bb01441be902f07dacb5bb8"}},{"ruleId":"D1","level":"warning","message":{"text":"PreviewRenderParams.sceneClass (cyclomatic 42): PreviewRenderParams.sceneClass has cyclomatic complexity 42 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f989d47d3e111e38bdfafdc2ca640fe660ead282cd5a1d8728329ec9d65a63"}},{"ruleId":"D1","level":"warning","message":{"text":"MetalRenderer.updateParams (cyclomatic 35): MetalRenderer.updateParams has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/ios/Classes/MetalRenderer.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"49eba1d8e571aaef85ac3cc39aaabf0e6bb364aadd1c9b72d4b82bb2b94bb2d6"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubPanelState._buildWatermarkContent (cyclomatic 32): _SubPanelState._buildWatermarkContent has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fa17a806c2bd96d13b9600f4312ca587bdb0842aa9529836dc540fba178ead"}},{"ruleId":"D1","level":"warning","message":{"text":"_ImageEditScreenState._save (cyclomatic 32): _ImageEditScreenState._save has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"143e3fe56d360f6a33a7123f1cc59e7585326e097fa5ff880a72e88ae6487cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"_CameraScreenState._buildViewfinderArea (cyclomatic 31): _CameraScreenState._buildViewfinderArea has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d0c35c2678e59e10db1fcfcbd665d9aee7de10dde0f8c51815d224a44a2ce4"}},{"ruleId":"D1","level":"warning","message":{"text":"_CameraScreenState.build (cyclomatic 29): _CameraScreenState.build has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e676b3516bd73e200b21970b0b791b3f984d405ed012b220c6b7e3613496c48"}},{"ruleId":"D1","level":"warning","message":{"text":"CaptureGLProcessor.setUniforms (cyclomatic 25): CaptureGLProcessor.setUniforms has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c32f13515648b64c9e9c3e7dd4954433e46bea7749bfbbc01f1126898ad959"}},{"ruleId":"D1","level":"warning","message":{"text":"CapturePipeline._drawWatermark (cyclomatic 24): CapturePipeline._drawWatermark has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"417a1f5e08b566fc6303f2ec8bdfa0a4e2c0f76de3ced6930bc7b8b484e132f8"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraPlugin.buildMotionPhotoVideoEffects (cyclomatic 24): CameraPlugin.buildMotionPhotoVideoEffects has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: CameraPlugin.onMethodCall (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3866669abb6f010ded3c0e837e17e0eaf44a1c2897bdd6bcc55160af5ffbe7"}},{"ruleId":"D1","level":"warning","message":{"text":"RetroCamPlugin.handleComposeOverlay (cyclomatic 24): RetroCamPlugin.handleComposeOverlay has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: RetroCamPlugin.handle (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab74b14174d0b43cb916a2c5005fb9b3ef106eaeef4f4bd73f3d193612f1b30f"}},{"ruleId":"D1","level":"warning","message":{"text":"_CameraScreenState._buildTopMenuOverlay (cyclomatic 23): _CameraScreenState._buildTopMenuOverlay has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2946}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7015e154ff149c0a7b8757a36fa9dcec1e3c6f8607f1115ef6b3f2919f09bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"_LivePhotoSupport._resolvePlaybackPath (cyclomatic 23): _LivePhotoSupport._resolvePlaybackPath has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"72985c905fe4ae3c6ab7cf27f25113eb110f4d108dffa362020d6d8fdab0c874"}},{"ruleId":"D1","level":"warning","message":{"text":"_PhotoDetailPageState.build (cyclomatic 23): _PhotoDetailPageState.build has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ac66691bfb328e92e9a43be578bcf5efa68117c0c129559a48cec1161bafc6"}},{"ruleId":"D1","level":"warning","message":{"text":"_WatermarkPainter.paint (cyclomatic 22): _WatermarkPainter.paint has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5928}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b573eab6f3f0e61479c604c1f0c9940cca8873673ca65a978c350b5a8f9770a"}},{"ruleId":"D1","level":"warning","message":{"text":"_FrameOverlayPainter.paint (cyclomatic 22): _FrameOverlayPainter.paint has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"251c16656471e0839c76973fe9e610d7ed090af885b79bb0f9e79005afc4185a"}},{"ruleId":"D1","level":"warning","message":{"text":"RetroCamPlugin.handleSaveLivePhoto (cyclomatic 21): RetroCamPlugin.handleSaveLivePhoto has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: RetroCamPlugin.handle (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"849e956c940a5434e99923033307ae8041432db95051785d62ad77ba4147b3c4"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraAppNotifier._loadCamera (cyclomatic 20): CameraAppNotifier._loadCamera has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ab5b69b2a640a1d7ec602458e68358c06a2dfeba4d4f55ba157c6377a7ff34"}},{"ruleId":"D1","level":"warning","message":{"text":"_CameraScreenState._doTakePhoto (cyclomatic 20): _CameraScreenState._doTakePhoto has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea799fbed45a82143105d04bf1eb54441977417d6f5c8c7c966360b006baf1c"}},{"ruleId":"D1","level":"warning","message":{"text":"_CameraScreenState._buildControlCapsule (cyclomatic 20): _CameraScreenState._buildControlCapsule has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3719569584ffe9966288f440c8b4697b388c8df310e66acfe28dbe10296564"}},{"ruleId":"D1","level":"warning","message":{"text":"CapturePipeline.buildColorMatrix (cyclomatic 20): CapturePipeline.buildColorMatrix has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"249771de9e73bb8fb5c63cfd4f3b1c7c7c0c7347319005122b139b02dad3fd53"}},{"ruleId":"D1","level":"warning","message":{"text":"_GalleryScreenState._fetchAssets (cyclomatic 20): _GalleryScreenState._fetchAssets has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4973ef6af2d545285a37da569371598aab0ce6626b86b100f3db42b6a912dc2"}},{"ruleId":"D1","level":"warning","message":{"text":"RetroCamPlugin.reapplyRuntimeStateToRenderer (cyclomatic 20): RetroCamPlugin.reapplyRuntimeStateToRenderer has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: RetroCamPlugin.handle (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"168bc1aa47ab52733dd390e387f1420bdd5f49ab675246f34de84d7c1fccf652"}},{"ruleId":"D1","level":"warning","message":{"text":"CaptureProcessor.processImage (cyclomatic 20): CaptureProcessor.processImage has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CaptureProcessor.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ffed9e10ad0efa9a0cb641d74982e9fe42229d226fcb19dba0a7ce3770baa1"}},{"ruleId":"D1","level":"warning","message":{"text":"_SubPanelState.build (cyclomatic 19): _SubPanelState.build has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"847938a51cf547625812ead155f622feaefa2ea17ab487cc60f66c03c69cd7e7"}},{"ruleId":"D1","level":"warning","message":{"text":"RetroCamPlugin.handleSaveToGallery (cyclomatic 19): RetroCamPlugin.handleSaveToGallery has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: RetroCamPlugin.handle (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4977f0ce3869a46c292c5d1f6c29043ccaebd180f204ef5be261e1a85aac6f"}},{"ruleId":"D1","level":"warning","message":{"text":"MetalRenderer.loadLutTexture (cyclomatic 19): MetalRenderer.loadLutTexture has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61c2b995ec8f4a0ffc7f31157fa61f49ba0057033d141a9e617282a6bf33fdc"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraService._onNativeEvent (cyclomatic 18): CameraService._onNativeEvent has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_service.dart"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bb8ee8de0d9b1322b4cb6feb26d1bffd027f7a8f25992a0e3cc00d70e127b3"}},{"ruleId":"D1","level":"warning","message":{"text":"CaptureProcessor.loadLutTexture (cyclomatic 18): CaptureProcessor.loadLutTexture has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CaptureProcessor.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d49073a7b03bcbfd7b89865e7c3c488187cb6dcaecfce120e5243c3c700f66"}},{"ruleId":"D1","level":"warning","message":{"text":"_CameraScreenState._scheduleSceneHintRefresh (cyclomatic 17): _CameraScreenState._scheduleSceneHintRefresh has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fd0973d5ed4f958896c02286982c3bebdec5103deb1a05f9ab19a374a7f447"}},{"ruleId":"D1","level":"warning","message":{"text":"CapturePipeline._readJpegDimensions (cyclomatic 17): CapturePipeline._readJpegDimensions has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7e4f3adef99210995e2ed5ff639f767a736e5be887d779c379297c1411e237"}},{"ruleId":"D1","level":"warning","message":{"text":"_ImageEditScreenState._buildEditControlCapsule (cyclomatic 17): _ImageEditScreenState._buildEditControlCapsule has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11ab5e4ec78c48dcd76ed5b5248e4a205a2c3797bbb3a6de8227a9c15ffe639"}},{"ruleId":"D1","level":"warning","message":{"text":"MetalRenderer.captureOutput (cyclomatic 17): MetalRenderer.captureOutput has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/ios/Classes/MetalRenderer.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"de351716b92f0f744f8e1876210a521774a83492f2ff6481aec937df7f1f5f18"}},{"ruleId":"D1","level":"warning","message":{"text":"RetroCamPlugin.prepareLivePhotoVideoForSaving (cyclomatic 17): RetroCamPlugin.prepareLivePhotoVideoForSaving has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: RetroCamPlugin.handle (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0164e1e2c1fe1027fa42cdaf7ca8e0d3e2bf7353146dc123fa984b578e37683"}},{"ruleId":"D1","level":"warning","message":{"text":"RetroCamPlugin.applyLivePhotoFilters (cyclomatic 17): RetroCamPlugin.applyLivePhotoFilters has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: RetroCamPlugin.handle (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd313b7698134558d23afadbc7aa6e62d7a3baac724a1a684a1dc9b0d4faaab4"}},{"ruleId":"D1","level":"warning","message":{"text":"MetalRenderer.renderFrame (cyclomatic 17): MetalRenderer.renderFrame has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc3426a5f97760cba513cc1b284aaf932bf45ec49ab47c4eeda9f461774de8b"}},{"ruleId":"D1","level":"warning","message":{"text":"_CameraScreenState._ensurePreviewHealthWatchdog (cyclomatic 16): _CameraScreenState._ensurePreviewHealthWatchdog has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdbd3dbacbee230a5237f164255de7c8a0d178e5df08bb01c20a7d7d3f7cbf1"}},{"ruleId":"D1","level":"warning","message":{"text":"_ImageEditScreenState._buildPreviewArea (cyclomatic 16): _ImageEditScreenState._buildPreviewArea has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06cc40c2e61f0ac1029a13d8b8b317c0cdb28c52a7fbccb4015dc82d68a31d3"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraSessionManager.setWhiteBalance (cyclomatic 16): CameraSessionManager.setWhiteBalance has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"960d3c83382af255c4e943e7f9aec53c982d7ee6ae49a9a26a68c40dae19a77b"}},{"ruleId":"D2","level":"warning","message":{"text":"CapturePipeline.process (cognitive 355): CapturePipeline.process has cognitive complexity 355 (threshold 15). Drivers by points: if/else 68 (174 pts), boolean chains 83, error handling 13 (45 pts), ternaries 18 (45 pts), match/switch 2 (8 pts) (nesting depth added 171). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd634704aad75945a69a94d826dff79fb9fea660934456d0dc1473f4c58ca937"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraAppNotifier.takePhoto (cognitive 243): CameraAppNotifier.takePhoto has cognitive complexity 243 (threshold 15). Drivers by points: if/else 45 (155 pts), error handling 8 (39 pts), boolean chains 35, match/switch 2 (10 pts), ternaries 1 (4 pts) (nesting depth added 152). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e230b0fd4876881359f3de7424aa0b48565a1e1a3c6d11eaf44ea79a0d8b4b1"}},{"ruleId":"D2","level":"warning","message":{"text":"RetroCamPlugin.buildShaderParams (cognitive 187): RetroCamPlugin.buildShaderParams has cognitive complexity 187 (threshold 15). Drivers by points: if/else 91 (183 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 94). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54cda21a4a7751a750ed315dd3d14337f6f81451bb12c419dbb3ca143329c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"MetalRenderer.updateParams (cognitive 105): MetalRenderer.updateParams has cognitive complexity 105 (threshold 15). Drivers by points: if/else 83 (96 pts), ternaries 2 (5 pts), boolean chains 4 (nesting depth added 16). Of this number, 96 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ae3c58907ec8da3aae20c6fb38bc72167f75446eabb114b3d6000108fa5e9f"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImageEditScreenState._save (cognitive 64): _ImageEditScreenState._save has cognitive complexity 64 (threshold 15). Drivers by points: if/else 17 (41 pts), error handling 5 (13 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"329bc50cca60f3a562855ddda9a7b58bb04c8d55831e5f3532b0e187009ab50c"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultLook.toJson (cognitive 57): DefaultLook.toJson has cognitive complexity 57 (threshold 15). Drivers by points: if/else 56, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8574122152c4d20770fdc1433bbdf121034f01388d8c42cc4acf10aa0cee2d3"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubPanelState._buildWatermarkContent (cognitive 54): _SubPanelState._buildWatermarkContent has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 22 (44 pts), if/else 6 (7 pts), boolean chains 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"36846c8a9dc04cd6c6ea432f2b3a7613b31720ccb6f48f4e087493546482b152"}},{"ruleId":"D2","level":"warning","message":{"text":"_CameraScreenState._classifySceneHintKey (cognitive 49): _CameraScreenState._classifySceneHintKey has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 28, if/else 14 (20 pts), ternaries 1 (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"6822e68864c5a11b22dba0725b28012df2153ae3525890d60081e06dd49c1331"}},{"ruleId":"D2","level":"warning","message":{"text":"PreviewRenderParams.sceneClass (cognitive 46): PreviewRenderParams.sceneClass has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 29, if/else 12 (17 pts) (nesting depth added 5). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d8d5115c16b8048c3b82b0796f199ae9b37faf93c285495644a2d7e6b43cee"}},{"ruleId":"D2","level":"warning","message":{"text":"_CameraScreenState._buildViewfinderArea (cognitive 38): _CameraScreenState._buildViewfinderArea has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (27 pts), ternaries 4 (7 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2ea9528b76e52b954853e0bec34b1a6663c0aca02e8827db01d0b52256d30b"}},{"ruleId":"D2","level":"warning","message":{"text":"MetalRenderer.updateParams (cognitive 38): MetalRenderer.updateParams has cognitive complexity 38 (threshold 15). Drivers by points: if/else 35 (38 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/ios/Classes/MetalRenderer.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa57d71757cfd6cd4d00fde81508af809561257f6b2e1e43fc22c9ff3abcbc9"}},{"ruleId":"D2","level":"warning","message":{"text":"_FrameOverlayPainter.paint (cognitive 37): _FrameOverlayPainter.paint has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 4 (8 pts), boolean chains 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe5272ee770eb2f0c18bb2c09fb22a2765e794109e8b7c655b0ab5696bde316"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraPlugin.buildMotionPhotoVideoEffects (cognitive 37): CameraPlugin.buildMotionPhotoVideoEffects has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (35 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"af61f8d272196a5ca97a61970d2175bf6f9c8a18316668acf89ff7eda13b5d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"_CameraScreenState.build (cognitive 35): _CameraScreenState.build has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 10 (14 pts), boolean chains 6 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dc7f085420fb84dfa92494693cdf8bef0024b747ef36f00e4b96a686383f67"}},{"ruleId":"D2","level":"warning","message":{"text":"_LivePhotoSupport._resolvePlaybackPath (cognitive 35): _LivePhotoSupport._resolvePlaybackPath has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 8 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d1ea5df647e5b87e35e9923042119f18f0c64d542ba200678fbdbd2a7bd22d"}},{"ruleId":"D2","level":"warning","message":{"text":"_GalleryScreenState._fetchAssets (cognitive 34): _GalleryScreenState._fetchAssets has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"985710dcb4c0c05aa4d605f46fcdc452173990cbb3c01e6c4593de0585b1413f"}},{"ruleId":"D2","level":"warning","message":{"text":"CaptureGLProcessor.setUniforms (cognitive 34): CaptureGLProcessor.setUniforms has cognitive complexity 34 (threshold 15). Drivers by points: if/else 23 (25 pts), loops 3 (6 pts), match/switch 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"640e8d315f8f0d25d7b1bed2465d7d1a7fc9156896ed9ced6418cf1274ea7218"}},{"ruleId":"D2","level":"warning","message":{"text":"_PhotoDetailPageState.build (cognitive 33): _PhotoDetailPageState.build has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 7 (13 pts), boolean chains 6 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1224617e428c7aff4e2898e4261448d6ac02a561de0965dd29157a3fc94c03"}},{"ruleId":"D2","level":"warning","message":{"text":"RetroCamPlugin.reapplyRuntimeStateToRenderer (cognitive 31): RetroCamPlugin.reapplyRuntimeStateToRenderer has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (27 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"6decd7113305e3eb2039a537864ba3fc9778c8e200691c703fbee3ad06d4d570"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraAppNotifier._loadCamera (cognitive 30): CameraAppNotifier._loadCamera has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 5 (10 pts), boolean chains 9, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"6666947887abd1b2553331014168749589e7395d1e68204b9369bdb656866ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"RetroCamPlugin.handleSetPreset (cognitive 30): RetroCamPlugin.handleSetPreset has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/ios/Classes/RetroCamPlugin.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a151f24eaa89e28d2c7484f296a7a7840f9cc68514d7462e389534c29779aec0"}},{"ruleId":"D2","level":"warning","message":{"text":"_SubPanelState.build (cognitive 29): _SubPanelState.build has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 4 (7 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b888537963a83b65447952f62f63abf8ddf0d99a2f8eb6c05d47edf705447b"}},{"ruleId":"D2","level":"warning","message":{"text":"_CameraScreenState._doTakePhoto (cognitive 29): _CameraScreenState._doTakePhoto has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4a3be6d98dc9898f8e050c264b55d4663a6fe44dd005ae4558b6d4bdb019d3"}},{"ruleId":"D2","level":"warning","message":{"text":"CapturePipeline._readJpegDimensions (cognitive 28): CapturePipeline._readJpegDimensions has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 8, loops 1 (2 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57aaf06974c682ab9100d0d6c9f4f8439e1dcf4798857e6811d1ef5cf0cf027"}},{"ruleId":"D2","level":"warning","message":{"text":"RetroCamPlugin.handleComposeOverlay (cognitive 28): RetroCamPlugin.handleComposeOverlay has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 8, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"637ebb46d6a16128617e310fd524a2dc933169b316295018bf9b5d41a62010e6"}},{"ruleId":"D2","level":"warning","message":{"text":"CaptureProcessor.processImage (cognitive 28): CaptureProcessor.processImage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CaptureProcessor.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e41597b45a9e823febc09cb6be0c3559b59a2c7c92a3d7b38beae262560e9e"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraSessionManager.setWhiteBalance (cognitive 27): CameraSessionManager.setWhiteBalance has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (21 pts), ternaries 1 (3 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b4a80df0a001f03ec97c11d5279e3764c877e39398886bac45473db9babdc5"}},{"ruleId":"D2","level":"warning","message":{"text":"RetroCamPlugin.handleSaveToGallery (cognitive 26): RetroCamPlugin.handleSaveToGallery has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"320a092ba8aa277decad57b2a5a6d705e79984aaf2095f561c5917bd37c6de8d"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraPlugin.handleSetSharpen (cognitive 24): CameraPlugin.handleSetSharpen has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4 (9 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f0823de7868b609b805142a95c1067ebad8ed54f6ad7174743886b336155f0"}},{"ruleId":"D2","level":"warning","message":{"text":"MetalRenderer.loadLutTexture (cognitive 24): MetalRenderer.loadLutTexture has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 6, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a226c27917452c630d708b49a522a4489e64195f77a392299bc6b0669c42e27b"}},{"ruleId":"D2","level":"warning","message":{"text":"RetroCamPlugin.handleSaveLivePhoto (cognitive 23): RetroCamPlugin.handleSaveLivePhoto has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 6, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"232725b222034e77a6125b987c09082bb9e0bf14366dd4827cfe280c8e9b8c09"}},{"ruleId":"D2","level":"warning","message":{"text":"CaptureProcessor.loadLutTexture (cognitive 23): CaptureProcessor.loadLutTexture has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 6, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CaptureProcessor.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce2059abf23eeb94d60e7e1909e8ac740bbfa22ec7dd4a2b8df0c19e5315123"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraPlugin.bindCameraUseCases (cognitive 22): CameraPlugin.bindCameraUseCases has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (15 pts), error handling 2 (5 pts), boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd39218817fff1533165010db85f373f7e0aab8bb25cfe9d7767b6f914c4c58d"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraAppNotifier._runBackgroundEnhanceAndReplace (cognitive 21): CameraAppNotifier._runBackgroundEnhanceAndReplace has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 3 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddd3418eddfe21d030f63f8be46e33c04c738b9602819cce1192b857f687b37"}},{"ruleId":"D2","level":"warning","message":{"text":"CapturePipeline.buildColorMatrix (cognitive 21): CapturePipeline.buildColorMatrix has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"271ba2c62747401ce1a4faf58ce25aee7eb9a561a31ddbf8dd2db749e1b6138d"}},{"ruleId":"D2","level":"warning","message":{"text":"_PhotoDetailPageState._ensureLiveVideoReady (cognitive 21): _PhotoDetailPageState._ensureLiveVideoReady has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"b950dcdd97603fbe642be1354dab06846e7e18817791f48d23adcafa81f72afa"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraService._onNativeEvent (cognitive 21): CameraService._onNativeEvent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, ternaries 2 (4 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_service.dart"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"975b94126da55badc2b3a4810e37b1a49dae602d1316871e6e67c0124cf9736c"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraPlugin.drawWatermarkOnCanvas (cognitive 21): CameraPlugin.drawWatermarkOnCanvas has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fada60f4d104d5b859bf1d346701b64a94904416a07d0436ee0db67d322f87"}},{"ruleId":"D2","level":"warning","message":{"text":"RetroCamPlugin.resolveFlutterAssetPath (cognitive 21): RetroCamPlugin.resolveFlutterAssetPath has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"8174ac333da73a3ce8dcee8a81739fb45c581e1ba4bd155f5cc7b9bfeb55da4b"}},{"ruleId":"D2","level":"warning","message":{"text":"_CameraScreenState._buildTopMenuOverlay (cognitive 20): _CameraScreenState._buildTopMenuOverlay has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 16, if/else 3, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2946}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18c175f87829fbbb5c4e10a67f7cdaac883df6b3a7fd4042d43a97caf2897a3"}},{"ruleId":"D2","level":"warning","message":{"text":"_GallerySheetState._loadPhotos (cognitive 20): _GallerySheetState._loadPhotos has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3866}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adb1e51f9c3c3eb2174edd1a2c592a888ee681199edba2a5ebb67062d158452"}},{"ruleId":"D2","level":"warning","message":{"text":"_CameraScreenState._scheduleSceneHintRefresh (cognitive 19): _CameraScreenState._scheduleSceneHintRefresh has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10, if/else 6 (9 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab3f643be81173e7dae92e2fddf25e311672e14d1105751dffb166681240947"}},{"ruleId":"D2","level":"warning","message":{"text":"_CameraScreenState._buildControlCapsule (cognitive 19): _CameraScreenState._buildControlCapsule has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 12, boolean chains 5, if/else 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c072d3677dc0c65fa767c5ec95f4461f923cc509fd03f8668886a0496b21b0"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraService.syncCameraState (cognitive 19): CameraService.syncCameraState has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_service.dart"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea1c365ba79dd88c28c45c80ea6b7c032be8d247b18d2335e30f8f26ba547bf"}},{"ruleId":"D2","level":"warning","message":{"text":"RetroCamPlugin.prepareLivePhotoVideoForSaving (cognitive 19): RetroCamPlugin.prepareLivePhotoVideoForSaving has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, error handling 1, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec45c11b9d1b86142404bc06f3f1bf4fcaf8eef83aa77c8104ec0d2d6be12c04"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraConfigInlinePanel._buildFunctionRow (cognitive 18): CameraConfigInlinePanel._buildFunctionRow has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (6 pts), boolean chains 5, if/else 5, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d65e0888095c16735125acf9ae2aa323206d49f2205eb706dec4b5809180b3c"}},{"ruleId":"D2","level":"warning","message":{"text":"_CameraScreenState._ensurePreviewHealthWatchdog (cognitive 18): _CameraScreenState._ensurePreviewHealthWatchdog has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"8616354542e4616b15a529e5ba2eecdda72cfa5e0b6b25c133d4226d87387f91"}},{"ruleId":"D2","level":"warning","message":{"text":"_WatermarkPainter.paint (cognitive 18): _WatermarkPainter.paint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6, match/switch 3 (5 pts), error handling 1 (2 pts), loops 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5928}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e44f1ead71a5ffb2d61667d67d2fa5f566a97d23881df16c55cbf906545352"}},{"ruleId":"D2","level":"warning","message":{"text":"CapturePipeline._drawWatermark (cognitive 18): CapturePipeline._drawWatermark has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, match/switch 3 (5 pts), error handling 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"8170f371668003251b600a840cb2e968c081878b5849db4ce094f4afdd449f65"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImageEditScreenState._initPreview (cognitive 18): _ImageEditScreenState._initPreview has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe309d232e97752365b6cc172df3c99073c497a6a0ef88b1bf7fa2ef6ea2366c"}},{"ruleId":"D2","level":"warning","message":{"text":"_CameraConfigSheetState._buildFunctionRow (cognitive 17): _CameraConfigSheetState._buildFunctionRow has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 5, boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1aee759fe23d258ffbd3a42b915d377407842c5feb18b3a7bf3430d26dd7f1"}},{"ruleId":"D2","level":"warning","message":{"text":"GrdCameraNotifier.takePhoto (cognitive 17): GrdCameraNotifier.takePhoto has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 1 (4 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/grd_camera_notifier.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b5470dfe177524493c07c53eefc936be3018fbc81683b3831b12211c68ff00"}},{"ruleId":"D2","level":"warning","message":{"text":"_RulerPainter.paint (cognitive 17): _RulerPainter.paint has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3f4e2c815beaaae0d647753935b04e88ac0d30c72fd33ff7a2d12561a1e969"}},{"ruleId":"D2","level":"warning","message":{"text":"Preset.fromJson (cognitive 17): Preset.fromJson has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5 (7 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/preset.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0503374fbf72d0dacb983a3d05962e436371b89efb72efaf59bc1f13905204"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraPlugin.handleComposeOverlay (cognitive 17): CameraPlugin.handleComposeOverlay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":2537}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec830f1455b8defcdf22a510fa2c022e01d420bb53088c17c80f5f4d658257d"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraPlugin.reapplyPresetToRenderer (cognitive 17): CameraPlugin.reapplyPresetToRenderer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae661320b3029afcf3aa095bb28402984afb0526b18d763d0c5de1ebf57ac48"}},{"ruleId":"D2","level":"warning","message":{"text":"MotionPhotoPackaging.extractApp1XmpPackets (cognitive 17): MotionPhotoPackaging.extractApp1XmpPackets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, match/switch 1 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/MotionPhotoPackaging.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"de700282864980afd1dcf17baceb26e961bd1f7f471f40da31a754db8d452870"}},{"ruleId":"D2","level":"warning","message":{"text":"_CameraScreenState._startOrientationListener (cognitive 16): _CameraScreenState._startOrientationListener has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3bf1be99c61597a663420eb75383ce943acf4e14f19bc9a74d97a716a652d2"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImageEditScreenState._buildPreviewArea (cognitive 16): _ImageEditScreenState._buildPreviewArea has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 6, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"206edeb3efb6f78fcdab1405c7a3be80a0c98f7480d04b1e9cedc5d5c3df2473"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImageEditScreenState._buildEditControlCapsule (cognitive 16): _ImageEditScreenState._buildEditControlCapsule has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9, boolean chains 5, if/else 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"79084170cb72554d35d219dfdad6b2f505cf50b0ddb8124f342796ba35fd2aa1"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraPlugin.cachePresetAndBuildShaderParams (cognitive 16): CameraPlugin.cachePresetAndBuildShaderParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c644fd5020a52d256787d5f301c06750f0717c409965188e177dfcf7573e2f0"}},{"ruleId":"D2","level":"warning","message":{"text":"MetalRenderer.captureOutput (cognitive 16): MetalRenderer.captureOutput has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/ios/Classes/MetalRenderer.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"550f25f7a3f091eddd08d696391314bf208ab49e8db456dc1e6e43021b3ad640"}},{"ruleId":"D2","level":"warning","message":{"text":"RetroCamPlugin.applyLivePhotoFilters (cognitive 16): RetroCamPlugin.applyLivePhotoFilters has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7b44aaacd6eaf44334bbd436c27b18177e72b4b7db04adaca9c97003b11e52"}},{"ruleId":"D2","level":"warning","message":{"text":"MetalRenderer.renderFrame (cognitive 16): MetalRenderer.renderFrame has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4442c7df58bf9617c6470595697cd53c1c6920aea20531d5b9a362b1ea57b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/camera_screen.dart: FileTooLong \u2014 4400 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3900 over it, 8.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be61bf109588b6b89f15eb5c40729567cf9ba197f94d93960b98f386889cf945"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapturePipeline.process: MethodTooLong \u2014 process runs 678 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 578 over it, 6.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8367a17ef21c830de3e0c1cd415017e520b70cbacdbfea138a3b4eb8a2dbb93"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CameraScreenState: ClassTooLong \u2014 2229 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 400 significant lines; this is 1829 over it, 5.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d896f6768791e11d7798a2e2d2450670e5a5687d70565abde028b1d67d27d7b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CameraPlugin: ClassTooLong \u2014 2199 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods. The bar is 400 significant lines; this is 1799 over it, 5.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"341abbdf573c365960952bd6a86315a4c31b732b1917dcebd76644959f42bfbb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/CameraPlugin.kt: FileTooLong \u2014 2270 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: CameraPlugin (74-3077). The bar is 500 significant lines; this is 1770 over it, 4.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde6a1644b653f4060c1f556dbcac7a500b830d4c05f73edc94b5c283000b10d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CameraAppNotifier.takePhoto: MethodTooLong \u2014 takePhoto runs 430 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 330 over it, 4.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"0640a7180d79a219b127aaa83c553805e9c305da5512f47029c4fa4d9e46f438"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CapturePipeline: ClassTooLong \u2014 1656 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 1256 over it, 4.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b58ba6af1c05b5df4f1720943a68b0df74cbedc216146c0044debe1c98d8fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/camera_config_sheet.dart: FileTooLong \u2014 1912 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1412 over it, 3.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d05eb446d53c2323308cafa5c966c2002591f865b629461940fc30cbef1295d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PreviewRenderParams: TooManyMethods \u2014 113 methods. The bar is 30 methods; this is 83 over it, 3.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06afd8720038201f6de9e9d1ecbf782d71b1f2172cea56cfe94700bd223ecc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/camera_notifier.dart: FileTooLong \u2014 1880 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: CameraAppNotifier (414-2346). The bar is 500 significant lines; this is 1380 over it, 3.76\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ba7f38f13c7ff6275c13fd8467480c0a4405d2a9f9237d3cb8f97c938d4ce3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CameraAppNotifier: ClassTooLong \u2014 1412 significant lines (blank, comment-only and punctuation-only lines excluded), 87 methods. The bar is 400 significant lines; this is 1012 over it, 3.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd4dea699d85d2f43cd40f271e69c9b70778ae4379f43a0d13d0b19dab1b7a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/capture_pipeline.dart: FileTooLong \u2014 1738 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: CapturePipeline (33-2141). The bar is 500 significant lines; this is 1238 over it, 3.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ff26dbdb3cdf113b9c78a0fc12ee842727fbc3e049c4ee315119fc6d0e91b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RetroCamPlugin: ClassTooLong \u2014 1375 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 975 over it, 3.44\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd7adc4baafbaac3cdad3bf60b30ce88ed804e70737b338768901c616c59372"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CaptureGLProcessor: ClassTooLong \u2014 1372 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 972 over it, 3.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09bba5998671ec14ca8ee91b45cbfd8706801c9e181f75b53cdb8aca2653daf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/l10n.dart: FileTooLong \u2014 1715 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: Map (355-1990). The bar is 500 significant lines; this is 1215 over it, 3.43\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/core/l10n.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"639e2249bcbddf0d351ec7b8aa611da18f827e4670c701f2097f01247769b3e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CameraGLRenderer: ClassTooLong \u2014 1239 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 839 over it, 3.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7317b3c0f7549f90a1a923a72402d7c9c5c057c22c1527ea6113845f11c8de3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: image_edit/image_edit_screen.dart: FileTooLong \u2014 1535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1035 over it, 3.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8958084e2088769020e4212c0752ee2de0323e525d68fa5cacc0c8fd7ebdc941"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SubPanelState._buildWatermarkContent: MethodTooLong \u2014 _buildWatermarkContent runs 294 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 194 over it, 2.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e058e2b4de56cc129ec3fbadedc63c32031e28b42ae55716c2dba5661cf58e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CameraAppNotifier: TooManyMethods \u2014 87 methods. The bar is 30 methods; this is 57 over it, 2.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0b0e306f6ffeeb8ed31fd5e86f781ced78343f5a9e0e98798df1eadbecf052"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CameraScreenState.build: MethodTooLong \u2014 build runs 281 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 181 over it, 2.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc440ed6bd9e5a26217ddcc1f44969c5556a07024bf73941de1fdde5bbc00e6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Camera/CameraPlugin.swift: FileTooLong \u2014 1392 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: RetroCamPlugin (26-1885). The bar is 500 significant lines; this is 892 over it, 2.78\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f5770a3adb39c8feaed762c0ae14d6d0b9b8d1d641c82753451ce44249bc42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/CaptureGLProcessor.kt: FileTooLong \u2014 1391 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: CaptureGLProcessor (44-1853). The bar is 500 significant lines; this is 891 over it, 2.78\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef1800ca55a784a2914fcc3e6c7abbab3b515e5c7e97fedb526e2c731f340bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gallery/gallery_screen.dart: FileTooLong \u2014 1348 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 848 over it, 2.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8d42e483710a4a55335c5225819873c4b90b2944c1ab8574a5fe750e175a45"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CameraPlugin: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd5ebafd11b07aa3b042e0de737438ee9456f4ac4a81262f221dc963ced1379"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/CameraGLRenderer.kt: FileTooLong \u2014 1259 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: CameraGLRenderer (37-1677). The bar is 500 significant lines; this is 759 over it, 2.52\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16325fc83a0100cd6c8f4414a6169d5e2a57fdb8e6024d31e920d7f9762376fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _CameraScreenState: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e5bae03f2c0d4376980f1e6ef6b004b34c33938da81fdc3978af44655d32be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsScreen.build: MethodTooLong \u2014 build runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/settings/settings_screen.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"32259a6354384a042f36fd024f0aec4c3a526b9c5d38b40e35de371f2b9e131b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/camera_definition.dart: FileTooLong \u2014 1077 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 577 over it, 2.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f3e2c86c0ec53804638bca530ee64568fb4a546a1cf4a98e3807ab5f6e0ef1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CameraScreenState._buildTopMenuOverlay: MethodTooLong \u2014 _buildTopMenuOverlay runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2946}}}],"partialFingerprints":{"codehealthFindingId/v1":"812c1e90ab4c9dc35976384bf3698f8b0f1ab89c8bd9fe5f400d475ffa036bfb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: camera/preview_renderer.dart: FileTooLong \u2014 1023 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: PreviewRenderParams (148-1166). The bar is 500 significant lines; this is 523 over it, 2.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"034bd0bd5f9215950df5fc9bc2bafd3afaa04765ee48534a04c1d6bcf3250991"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PreviewRenderParams: ClassTooLong \u2014 813 significant lines (blank, comment-only and punctuation-only lines excluded), 113 methods. The bar is 400 significant lines; this is 413 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"044669b186d340d002de991ad59211b34fe9a0690d49642fcce892399201ec62"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CameraScreenState._buildViewfinderArea: MethodTooLong \u2014 _buildViewfinderArea runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad0b059df5e59aeb82fefe38527de4233b718632de9bfc84b94bf06b68b347c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _SubPanelState: ClassTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 369 over it, 1.92\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1591b0218ac300d0667cf9ecb3b1f60bedf5242e618a64f6d476b3077041aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _PhotoDetailPageState.build: MethodTooLong \u2014 build runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f9bff158eabe847525e784f083cceb7cc2e7ab189f2d1343a74c32d314a8b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CameraSampleScreenState.build: MethodTooLong \u2014 build runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_sample_screen.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d84797712c12c5a399203c357b9e70117867db2b762c3416dcd194edc63b2a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CameraAppState.copyWith: MethodTooLong \u2014 copyWith runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d265fb96ab784c3f78eef9d47262707b72ed77a9876fa196ea7183d884fe52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CameraScreenState._buildShutterRow: MethodTooLong \u2014 _buildShutterRow runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"9802ee7e41b12ed2dfa462d747c88ea7def79673b525ec92d840fb16c3b02401"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _ImageEditScreenState: ClassTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 219 over it, 1.55\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc7ee514384f7e36479af1fade2467d4548cdbeafa988bf01dcd83f7cd18ac0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CameraPlugin.handleSyncCameraState: MethodTooLong \u2014 handleSyncCameraState runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":2185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d69f92b86f9a969d0c6853ae950f2de126fa7a0dc3cd6006b699ac5939f9a4f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RetroCamPlugin: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9765635a8f424767588626921c441fb7013af3af3c767af62a7dab03fb962bf7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CaptureGLProcessor.setUniforms: MethodTooLong \u2014 setUniforms runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0afb4c990d6eefb0c93286401fe5b97ae307fac4e0242028581527974ceb43"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapturePipeline._drawWatermark: MethodTooLong \u2014 _drawWatermark runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c52bb1f0b78e6ff34457794f6a837a37ea8de6dfdd6741a50d351cc4b4598c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/settings_screen.dart: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 175 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/settings/settings_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13add00c6c1acded1084058d7500f05fd155a9c4ca23b84a475000a7c708439"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CameraService: ClassTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 136 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_service.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd36edeff70e0c17902998a6533cf6adc0aa6c4cdddcd708d71b4654ab9cba71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MetalRenderer.updateParams: MethodTooLong \u2014 updateParams runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d32da64f12b6b933dd05e73becc7c50374ac3a4e1eafbc4b5574f4d4da85fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CameraPlugin.bindCameraUseCases: MethodTooLong \u2014 bindCameraUseCases runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e815aadf447a770a4deb3b9fe681c486ba007d84053858f1a057d38a0de70009"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _GalleryScreenState: ClassTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 122 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdd2b723156b13f8f69ac6e5c6ec331a09f91a48c27f146090a60c49f3e92a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/camera_service.dart: FileTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: CameraService (132-864). The bar is 500 significant lines; this is 146 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5024fa5afad945e95f9f622aebd04887a90212574d2cfaa030c17f2d93cab044"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CameraGLRenderer.renderFrame: MethodTooLong \u2014 renderFrame runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d782170df390d68e159032dbc3bf10e44a052f0a19a0358ecce06c35d6c2a93c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OptionsSheet._buildOptionRow: MethodTooLong \u2014 _buildOptionRow runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3600}}}],"partialFingerprints":{"codehealthFindingId/v1":"294ba5c16bcb9de41d478dea7bbf3d39da4539e0130d269657706abc57180d9d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ImageEditScreenState._buildPreviewArea: MethodTooLong \u2014 _buildPreviewArea runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"123548f40fe15974049bf36436213ddcb8cb931ecc71b65c97ba9f0ac8f6f14d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _WatermarkPainter.paint: MethodTooLong \u2014 paint runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5928}}}],"partialFingerprints":{"codehealthFindingId/v1":"37411ada4fea891632c48c0fee1bb21c28b845ad00333985d5868e35bd19bb32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CameraGLRenderer.updateParams: MethodTooLong \u2014 updateParams runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e1ae5140249f34484cf0e4a841d2dadf3c335f3881ddb305525fa0683c574e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RetroCamPlugin.prepareLivePhotoVideoForSaving: MethodTooLong \u2014 prepareLivePhotoVideoForSaving runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd845ca00c391541e4669810ebff3bf60663d88e9c5c15ec9e08bf04267791d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _SubPanelState.build: MethodTooLong \u2014 build runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f851e92fdb33c176861439cf19491fda0ef663f851056c40215076dd3f09aa9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MetalRenderer: ClassTooLong \u2014 474 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 74 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5c41818f88142db5108a9e0dc016dfd6ee347325e8d23c8caa83bca6511d70"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CapturePipeline: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e4f1359da8e8a3b20a004338d1c9264be67c1895834609254257142d339753"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CameraInfoPanel.build: MethodTooLong \u2014 build runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_sample_screen.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ed00e0f47c9d9f89b8ea4c1f639dd7c8cb02b9a0da31e0a340e6f6a6fce9cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PreviewRenderParams.toJson: MethodTooLong \u2014 toJson runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee0452776a4a517c5af3651f0bcad318b18d0cd5ea70703aa2c81787a0326ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CameraService: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_service.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6224dcd9a711712752ae4c8cf2f735f334fda8bffc3cbfa692871a1d5e01ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ImageEditScreenState._save: MethodTooLong \u2014 _save runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff9f8a6e2e93b9e266dcf242c0639937ad88c56016ded8bec472fb73c0b740a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _PhotoDetailPageState: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 44 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e1bed3e9489008900e5fdde40c49e013df4e10930de9751f97fd20e7b8ad03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Camera/MetalRenderer.swift: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: MetalRenderer (93-811). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3562c18cfa0e63b736ebd27134956fa5779923c61f6c12c8e7c4b4dc80d81825"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CameraScreenState._buildControlCapsule: MethodTooLong \u2014 _buildControlCapsule runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f388c3d25031d7d975588ef5a6271fa64314c8c082e385d1c58ff2adc83238f4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _OptionsSheet: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 19 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84b1015ad07814d762664930221227a9c784968c9affdfe39439a1c01bcd318"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CaptureGLProcessor.processImageBytes: MethodTooLong \u2014 processImageBytes runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3858b0a71af671d3dbd68fdc76547cc145b897ad3a88de456ec509e9bd7273f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (94 shared lines): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1028-1164 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1179-1310 \u2014 These two members are variants of one another: 94 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99b53961c85c54ace36992f0976e3e360ed01a4302287e1ecd7821c155c71ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): flutter_app/lib/features/camera/camera_config_sheet.dart:148-237 | flutter_app/lib/features/camera/camera_config_sheet.dart:476-572 \u2014 These two members are variants of one another: 52 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65631a48303edff481bf037d1746312592faad7accdc6ff906c9543576c1836"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:754-843 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2955-3069 \u2014 These two members are variants of one another: 50 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f134d842af457bdd03364dc42ffe63ee755d8897f909ae4d76cf7a214e7c8d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (35 shared lines): flutter_app/ios/Runner/Camera/CameraPlugin.swift:488-532 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:534-594 \u2014 These two members are variants of one another: 35 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9060756b78c882636d6b708b781c5188fde34ca8ff90dac9460c8540ac76e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): flutter_app/lib/features/camera/camera_config_sheet.dart:102-145 | flutter_app/lib/features/camera/camera_config_sheet.dart:419-474 | flutter_app/lib/features/camera/camera_config_sheet.dart:1646-1676 | flutter_app/lib/features/camera/camera_config_sheet.dart:1679-1701 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0333a8a2f23dce738959bbab1821bbe5d4df13e49bd5191a15d43cedf363b6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt:930-1071 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt:1610-1655 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1722-1777 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1779-1790 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"2880db2c89200fe603713fe303c589376c3d8b4f9b68741df43eb97c1ebdfd0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): fix_luts_v2.py:26-91 | generate_camera_luts.py:27-110 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fix_luts_v2.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d1b82aff5b9b4bdad5f8cc793191d3506efdd90c1568fc3db0eb4930cb3754"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): flutter_app/ios/Runner/Camera/CaptureProcessor.swift:493-560 | flutter_app/ios/Runner/Camera/MetalRenderer.swift:503-584 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CaptureProcessor.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af2ed224ee48d219996f33ea44f7e9cae2021996396227491bc92e1fc22a19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (101 corresponding lines): flutter_app/lib/features/camera/camera_screen.dart:2211-2311 | flutter_app/lib/features/camera/camera_screen.dart:3387-3509 \u2014 These two members are one piece of code written twice and then edited apart: 101 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc04ae3eb59f242ac5b2ddc6471a363b8842ec8ab3cd17dd161f4846f10c748"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1109-1188 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1190-1289 \u2014 These two members are one piece of code written twice and then edited apart: 80 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8d6955c8c3fb939439c80fb43b336c2085c91108fb2a092f6914938b12be92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): flutter_app/lib/features/camera/camera_screen.dart:5248-5349 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1111-1197 \u2014 These two members are one piece of code written twice and then edited apart: 87 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5248}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e0cdce2401f39e4d7bbc9ce6a9bb624cb47942a3907faa5133de6c59a76590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): flutter_app/lib/features/camera/camera_screen.dart:4445-4510 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1597-1664 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4445}}}],"partialFingerprints":{"codehealthFindingId/v1":"83df1b1e6b976681ea98e6b2945fee75a66c5b897684bad96a70adb7bc8b245c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): flutter_app/lib/features/camera/camera_screen.dart:4366-4425 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1509-1578 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfd37f73ec68003a3e40f02660054ec6e0b528cf02b2279341df56eda37f483"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): flutter_app/lib/features/camera/camera_screen.dart:4290-4350 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1428-1497 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5ad82dfa13bcf82eba8142ba049d47c4704953ae4f4e82ce6901fd5f6f391f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): flutter_app/lib/features/camera/camera_config_sheet.dart:1930-1999 | flutter_app/lib/features/camera/camera_config_sheet.dart:2608-2671 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6bbd994f249b021b8221045fc755d4b8178c351e5b955e34d2fa975d09f048"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): flutter_app/lib/features/camera/camera_config_sheet.dart:872-909 | flutter_app/lib/features/camera/camera_config_sheet.dart:912-951 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3f4604470caea9f256079843f701f63f48948f96b9e977e90e0ae259e107c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): flutter_app/lib/features/camera/camera_config_sheet.dart:2518-2588 | flutter_app/lib/features/camera/preset_selector_widget.dart:64-117 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c43657558ec8fbc516adef3e91e3bd19af62329c68249b5c343dbcfd5d75b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): flutter_app/lib/features/camera/camera_screen.dart:4553-4600 | flutter_app/lib/features/camera/camera_screen.dart:4610-4668 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4553}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56e37303e86b6e936e9fe05cb54546d47392f0abd7756549b99f222c0e9766a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): flutter_app/ios/Runner/Camera/CameraSessionManager.swift:33-88 | native_plugin/ios/Classes/Managers/CameraSessionManager.swift:20-58 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7389271ca6ae7de880d69b50d81908531fc9db6c85d23b27119c2aa514f8ac11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): flutter_app/lib/features/camera/camera_manager_screen.dart:120-165 | flutter_app/lib/features/camera/camera_manager_screen.dart:178-227 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_manager_screen.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a2760df6be634a99ce2384a4dcc128f7af15ab3d53e7e681821b5e9d38064b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): flutter_app/lib/features/camera/camera_screen.dart:4879-4892 | flutter_app/lib/features/camera/preview_renderer.dart:1307-1336 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4879}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac718f6ba9f2e830a0d9fc3302e4112d59f581444919ce90f044aad05dcf2735"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): flutter_app/ios/Runner/Camera/CameraSessionManager.swift:343-378 | flutter_app/ios/Runner/Camera/CameraSessionManager.swift:380-414 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"31863ca85a181e0d1ef2b0f17b8ed5baef1f15ad16369e7341780eb475978f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): fix_luts_v2.py:95-117 | generate_camera_luts.py:114-143 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fix_luts_v2.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6615188e53fea0a6070954451a091f5ba60c8f77cc6233e7b116fc3b1f307b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): generate_shutter_sounds.py:71-97 | generate_shutter_sounds.py:163-185 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"generate_shutter_sounds.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"135ab53875e9d2652d8e25458044732cb69d70074579ac5f18132a679b814414"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1332-1351 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1808-1839 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f930117a39b90a4535a753ffc7e48c536a7ffa312f1a2143245718c857bafd9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): flutter_app/lib/features/camera/camera_screen.dart:5368-5405 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1207-1239 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a665a4c52f6ca98f9a0bb06164331cbeb5fa027d8cbd9c0cf5bc64ebeb43ec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): flutter_app/lib/features/settings/settings_screen.dart:742-766 | flutter_app/lib/features/settings/settings_screen.dart:782-806 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/settings/settings_screen.dart"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3d314fab28c984a68e37d2c9e28e6cb6f49670afcb32d277c373f80f3be222"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): flutter_app/lib/services/camera_service.dart:669-692 | flutter_app/lib/services/camera_service.dart:721-742 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_service.dart"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fc064637440d3d0b4796a7be518eedb7b50595438ede107aece15eeb82a929"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): flutter_app/ios/Runner/Camera/CameraSessionManager.swift:109-126 | native_plugin/ios/Classes/Managers/CameraSessionManager.swift:73-89 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92e1099a5b2daf6d0f322ec66672f47e4ae6f408ceaf1f90be4dd090d53c5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): flutter_app/lib/services/camera_manager_service.dart:115-127 | flutter_app/lib/services/camera_manager_service.dart:130-144 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_manager_service.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacd3c1d578ed2037e97f22cc0a97dcca5bea55230f49246104b236a1ae0dcd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): flutter_app/lib/features/subscription/subscription_screen.dart:34-46 | flutter_app/lib/features/subscription/subscription_screen.dart:48-64 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/subscription/subscription_screen.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d554c64c3c6906c314209f56cf02f9fcdbdf573963b2e197669db370b7ab1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): flutter_app/ios/Runner/Camera/CameraPlugin.swift:1676-1684 | flutter_app/ios/Runner/Camera/CaptureProcessor.swift:166-174 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"4054ee863522632d7ccf5a09d438b879292cd64dfd18bc98424a8e5b641ede1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): flutter_app/ios/Runner/Camera/CameraPlugin.swift:65-81 | native_plugin/ios/Classes/RetroCamPlugin.swift:11-20 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b9b5db1b1d0828584088d8f0ab3a936cb66fbc46f740c67ac5234f98f7ff26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): flutter_app/lib/features/camera/capture_pipeline.dart:1257-1283 | flutter_app/lib/features/camera/capture_pipeline.dart:1359-1385 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d356c7ebaf5f7d50c932310942f40ba7c0421407d5f791e3b60177554d2a9043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): flutter_app/lib/features/gallery/gallery_screen.dart:1474-1486 | flutter_app/lib/features/gallery/gallery_screen.dart:1488-1499 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"988b53f3e04e240bea3a898aca3c1b755d5c49d1ba45b1a37b6295ab59576ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): flutter_app/lib/features/camera/camera_config_sheet.dart:239-254 | flutter_app/lib/features/camera/camera_config_sheet.dart:576-596 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dbe225ef2c37bf349a82987233dfe0c2fb4e2ff7bc09416587f89f9d81c9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): flutter_app/ios/Runner/Camera/CameraSessionManager.swift:155-168 | flutter_app/ios/Runner/Camera/CameraSessionManager.swift:174-188 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed39fa70d8df7cf3f1fb54a5bfb651ef49ffe8939bdc01acfc1271114c927d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): flutter_app/lib/features/camera/preview_renderer.dart:787-801 | flutter_app/lib/features/camera/preview_renderer.dart:803-816 | flutter_app/lib/features/camera/preview_renderer.dart:818-831 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae451c6ab7aecd0220d445f3fee344631133e2aa083ffbf52b8a5670f38b5d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): flutter_app/lib/features/camera/capture_pipeline.dart:1387-1412 | flutter_app/lib/features/camera/capture_pipeline.dart:1446-1472 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"03767203faef8550a0245f92fd0adf0d26551ff11e266f33fb9ae3372a2eb534"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): flutter_app/lib/features/camera/camera_config_sheet.dart:2452-2463 | flutter_app/lib/features/camera/camera_screen.dart:4899-4910 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c753653ba015a227c0f70421a2d2200fd653d0c9861b6814001dfcec7ccab55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): flutter_app/lib/models/camera_definition.dart:1318-1326 | flutter_app/lib/models/preset.dart:167-176 | flutter_app/lib/models/preset.dart:259-267 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed873abd674de1fedfd7bacbb8fb64c8496936edc74cf11e033f75607498088"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): flutter_app/lib/features/camera/camera_controls_widget.dart:104-116 | flutter_app/lib/features/subscription/subscription_screen.dart:149-160 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_controls_widget.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8378e2385eced315815ff0c49f891f87350316817a737d8efd5e73bd13d033"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): flutter_app/lib/features/camera/camera_config_sheet.dart:2234-2254 | flutter_app/lib/features/gallery/gallery_screen.dart:1874-1888 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb171fd15e8ffd17c088770c6727db558614635169ef4b7696ea498db602e76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): flutter_app/ios/Runner/Camera/CameraPlugin.swift:355-363 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:368-376 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:382-391 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc1016d365ca05886670d51c77d0003a6d52fe512030a2c6185b40016142039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): flutter_app/lib/features/camera/camera_screen.dart:5030-5038 | flutter_app/lib/features/camera/camera_screen.dart:5040-5048 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5030}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffabd0ad33972f302df1bd8e336e1597665c9cb36c082d6937b812b7ba2f033a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): flutter_app/lib/features/camera/capture_pipeline.dart:1285-1309 | flutter_app/lib/features/camera/capture_pipeline.dart:1507-1530 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"715c40e6ba6101f9a7f8789d57663bc43254e92a2930b99355ebd27eec011be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1614-1622 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1624-1632 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e309ec84b4c94d6ca7f9787bbf57237be9d5f4ff725be5cba168177f188e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): flutter_app/lib/features/camera/preview_renderer.dart:351-362 | flutter_app/lib/features/camera/preview_renderer.dart:364-376 | flutter_app/lib/features/camera/preview_renderer.dart:586-595 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcb02bbcc9ff069bf93aa7e08456f0b495b73414fa3dd29de79d77dff8b67e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): flutter_app/lib/features/camera/preview_renderer.dart:620-635 | flutter_app/lib/features/camera/preview_renderer.dart:654-669 | flutter_app/lib/features/camera/preview_renderer.dart:751-766 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd35142d65daee0b38f450774775437d70f84d49058834fe2c325d6dcfc53ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): flutter_app/lib/features/camera/camera_notifier.dart:514-521 | flutter_app/lib/features/camera/camera_screen.dart:628-637 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccbb321e838cf8e17dd2f2c1b00135be103e62d92b1e116789742c24866e690"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): flutter_app/lib/features/camera/camera_notifier.dart:763-771 | flutter_app/lib/features/camera/grd_camera_notifier.dart:194-200 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e95a5b800d267a59c1293da5578695bf337289e903243de8c3663ccd9c2ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201353 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:5268-5320 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1117-1165 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 221 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:5268\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5268}}}],"partialFingerprints":{"codehealthFindingId/v1":"506231290827bd2754daf8fe4ac50cd5402f56e0787d63b0766eb6b50765e39d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:2271-2309 | flutter_app/lib/features/camera/camera_screen.dart:3467-3505 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:2271\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4339d242ddd91b4092dd684cef693bb0af80068b15587d7bf6b8b05f596d8b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201336 lines \u00D7 2): flutter_app/lib/features/camera/capture_pipeline.dart:1960-1993 | flutter_app/lib/features/camera/capture_pipeline.dart:2006-2041 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/capture_pipeline.dart:1960\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1960}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0378fb637acb653e096969a45830f8c296e10b4f893a9f4a8d59743a0faf76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:875-909 | flutter_app/lib/features/camera/camera_config_sheet.dart:917-951 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:875\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b9bf25e6dca12a188d21e30813b11c6278c83029e6aa59c822489b2c65131f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 2): flutter_app/lib/features/settings/settings_screen.dart:221-255 | flutter_app/lib/features/settings/settings_screen.dart:820-852 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/settings/settings_screen.dart:221\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060flutter_app/lib/features/settings/settings_screen.dart:219\u0060 calls \u0060watch\u0060 and \u0060flutter_app/lib/features/settings/settings_screen.dart:818\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/settings/settings_screen.dart"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cff4ed64c3fb2daebe368cea104a3ed59b32408f52766b173bdf1597092694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:5182-5210 | flutter_app/lib/features/camera/camera_screen.dart:5511-5539 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:5182\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a289fcaf3ec032c1bc7d828d60574e5591b58320b803f78baf2fca02737a762c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): flutter_app/lib/features/camera/capture_pipeline.dart:1312-1340 | flutter_app/lib/features/camera/capture_pipeline.dart:1477-1505 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/capture_pipeline.dart:1477\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"50580f0a57cd8935161912a0e54f0067a466037babfbc19aafd3f4f221b358bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:4445-4472 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1597-1624 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 221 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:4445\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4445}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0375f8c4f671ef1443e5202e74b8839459630859d3426b5df0cae6d63fdfb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:1937-1960 | flutter_app/lib/features/camera/camera_config_sheet.dart:2611-2634 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:1937\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"82892e39d21fea894a972fcabd83cf0b0f6d37d9915ea6fcf77c1c0d34f7533b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:1212-1234 | flutter_app/lib/features/camera/camera_config_sheet.dart:1256-1278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:1212\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1f8495dd47425bf8837cb1679860f6a4cbbfc9b9d54bf706d9353cbaaa9529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:4290-4312 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1428-1450 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 221 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:4290\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bec4a2d13fa9842626da81b06e2f3e2ca5f7223bda7f9ba321894bcc082d1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:5209-5230 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1071-1092 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 221 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:5209\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba8cf8f8e096eabcac92445d9a6d7f5593c9ee78fccfaccfb7ff231fe67b001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:105-122 | flutter_app/lib/features/camera/camera_config_sheet.dart:422-442 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8344b6e1c57ff2f8aaf9f2c66d67bd935f46d71a25cdaddad1a3860528cb62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): flutter_app/lib/features/image_edit/image_edit_screen.dart:1558-1578 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1644-1664 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart:1558\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3f7a402958747396b193815756880d14b3a7668f80e209293e848db8c30bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): flutter_app/lib/features/camera/camera_screen.dart:5201-5219 | flutter_app/lib/features/camera/camera_screen.dart:5530-5548 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1063-1081 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 221 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:5201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2567955583d1c67c0cb28e2eda6bd1d1dacea1ea086b64120b10d19dcc376cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:3393-3410 | flutter_app/lib/features/camera/camera_screen.dart:3606-3623 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:3393\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3393}}}],"partialFingerprints":{"codehealthFindingId/v1":"026bb3cd2772b6f238fc51cf5a1b367ee28095c4105ec7a0bfd79c8b2a5a25e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:5368-5385 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1207-1222 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 221 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:5368\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5368}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f8a2c15145675b9eb9fc6623298eaa48e69f427af04254dac93968bf8b1f6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): flutter_app/lib/features/camera/capture_pipeline.dart:628-644 | flutter_app/lib/features/camera/capture_pipeline.dart:647-664 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/capture_pipeline.dart:647\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060flutter_app/lib/features/camera/capture_pipeline.dart:646\u0060 calls \u0060debugPrint\u0060 and \u0060flutter_app/lib/features/camera/capture_pipeline.dart:627\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84dc6921b30a36d766804560e2e0daa24e73c26a53b50f302152e856c9d765a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:180-194 | flutter_app/lib/features/camera/camera_config_sheet.dart:510-526 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b7e1598617cdfb56118ae90047d895e3e6cf1bfc2102efad0ce59319fbf60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:2346-2360 | flutter_app/lib/features/camera/camera_config_sheet.dart:2557-2572 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:2346\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f245efbad6202940101338f29a6bc9e4c3f1a4939b6d1d3b2c7e57500c5fe32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:4585-4600 | flutter_app/lib/features/camera/camera_screen.dart:4653-4668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:4585\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4585}}}],"partialFingerprints":{"codehealthFindingId/v1":"df35472190521769ae7af57f37c4d6874238099d30f3a538d486f43d09ac24e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): flutter_app/lib/features/camera/camera_screen.dart:5177-5191 | flutter_app/lib/features/camera/camera_screen.dart:5506-5520 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1046-1058 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 221 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:5177\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71cbd19835c72648a0a52256dc78f358f8616d5e07f3dfdeb8bd29a52fe1f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:124-138 | flutter_app/lib/features/camera/camera_config_sheet.dart:445-459 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:124\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df1f758d87d3849f26a9ae2eaba84303150e14efdc7383a9662d41978501d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:163-176 | flutter_app/lib/features/camera/camera_config_sheet.dart:492-506 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b92c6d30c9df10135ac34855e400f068ccd061344989762fbba80d6c7d4c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:5410-5424 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1243-1257 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 221 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c511d33787575c8167d8d4f8d3778fd349bb998c323fdabb3ef9718f85467915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): flutter_app/lib/features/camera/preview_renderer.dart:638-652 | flutter_app/lib/features/camera/preview_renderer.dart:672-686 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9e7e302bb6a1bd22a53622b68b2b60409193ecb6cb06bf2253c4e969baccc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:224-237 | flutter_app/lib/features/camera/camera_config_sheet.dart:559-572 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:224\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a612ece12439b440d4c01356f97634fcf2c75819407f3670027ce2504b579bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:243-254 | flutter_app/lib/features/camera/camera_config_sheet.dart:583-596 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:243\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5050912346d76a79611aabbf8ea9f7b826cb6c57ef8eee2f6787f3eaba9cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:3639-3652 | flutter_app/lib/features/camera/camera_screen.dart:3654-3667 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:3639\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3639}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a6934cd33e298ab49519327f8d73a01ad842735b51d7b1146833c062c5ad57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:3701-3714 | flutter_app/lib/features/camera/camera_screen.dart:3748-3762 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:3701\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3701}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7e748d7610c3413cf31c9d611d52bb5fdf50d209892237b94d5c23219814e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:4482-4495 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1635-1649 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 221 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:4482\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98fb4eef9a0c24acf759d5480c7cb085120073bab9c6c62b9c1221d9d607489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:352-364 | flutter_app/lib/features/settings/settings_screen.dart:542-554 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:352\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060flutter_app/lib/features/settings/settings_screen.dart:541\u0060 calls \u0060SafeArea\u0060 and \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:351\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"388c1ba9ff0178ce4bb2f91257ee038064c385a50bc87cf2f56dfcadc8acce1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): flutter_app/lib/features/camera/camera_sample_screen.dart:168-180 | flutter_app/lib/features/camera/camera_sample_screen.dart:199-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_sample_screen.dart:168\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_sample_screen.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"be65f6ff2ccac51c91b5a1703a429db3839e6cc773edff2ee22d1a3befd18390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:1714-1726 | flutter_app/lib/features/image_edit/image_edit_screen.dart:583-595 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 221 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea76087944e966ccb176a938f668f5096136bb5f8dbab348dfd68d97dbadc54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): flutter_app/lib/features/camera/camera_screen.dart:3393-3403 | flutter_app/lib/features/camera/camera_screen.dart:3513-3523 | flutter_app/lib/features/camera/camera_screen.dart:3606-3616 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:3393\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3393}}}],"partialFingerprints":{"codehealthFindingId/v1":"16641ca9874efec2ed51c1cef6344d2309f62f5e58c61c0552b9b5c43ae51de0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:1382-1392 | flutter_app/lib/features/camera/camera_config_sheet.dart:1430-1440 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:1382\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c850b1e305c37851d96bfda19fd121fd9898afe7e546b551de8df826d7ad112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:2218-2227 | flutter_app/lib/features/camera/camera_screen.dart:3409-3419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:2218\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a052f7a4f4bbe81ace75ff47f231a237ea0c6cce00f957f83d48b3cedb3ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:3406-3416 | flutter_app/lib/features/camera/camera_screen.dart:3526-3536 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:3406\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3406}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea611026868ca0cb4c8f08ff2ccabe48c3c03bb7e8feeee6e1172394d22b178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:3882-3892 | flutter_app/lib/features/gallery/gallery_screen.dart:480-491 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/gallery/gallery_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060flutter_app/lib/features/gallery/gallery_screen.dart:476\u0060 calls \u0060setState\u0060 and \u0060flutter_app/lib/features/camera/camera_screen.dart:3880\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3882}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e40239d97b05f54d1ff6da65ca028a97b10eb127d2a112061557a11d88aa27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:3998-4008 | flutter_app/lib/features/gallery/gallery_screen.dart:707-717 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/gallery/gallery_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:3998\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3998}}}],"partialFingerprints":{"codehealthFindingId/v1":"543116050ade07039dae155cb9b13207d2bbc79e4b0d64d3a06f87ca3bd35c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): flutter_app/lib/features/camera/capture_pipeline.dart:951-961 | flutter_app/lib/features/camera/capture_pipeline.dart:1111-1121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/capture_pipeline.dart:951\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7f05828ac2aadc0ac24f747d05578f7af2b177a4ab10c9a4bcf16479fa60e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): flutter_app/lib/services/camera_service.dart:683-692 | flutter_app/lib/services/camera_service.dart:732-742 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/services/camera_service.dart:683\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_service.dart"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"2585f2f7dc5031e8e51792cb8f5121add400b5316d4f4561ddaff6011f6cbab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:153-161 | flutter_app/lib/features/camera/camera_config_sheet.dart:481-490 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"70633df4e6bdb1b62de07469e721941ada203bf9fce336526ecdc24b56baad75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): flutter_app/lib/features/camera/camera_controls_widget.dart:107-116 | flutter_app/lib/features/camera/camera_options_widget.dart:34-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_controls_widget.dart:107\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_controls_widget.dart"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bfbf4538a9e102a6e32ce80c632ea9219c83c2eec5c38ecb425be43112a271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:2143-2152 | flutter_app/lib/features/camera/camera_screen.dart:2186-2195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:2143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d171bf7b77c8d2328a40c43e7264758116b0ad04e25793da6550fbf46f78c720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:3145-3155 | flutter_app/lib/features/settings/settings_screen.dart:128-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:3145\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3145}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e8da2699bbd6aa1c4ead54214d339dff8b2eab5bad8f5198d847d9ec948046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:4879-4884 | flutter_app/lib/features/camera/preview_renderer.dart:1307-1316 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:4879\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4879}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82bb8b73982fb1fb3f9990383b006d2d418274792306a0c768bfcbdc2906ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:1500-1508 | flutter_app/lib/features/camera/camera_config_sheet.dart:1559-1567 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:1500\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd6234316c4ea523c9c6c9461e66060d805b1fadc45eb54938e3ac6678e24e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): flutter_app/lib/features/image_edit/image_edit_screen.dart:328-336 | flutter_app/lib/features/image_edit/image_edit_screen.dart:361-369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/image_edit/image_edit_screen.dart:328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5bdce649d1e50719469fe1fd7ac2f112632ab0cc196f4364af45dcd5770391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): flutter_app/lib/features/camera/camera_config_sheet.dart:121-127 | flutter_app/lib/features/camera/camera_config_sheet.dart:1654-1661 | flutter_app/lib/features/camera/camera_config_sheet.dart:1682-1688 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"764b67e2cb8666a1b077152da30f5d211f4ceca8c4ff468ece2f2dce305a1a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): flutter_app/lib/features/camera/camera_screen.dart:3398-3405 | flutter_app/lib/features/camera/camera_screen.dart:3611-3618 | flutter_app/lib/features/camera/camera_screen.dart:4642-4652 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:3398\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3398}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeaf4b544df2d9d32d09e5ea3babb91b2f89a5cc8e3951c86b51fda2ee2d43f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:5938-5946 | flutter_app/lib/features/camera/capture_pipeline.dart:1915-1922 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5938}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eaec768c0f8ee3c6272ccff7f96e71b82e4c6a5838bfa8ff1f63e8a65b46ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): flutter_app/lib/features/camera/capture_pipeline.dart:697-704 | flutter_app/lib/features/image_edit/image_edit_screen.dart:1907-1914 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cb3e889fb64254ba41ba15f408270f4e539ce99626f037d3e6b36250fc519f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): flutter_app/lib/features/camera/camera_notifier.dart:1264-1270 | flutter_app/lib/features/camera/grd_camera_notifier.dart:261-267 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fec5cf91afd04136e993d078365e69eb81e2a50eeb6af3ff17cbf343345f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:3901-3907 | flutter_app/lib/features/gallery/gallery_screen.dart:493-499 \u2014 \u0060flutter_app/lib/features/camera/camera_screen.dart\u0060 and \u0060flutter_app/lib/features/gallery/gallery_screen.dart\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:3901\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3901}}}],"partialFingerprints":{"codehealthFindingId/v1":"7417e7eae710cde8f4cdaf2efae9cefb5253fef17ef43c3b89abe1fe4a315ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): flutter_app/lib/features/camera/camera_config_sheet.dart:123-128 | flutter_app/lib/features/camera/camera_config_sheet.dart:444-449 | flutter_app/lib/features/camera/camera_config_sheet.dart:1657-1662 | flutter_app/lib/features/camera/camera_config_sheet.dart:1684-1689 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_config_sheet.dart:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34d701b4898acd89607d59df8e9a02720c1d1467567c5503fd4d40f2228f31e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): flutter_app/lib/features/camera/camera_config_sheet.dart:1440-1445 | flutter_app/lib/features/camera/camera_config_sheet.dart:1447-1452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"0246c1ff4e1a730fe4488be543a00d5e3e6e6bb6337f911788af919e6399a547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/lib/features/camera/camera_screen.dart:794-798 | flutter_app/lib/features/camera/camera_screen.dart:973-977 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/lib/features/camera/camera_screen.dart:794\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b62d34e51eeec0e0ce5655fa8bddb3daacd5e890c7cd6cd76684979143e01e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/lib/features/camera/camera_notifier.dart:390-394 | flutter_app/lib/features/camera/grd_camera_notifier.dart:137-141 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca84cc7282105d9608b39b508f533f192bd10a78077c16fc0505c63c07068ae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/lib/features/camera/camera_notifier.dart:1272-1276 | flutter_app/lib/features/camera/grd_camera_notifier.dart:269-273 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2820777a20dfb939d050874c16c6345aa158e16bf5cf8e2147c7c1d199bd56c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/lib/features/camera/camera_notifier.dart:2113-2117 | flutter_app/lib/models/camera_definition.dart:824-828 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060flutter_app/lib/features/camera/camera_notifier.dart:2111\u0060 calls \u0060toDouble\u0060 and \u0060flutter_app/lib/models/camera_definition.dart:822\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":2113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5d9f078140b087b399e003f3ab63811b8d6ca0e69dcd20a7bc2b98a9e67bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/lib/services/camera_manager_service.dart:156-160 | flutter_app/lib/services/camera_manager_service.dart:170-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_manager_service.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"59163a36c568511caaf1686cbdf62557246aba535c09e262017b5ad4f9cd09f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201339 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1054-1092 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1213-1246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1054\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce0c7c3275884372ebe03379f5b6c2cdcbef9121e9a68de7f82c091a8e660a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1098-1132 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1248-1280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1098\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"7292f462b35c4a85645510dae98d6aadcc2c42b376185ddfa58a0f87387cd88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1333-1349 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1815-1831 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"e545dc00d1f361a40b6e06926631a13badbd2b99062d8c46a2e11048f25dbb31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1135-1147 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1282-1294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1297\u0060 calls \u0060currentTimeMillis\u0060 and \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1150\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9738e66d6cbf1109e2d022b600d2d1775eb880c2cfa376050b2f9ecd24aab5a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1133-1141 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1231-1240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1142\u0060 calls \u0060d\u0060 and \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1241\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec4de20cee31592ddf907f60a53880665e72a860f849271622b540e4698846b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2132-2145 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2217-2229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":2132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85cbe4889856d044f939dd393eb63aa5cf715e978a12f99f4c5bfbe193a78ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1743-1749 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1751-1756 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1743\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf13aa58de57e7a9addb8d392de615362d0014e2732bcf9379b8d6574beadd41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1044-1052 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1204-1212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1044\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1053\u0060 calls \u0060d\u0060 and \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1213\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c843ad83116fefd984d836b5b41980ed36dbb1b78350d5270bb5ecfcbbe47a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 4): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt:1033-1035 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt:1645-1647 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1760-1765 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1780-1785 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fc91174432a5b020aeb2cf3c8997b43607ebfcd18d2894073dc1f13b6b75bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1165-1169 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1261-1265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1170\u0060 calls \u0060d\u0060 and \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:1266\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4df235bd6d257ffd5c692e72d69e51909f84463f0c7a21c996e2c70209fd91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1151-1155 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1299-1303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1297\u0060 calls \u0060currentTimeMillis\u0060 and \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt:1147\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e153886edc64a42769a18717959f1b6f32498b3c324bc9bff1f5a4a216c16b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2147-2156 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2242-2251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2253\u0060 calls \u0060putAll\u0060 and \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2158\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4dc88bd56c0435625404f04f935b4cf144d231a3e9c053dd66629a8d829226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2631-2635 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2686-2692 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2631\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2682\u0060 calls \u0060recycle\u0060 and \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2627\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":2631}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef513ccb4316044866d45ea17f59fdb01a2974a096483843b35a3ce5e5366d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:774-782 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2965-2973 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:774\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4139da4ad07ff115b8fcf006b73560b1acdf9dfa2f47dba984beaf2a52af34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:785-814 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2978-3007 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:785\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"401b6570327880d3e69562f3c54463fd523a3fae95eec2d609678b5540885fda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:828-838 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:3020-3030 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:828\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"731e0944c07cd4b12b874fdeea57384313aabddf58a988d03d1a689ca656ebd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2116-2120 | flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2187-2191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt:2116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21925bc60ed460ded4d8138bbdc7fcce5b6261da9e53e76fa77e2e0fe51270a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201367 lines \u00D7 2): fix_luts_v2.py:28-91 | generate_camera_luts.py:44-110 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fix_luts_v2.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f2dcc4e996b56e01011cae00628a8fdaa37fa0ff2304dda1e67ba10e99e53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201323 lines \u00D7 2): fix_luts_v2.py:95-111 | generate_camera_luts.py:114-136 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fix_luts_v2.py:112\u0060 calls \u0060join\u0060 and \u0060generate_camera_luts.py:138\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fix_luts_v2.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6225acca0da779bc9d79f64dd38fbe0a8a49bc8307819d52ee8742c3feab982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): generate_shutter_sounds.py:144-149 | generate_shutter_sounds.py:171-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"generate_shutter_sounds.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"676575167c690f055827eedc542b19b49bf6f806f17cd099b6c00ccb491703fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraSessionManager.swift:45-67 | native_plugin/ios/Classes/Managers/CameraSessionManager.swift:28-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e0adccc3052851e3ceca9d20edb745e181a2f9043787c3bbcef023300bf3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): flutter_app/ios/Runner/Camera/CaptureProcessor.swift:506-529 | flutter_app/ios/Runner/Camera/MetalRenderer.swift:521-546 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/ios/Runner/Camera/CaptureProcessor.swift:506\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CaptureProcessor.swift"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d370618fb01478150c01c8d719f3d5781bb2acc9a41995197347a2a49da1b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201318 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraSessionManager.swift:354-371 | flutter_app/ios/Runner/Camera/CameraSessionManager.swift:396-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0926b4a373b188b5663a2c25515f9e929d3c0feac0c878b182fbacdc85cff61e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraPlugin.swift:949-964 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:1007-1022 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da7bfc0164e92e97256c4411707e66ddfa8c240891abcaf375a4a1aa85a8078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraPlugin.swift:503-520 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:561-578 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060flutter_app/ios/Runner/Camera/CameraPlugin.swift:579\u0060 calls \u0060merge\u0060 and \u0060flutter_app/ios/Runner/Camera/CameraPlugin.swift:521\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5de813e79ed1a6d8ce9bcdfb9ee8d741ae377e3679b84bfd0fbd2b692c204a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraPlugin.swift:729-741 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:1198-1211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc27049d4edba08c87694fb37f63e2bf9049677e50508db93ac44ab83958554c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraSessionManager.swift:109-122 | native_plugin/ios/Classes/Managers/CameraSessionManager.swift:73-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/ios/Runner/Camera/CameraSessionManager.swift:109\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060flutter_app/ios/Runner/Camera/CameraSessionManager.swift:123\u0060 calls \u0060applyMirroringLocked\u0060 and \u0060native_plugin/ios/Classes/Managers/CameraSessionManager.swift:87\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"717027c180670247f064e2efa4d7fc9be843f24b9881287c59d3f9901900e4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201312 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraPlugin.swift:65-76 | native_plugin/ios/Classes/RetroCamPlugin.swift:11-16 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/ios/Runner/Camera/CameraPlugin.swift:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7232d8531692754c4634cc0f6b5076d1fde8f81b3833d93d9fb47d4f0da815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): flutter_app/ios/Runner/Camera/MetalRenderer.swift:694-705 | native_plugin/ios/Classes/MetalRenderer.swift:179-189 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/ios/Runner/Camera/MetalRenderer.swift:694\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"8179d4ea5120da59950d73de7d63ec2a79d72cbe2f319e3abf53f7695bc6cdfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): flutter_app/ios/WidgetsExtension/DazzCameraWidgetsBundle.swift:86-97 | flutter_app/ios/WidgetsExtension/DazzCameraWidgetsBundle.swift:112-123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/ios/WidgetsExtension/DazzCameraWidgetsBundle.swift:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/WidgetsExtension/DazzCameraWidgetsBundle.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a15d680eececc462c454de365328e53c24aec5585720d227b9398b0ea96958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraPlugin.swift:490-501 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:537-548 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94e5585dfe007852a4740a2e0c2ad1ae24710a4b4a0246e49f7d5caae6242d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraPlugin.swift:783-790 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:1253-1261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/ios/Runner/Camera/CameraPlugin.swift:783\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060flutter_app/ios/Runner/Camera/CameraPlugin.swift:782\u0060 calls \u0060cleanup\u0060 and \u0060flutter_app/ios/Runner/Camera/CameraPlugin.swift:1252\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81e27407546588b78ec8240401848518591304e48bf5f3f409dbf17e7b33fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraPlugin.swift:1677-1684 | flutter_app/ios/Runner/Camera/CaptureProcessor.swift:167-174 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac28db72953abf74a1324d1d14afb424c805ef9469a8e1f3b621e0106c7c9243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 3): flutter_app/ios/Runner/Camera/CameraSessionManager.swift:255-262 | flutter_app/ios/Runner/Camera/CameraSessionManager.swift:264-271 | flutter_app/ios/Runner/Camera/CameraSessionManager.swift:272-276 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/ios/Runner/Camera/CameraSessionManager.swift:255\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060flutter_app/ios/Runner/Camera/CameraSessionManager.swift:264\u0060 calls \u0060clampGains\u0060 and \u0060flutter_app/ios/Runner/Camera/CameraSessionManager.swift:272\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a15bc98a932c086264aa5cc8c19b3b07e657689cfa2bc0cfbc8e48e004c0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 7): flutter_app/ios/Runner/Camera/CameraPlugin.swift:1767-1768 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:1772-1775 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:1782-1783 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:1788-1793 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:1813-1814 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:1829-1834 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:1861-1862 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060flutter_app/ios/Runner/Camera/CameraPlugin.swift:1859\u0060 calls \u0060Float\u0060 and \u0060flutter_app/ios/Runner/Camera/CameraPlugin.swift:1787\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"743dc9ac0ae19ff42f9d41b55f8f2a23c2505756bf3436f92e44f15a5b4e3d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraPlugin.swift:298-303 | native_plugin/ios/Classes/RetroCamPlugin.swift:62-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060flutter_app/ios/Runner/Camera/CameraPlugin.swift:298\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"518ac1c6a856479b5f8c0b5ad3eb9e9dbe87758bc7f2beae8dcd4e8d656dbe77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraPlugin.swift:522-526 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:581-585 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"3601e0c95dbc6fec0d662b2f1f2872cba2ca2d0ea90ac7bed65d142b9f9c7a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): flutter_app/ios/Runner/Camera/MetalRenderer.swift:648-652 | native_plugin/ios/Classes/MetalRenderer.swift:206-210 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"d201bddf5607f1168d4761fa085ed7c060f2922ee241aa25184e521370c528d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): flutter_app/ios/Runner/Camera/CameraPlugin.swift:1487-1492 | flutter_app/ios/Runner/Camera/CameraPlugin.swift:1493-1498 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60fe18c08ad8ca312e55e25a6de8593415ab403b2076bcec32e4bc068b5e3b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): tools/generate_assets.py:95-111 | tools/generate_assets.py:115-129 | tools/generate_assets.py:133-150 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate_assets.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"22426afb13540724ba264f9b4d511373192bb008317adc2dbc8985c86febcf67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): tools/generate_luts.py:48-62 | tools/generate_luts.py:117-131 | tools/generate_luts.py:152-164 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate_luts.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"65080ae6cafdec2c95b0e3e663f187c6b67a23e0f27b9e84a925d73abed27cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 3\u002B corresponding lines): tools/generate_thumbnails.py:95-97 | tools/generate_thumbnails.py:100-102 | tools/generate_thumbnails.py:113-116 | tools/generate_thumbnails.py:119-121 | tools/generate_thumbnails.py:131-133 | tools/generate_thumbnails.py:136-139 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate_thumbnails.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"16100091f2cf36a808dda23ee9a347670b8148634d3de46641fc08fe8a972c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): tools/generate_luts.py:66-79 | tools/generate_luts.py:135-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate_luts.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcff71d5b14fd1cc3907badfe61b82803c1bfdb2a3994eb320ab9c9f56a4bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): tools/generate_luts.py:54-61 | tools/generate_luts.py:83-92 | tools/generate_luts.py:123-130 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate_luts.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2305a5559e09cac038b6229183dbfff69712337f7d1339167e48f987fbe26135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): tools/generate_assets.py:95-103 | tools/generate_assets.py:115-123 | tools/generate_assets.py:133-141 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/generate_assets.py:144\u0060 calls \u0060ellipse\u0060 and \u0060tools/generate_assets.py:125\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate_assets.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd44ea0624acf0be0bdb42bb4308c0c0726e236bcf40f4960266b85aebc7930"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CameraAppNotifier (LCOM4 24): CameraAppNotifier\u0027s methods fall into 24 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 24 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a029309b8b983af2100a0e480f3f8b70a5e5fb8b2dd0b1e34614674bd05c071"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GrdCameraNotifier (LCOM4 13): GrdCameraNotifier\u0027s methods fall into 13 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 13 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/grd_camera_notifier.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd97f9b8ba4487f1306b57d7a404ee6234a1e5f3dd4ec362128c4522c47fb86"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _CameraScreenState (LCOM4 4): _CameraScreenState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e498017bb8b47b03770dc636415f177b37995b44d5fb799d5797ec0db5d85c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PreviewRenderParams (LCOM4 4): PreviewRenderParams\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8aef6281a03248204014285cdaddee4156a39c6a3eaada43c23e9912b126446"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/lib/features/camera/capture_pipeline.dart: flutter_app/lib/features/camera/capture_pipeline.dart changed 94 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 183 in CapturePipeline.process at line 124. 45 of those changes were fix/bug commits, and the other 49 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/features/camera/capture_pipeline.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da0de23ff19fccb7a30fa9a6a2a6184d9e319a934fa62a897372bc9219ec1c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/lib/features/camera/camera_notifier.dart: flutter_app/lib/features/camera/camera_notifier.dart changed 100 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in CameraAppNotifier.takePhoto at line 1321. 43 of those changes were fix/bug commits, and the other 57 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/features/camera/camera_notifier.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7903bcbed4d9826d9e404c55f19eba163fdcde48103485f5f6ca6e5cb8349747"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/lib/features/camera/camera_screen.dart: flutter_app/lib/features/camera/camera_screen.dart changed 183 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in _CameraScreenState._classifySceneHintKey at line 807. 98 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/features/camera/camera_screen.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ee83ab2275607e7b58c3678040d04c0f285ad1999c11546b6a2404a80fbd51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/ios/Runner/Camera/CameraPlugin.swift: flutter_app/ios/Runner/Camera/CameraPlugin.swift changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in RetroCamPlugin.buildShaderParams at line 1763. 23 of those changes were fix/bug commits, and the other 29 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/ios/Runner/Camera/CameraPlugin.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dd5a89be29e20794970c029180fc06f18ca2c522712e7d6558197dc380fdc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/ios/Runner/Camera/MetalRenderer.swift: flutter_app/ios/Runner/Camera/MetalRenderer.swift changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in MetalRenderer.updateParams at line 283. 14 of those changes were fix/bug commits, and the other 18 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/ios/Runner/Camera/MetalRenderer.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6d5a6b2d40e7bffa042e5c18e11fc29f89a150359b13c6889c715c1d58e836"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt: flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt changed 100 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in CameraPlugin.buildMotionPhotoVideoEffects at line 1445. 48 of those changes were fix/bug commits, and the other 52 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9171b994e2a39c34ebfc480bc1c4da8e49a3eee325d01d65170ee6a63ea2b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/lib/features/camera/preview_renderer.dart: flutter_app/lib/features/camera/preview_renderer.dart changed 50 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in PreviewRenderParams.sceneClass at line 243. 22 of those changes were fix/bug commits, and the other 28 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/features/camera/preview_renderer.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"81147de4618002f48df6015da6aaf64d38b198b056d743b5cefd6e7fbff36d23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/lib/models/camera_definition.dart: flutter_app/lib/models/camera_definition.dart changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in DefaultLook.toJson at line 569. 14 of those changes were fix/bug commits, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/models/camera_definition.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"f917a9aa720dc3f49947692942a2c9fb8565f928752d3fbe0f68f88537286bef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/lib/features/camera/camera_config_sheet.dart: flutter_app/lib/features/camera/camera_config_sheet.dart changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in _SubPanelState._buildWatermarkContent at line 980. 23 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/features/camera/camera_config_sheet.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5447ef6c72a05156a39d1d14dc53c597fc536b1491dcf29c65a69ec174e078"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt: flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in CaptureGLProcessor.setUniforms at line 1561. 16 of those changes were fix/bug commits, and the other 20 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"937ed7d5d11abb3696af132937560baeec6e3d594e7c220d5d91f411c35a018a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/lib/services/camera_service.dart: flutter_app/lib/services/camera_service.dart changed 50 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CameraService._onNativeEvent at line 787. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/services/camera_service.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_service.dart"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"64afbd62d389a1528ccb37e31b07306ac594e41f36ee2fdee694a4316b1e8f4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/lib/features/gallery/gallery_screen.dart: flutter_app/lib/features/gallery/gallery_screen.dart changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in _LivePhotoSupport._resolvePlaybackPath at line 206. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/features/gallery/gallery_screen.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff75261919ca554171a33c928120e22cd9edd36c5546023120adff542c1bc7e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/lib/features/image_edit/image_edit_screen.dart: flutter_app/lib/features/image_edit/image_edit_screen.dart changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in _ImageEditScreenState._save at line 255. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/features/image_edit/image_edit_screen.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bf2f674addab50edbb083dae0da0ce51d4e14abdb1ce7da602e2953edeaab5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/ios/Runner/Camera/CaptureProcessor.swift: flutter_app/ios/Runner/Camera/CaptureProcessor.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CaptureProcessor.processImage at line 183. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/ios/Runner/Camera/CaptureProcessor.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CaptureProcessor.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b1b8fed0a9b00432a7006f493a2ab2908aaf2b3bced1b3c2cdac6922835c66"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flutter_app/ios/Runner/Camera/CameraSessionManager.swift: flutter_app/ios/Runner/Camera/CameraSessionManager.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CameraSessionManager.setWhiteBalance at line 237. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/ios/Runner/Camera/CameraSessionManager.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7a28c6848521a47169c259c091ac5ebce3623a88ee7ec7e5907a74249b9973"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: native_plugin/ios/Classes/MetalRenderer.swift: native_plugin/ios/Classes/MetalRenderer.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in MetalRenderer.updateParams at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- native_plugin/ios/Classes/MetalRenderer.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/ios/Classes/MetalRenderer.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41a1a8261d0df6cfd8b8e770893662f634b694a28aa025bbac17d4b154434d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: flutter_app/lib/features/camera/grd_camera_notifier.dart: flutter_app/lib/features/camera/grd_camera_notifier.dart changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is GrdCameraNotifier.takePhoto at line 282), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(camera): restore preview pipeline and landscape ratio crop\u201D; \u201Cfix: watermark default none \u002B grd_camera reads watermark from cameraAppProvider\u201D; \u201Cfix(ci): \u4FEE\u590D Flutter CI \u7F16\u8BD1\u9519\u8BEF\u201D; \u201Cfix(ci): \u4FEE\u590D GitHub Actions \u7F16\u8BD1\u5931\u8D25\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/features/camera/grd_camera_notifier.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/grd_camera_notifier.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7f01a802a6be94d705ee614dbf9818563978fcd2bc16d87fb60e1f4ee77b2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: flutter_app/lib/models/preset.dart: flutter_app/lib/models/preset.dart changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is Preset.fromJson at line 366), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(crash): tolerate numeric strings in settings and JSON parsing\u201D; \u201Cfix: \u4FEE\u590D CI analyze \u8B66\u544A \u002B \u4F18\u5316\u4EE3\u7801\u8D28\u91CF\u201D; \u201Cfix: resolve Android build errors and Dart compilation issues\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/models/preset.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/preset.dart"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"140773cf00b46b0f9cae25ba521d9159125de74ac4ac209b2c1d6a3677e61b2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: flutter_app/ios/Runner/AppDelegate.swift: flutter_app/ios/Runner/AppDelegate.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is AppDelegate.application at line 6), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: restore iOS plugin registration and add missing Flutter import in CameraPlugin\u201D; \u201Cfix: resolve Android Kotlin visibility error and optimize iOS plugin registration\u201D; \u201Cfix: camera preview black screen \u002B iOS plugin integration\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/ios/Runner/AppDelegate.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/AppDelegate.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec46135f8dab7d01acb838d37bd35d154726efb162969b6cb8ad7b7278394427"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: flutter_app/lib/services/subscription_service.dart: flutter_app/lib/services/subscription_service.dart changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is SubscriptionService._initPlatformState at line 26), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u4FEE\u590D CI analyze \u8B66\u544A \u002B \u4F18\u5316\u4EE3\u7801\u8D28\u91CF\u201D; \u201Cfix: upgrade purchases_flutter to 9.x, add iOS project files, fix compileSdk=36, upgrade AGP to 8.3.0\u201D; \u201Cfix: resolve Android build errors and Dart compilation issues\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2025-12-24..2026-03-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-12-24 01:18:57 \u002B08:00\u0027 --until=\u00272026-03-24 01:18:57 \u002B08:00\u0027 --full-history --no-merges -- flutter_app/lib/services/subscription_service.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/subscription_service.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64315d7b87e3688ebfa0672389e834b39498d204b926913995d987fcd96052d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u4E0A\u7EBF\u524D\u6539\u56DE SubscriptionService() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/subscription_service.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e42604acb9b65b23c348cf4b7a51cb1bc1f4d6c7c7c86c135eddc7d00e971a"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060flutter_app/lib/main.dart\u0060 makes this repository a deployable product (line 6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/main.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa04d6107d31c12fbc55ba5d23431a31b01b8d5a1d52fd92d1eed2f6a2f62e9"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060flutter_app\u0060 (29180 LoC, 94 module-visible types across 11 directories) overshoots its size bounds. 1 of 6 build unit(s) (Gradle, Xcode, checkout, pub) overshoot their size bounds, lowering Project Cohesion to 6.7/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a7639764a91f23ec2a5b416a12524a981633f769f96285ca5d1ad8f7c322af"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d649dbaf2586db0f848d2e55b772e37c01943f1b824ff6c446b9fcbf5333f44b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06c327cf315057ad3c74ae5ac66f60074ecb13bd2baeacc6aa8bb6837708734e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"573ed69bb4194c09b390d418b53c38903627327ab747a9bdfacaf19bdc71c53f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f79dee472a51ee73542276d2f86d037eb3b0665f336cd2371eae4151c0e7490"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"394fb109a2bc720f45a2ac18d7e84c507e18825b84c203bcd8e4bafebe6cd57e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa5bbf8ae12105884cb6d5fd7eef80dc16bf4d42f334f1286bbe7b8fdaa2af3b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21c9b4d2d24b4f2a8aeb4514b625005a381a9f20c53003a140bf173a839305f1"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7670a4bcebf61761b47424dc57db7e714418e50590ba164b55422847a2cf68c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4283550f7ccdff605bfb355a4037d4eb69e545a32bc5d931010f010558e899fe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f7b46a259b4e15273436ae8381c64d293042072e3a3d51c0c14cbca176db054"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe399c40d4bd89ecfc8c104ba57afdff38f9fed925e7c2355d8321387d5e00ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44aa5fa81e294b9d83cd427c02020674679b47a9cbc00d764eee24456ae30c56"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5529205e543f9050033e13e5a9dae0bb182b2eff1968fdd8f218c30bf67e12eb"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd39cef929c4ed2f1df78629ae2febca2eb6b06a5de1da40b66d1a307a9459a8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e01c0c9952ab431b9ba1c20ebafdc6479cd58f5799b483f0e22a3d1645a745e4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5092b4ff17378291c609031783bc288ab1d261a513a08eaaba54722315ed8bf0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fbf1380e2c508cfc91f624842528a862951fdeff96404df133c8ba4f01f8bc8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9f4bb9c8ff12386a71fe53bb46d5492e78972e998af4a30cd772f88669dbf66"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6601d28143e5584c5b984e4444bd970bd17ce81962eef22b8d9acc784a7419d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b7d4cde86db1cf2f41554b410ec9a1f6da8b6b0def6a08bb76009d58111335b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b41d7f25e94eb2da1790074f148959373737cdb7f49b482a4bc598514f8f0eea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d25b98f11c6ce98a4b90cd586168189629978eb9a4e89f926d853acc025e0f17"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cff4e3dff11aa8acb1141b6ffacce3a727fc7baed51d90bfdaba1985a8242b65"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b7c645ab7ba828da2f93e79d1327cd5e714ea5bc93904c1ee870b63acda0f6f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fab02ff52d6172e619ddbab69bbf76b10a251b0f0df18c9be71f861ac3aade36"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c903d4e5cb5249513dced6badd8460b8746e5171746662e7babbf6a85996155"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc6469db62419a5d106f18b7ab63c973eafb65399109340a8595f36e779c1440"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7dc856b2e1b37990f16b2f36de2ac562829e7a3e59f9004fd0cfca591d248ab4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef059c44a2dcefb279e6a58eea80cf08c03c89f683453fb08342d7ac7010ae16"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef5474250e1fcb5dfef1e943e2babf2d5cfbd5dc21e448d0667c29039fee7ffa"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3515d8af0cb9b4ea3177fd57a035d382cce84fa86c7dd02535713ce6014f238"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d06c900d4e47cbbf440dc1ba23e41cb2d9902779ffeac0ee5f988674b84e4a7e"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2d4e221b4b5646ff09a1531f25d1bb4584228546952ca659150c0c1a609dd00"},"taxa":[{"id":"CWE-561","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 61 of 61 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 61 separate risks. Counted over 61 of the 84 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"329a335e608217a63af2393561976019facee840e49b18aaa35666e9c381b1e4"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3105ddbef445428b380f6c3116f7677835d6f0aa9556bbb8da41ca4104d05af9"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd7948a9087bce3cdc865013a066c57e7f7c24ae48f94b8f0ea7ad2263de626"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e4653cf1389adef40ec7c852d6b5af956e1e0f21426be450c2d1596e80430e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraPlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72e164a1b9cb029838e3ba1b26c8d421401349e4bf6b58ae9772bcf7900e064"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6f9812828f24aab74cf6625dda1b21829d631f9c59ad18b8138d257df43e81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48121610ff9bcd5384de47bbc07a3213438a7ca51f21efee6ded02fee035b7e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4878350ffb501a134bea479b45368534c682b94b80c1eb37d11b1dc35cd591bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"914b2112534ed15f8ea5305866a372fbf5475ef8daeadfe23c2c4245452730fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/core/l10n.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a687c0decafd97e21ca12f3aa6b810d7a6c49525e9c2edbd2bf7a029760c24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f431ca89198372677cb4d284a14def169654652a4ddeafa2808e57d8581770"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebebc572eb86aaacc28dff5d6c855dafd66bd318ecaea98300ce76ba523480c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preview_renderer.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"818a2fd93e944a00852ad3e4c1fa68df4bb30611325cfbde57f8b7ab7c368ecf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/MetalRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"004e9ecdc9f32a497103a328694e6b4984ee7c8c677ee8a46fb0f78260d1d668"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/settings/settings_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7693b1d6773b5ea6288cf41d99f5c365f85efccc02409dda0fa81772deb9a07d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd5f181d7c92e9d9c6e4513cbfd8ce59a29b3c5a8415f0be28677ef96f99d2d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline_ext.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ce216780f117896494378a105a78757c33ee5a2f089110649280d6e5a1fe7b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CaptureProcessor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad70178cce9ccbe4f3bb56df896b40f8671f98eef73587677239d9536b4a234"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_manager_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad97a8e5c5ecb380f9a4c29fdda8e62f432d60a5d49fba951a839a49b2c2bdc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_sample_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b60a8d49b9736204e282dc435b6d48433b9da136be450dc76eead6f7802ae8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CameraSessionManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeacf169294096478889619102adbbe90ff4185ffee9fd868d3f5855e5e1ee63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/rs/capture_pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecece511eb9ee838f576f056289544eb32d7d28552fb3ad11f1280018dada560"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/preset.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a576b826e9be1b7d6e633cc0ce5660158e356006dc6378ce07e4969cb0609960"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"generate_camera_luts.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4764d060f793a4a891f34817ecf01f422bc963d11595b694be9d4c97031046e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/MotionPhotoPackaging.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e19da0cd9575359e368b5a913a2738575a4a2b984335b669bce3969970521f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/tool/generate_artifact_textures.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3c802452bf5837424731f62be7b74f8748ba59e38b65f8d0eaf1e784872584"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/device_calibration_profiles.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd127aa11681a57c54a074c3e1fe5435a9c9b96dd1831aca3dc24c21649f82e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/grd_camera_notifier.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7637f2faada1346a6c4a266cd7688912d79c0098f501ed5f53e49a8945befc7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/ios/Classes/MetalRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad8d070ff3e8dad1f4b8ff32cebd9018e1e5906e3b9784cddbb34699bfee2c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/android/src/main/kotlin/com/retrocam/app/renderers/GLRenderer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a99c5ec858b95e940e272496bde148c1af1014952a2bdf8099ccf77eae74de1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/WidgetsExtension/DazzCameraWidgetsBundle.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb90563758adf619f4e5be08843e528d67b95a5677373a94ebc14fdbec028a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fix_luts_v2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89baa62cc4d972e7157e80ff5aa4b0340e5e2a8bfa1dafb58b83ef28b822d6e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/camera_manager_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c253092cbb5366943f9c503a3ae299c5dcc5c7eca7fd82bf53d4507d513880"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/pipelines/pipeline_utils.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9698cb06ff97cfb9b82bf45783a306bd494e5bb16864b025a5bf1b71642a623d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_registry.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d098e883fe9fd6c4b741697b95440c98fcecbef97eba06c757c55ea9f9a33b4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"generate_shutter_sounds.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d9ee2013aa6a0350f261d38ad5ec99e0c7ed5b4e5bcbf55d90fc9401347d4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/ios/Classes/RetroCamPlugin.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f759db97bd94d9af4f1893bfef5489bb8d8d92ffdfa9ac198de49708f234bc95"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/android/src/main/kotlin/com/retrocam/app/RetroCamPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f5e74e07af8d8a5ca18b49ede28c00a0eb6554381cdd65fef84b5ead581950"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate_thumbnails.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dff50a644701e5cdd77289f5ae0a3653c9fb670cc795ad01e95e37e7e43c057"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/retain_settings_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbaeeec7700a3734f2eb6bc77837566f2b9f5e386f6a1be5196d3cf7ae76776"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"patch_capture_pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff03886facefd7ed5466c2a84beffaba2ab1a470b8d79d76d29cc81ad72265f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/subscription/subscription_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3b9204f4575bb4e474fd476a0927118e74583ceabc2526c85422dd3e7d0826"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate_assets.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bbbd5ded5ea61c21c8a6d7c6ec3d4e67d23d4be5a2cf97657bc0613d34f079"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/tool/color_calibration_cli.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6c82e086437ac71be9f554986260f945c22a1c05ffcc62e63760cfab015343"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"patch_watermark_painter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e236837242b13b83040a7943f0ef83d8e5b32c8db059e2267dc18b52a0bf8512"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/android/src/main/kotlin/com/retrocam/app/models/Preset.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c4c739ffe6a79489468f9d60541c9898faa3300f897abecce5a9fc6ac417b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate_luts.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b537bb7fdd4c6dfd666b028064c96b1494243a070821d17e583a0917ba4bee93"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"patch_image_edit_watermark.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6f5dd67afc8421c58f090f63b75c203cc516e4fdf878b12c8264883c599c8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/app_prefs_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7339d4fd6182834ad1ced9b015eba1399c8cbdf09860b86f35c946e38bfd7fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/ios/Classes/Models/Preset.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"922691bbc934089606fcd000ce4a7f206178af126a04d9a0807b845d9608b250"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_controls_widget.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"531e9ef9396551e3562261f392254eab2618273b9e32a370ee4be39bfb3f0500"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/watermark_styles.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4108822e3ae31b23bd60ba2ae8275b34121dcb8da0891990e87573a73598706"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/shutter_sound_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d237d4342a9d4e7ce12e34785580813a969ecf149c5ac0080286f0ce2f50af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/color_calibration.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4e92f2969e7e51cabebbaa198d50f78fd50bcea0d280be093d375dd6b51655"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/preset_selector_widget.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e938b05c4afc2c768c31d70bbc17e6a15e20c655e64058429886be31773c80ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/original_asset_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68c4c7032860e098011079827b6cb04ee87719ce3d0385dfaf73ae208a82671"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/ios/Classes/Managers/CameraSessionManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af09f34b54387fdf473df120af76fec43a3da9329e8596a8c8195e7bb44dc432"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/widgets/DazzCameraWidgets.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39990d1a7c279ef02ba634e5d259569de34598a497bde0cf98090051a0ab53c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/android/src/main/kotlin/com/retrocam/app/managers/CameraManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"477396376c0123749ba89bdd86abe0444d5d51e810a9dd815e1a287a1002543e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/location_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6111d9b1e90e47ac9b589ca6be3bc027fc6bf04cd02c8bcc469104dd6f21e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/subscription_service.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"794ee0db85a212e7851aabf6300c910891200638edc505b39a8c6688588103e8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CameraPlugin.kt \u2194 CameraSessionManager.swift: \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt\u0060 and \u0060flutter_app/ios/Runner/Camera/CameraSessionManager.swift\u0060 change together 73% of the time (11 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00609ef00366\u0060 Fix camera stop-preview race on navigation; \u0060f963870e\u0060 Finalize camera and gallery fixes; \u0060b2ca2a40\u0060 Add system live photo capture flow \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f570f98c76977655007884a026f493948ed9272a7daf63bade763608880a130"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CameraGLRenderer.kt \u2194 MetalRenderer.swift: \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt\u0060 and \u0060flutter_app/ios/Runner/Camera/MetalRenderer.swift\u0060 change together 71% of the time (20 of the 28 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 20 shared commits counted here, the most recent 3 are \u006032dadbc2\u0060 Restore lightweight preview effects; \u00609558ba29\u0060 Sync camera pipeline updates; \u0060490589a7\u0060 Fix preview LUT recovery on startup \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraGLRenderer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f19dc3c1339c936d6175a1808df40355a31a23442b66f95aeace3a9651c952"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CaptureGLProcessor.kt \u2194 CaptureProcessor.swift: \u0060flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt\u0060 and \u0060flutter_app/ios/Runner/Camera/CaptureProcessor.swift\u0060 change together 71% of the time (10 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060a4d481c7\u0060 Implement JSON-driven filmic tone mapping and mid-gray control; \u0060fb7d1bf1\u0060 feat(color-v3): wire device calibration in native preview and capture\u2026; \u0060a0d9ae09\u0060 fix(camera): stabilize save pipeline, orientation, and fisheye rendering \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b3c07ca7b6458de51b0af134aedf3e4eb2ffa5db3dbd7a875ed21a0bdd8de7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"155c4eed716064a06e71c3b142bff13bbe355466d9c3f764a1c035222db4b4cf"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b9aadceb2e79fcf231d3e3935ad695803989a7254050ccccc937a0b689fb4f0"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: settings \u2192 camera: \u0060_RenderModeSegment\u0060 (slice \u0027settings\u0027) depends on \u0060RenderStyleMode\u0060 from slice \u0027camera\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/settings/settings_screen.dart"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d24ca73a7ec4c0776ea3789b87987f310a29de80b8b8d4fe967f3c6d119a7f3"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: settings \u2192 camera: \u0060_PreviewModeSegment\u0060 (slice \u0027settings\u0027) depends on \u0060PreviewPerformanceMode\u0060 from slice \u0027camera\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/settings/settings_screen.dart"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"5217a8d14dc3418092c9165168e855923da49dcfff3e7e4e02441171d878c611"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 5 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/flutter_ci.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060flutter_app/android/app/build.gradle\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/build.gradle"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e881d4258e1bb3b82a46dcfabd36468c97dce02c75fdf23c49b04fda4f55079c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060takePhoto\u0060 is async and calls deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"613678d213d3ac587d6d4bcfd2cdf07a7c97abec7e7d820a22363040a4f02ec3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_runBackgroundEnhanceAndReplace\u0060 is async and calls deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"577694e327d8cb88842d0917fb3217eb890d3da294f2838cb49e4d76f0e96214"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060process\u0060 is async and calls deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8b9f9807c2583d7fee7393657635ca9696c685524e3e5771c4bab47264bb65"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060blendDoubleExposure\u0060 is async and calls deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3213befcc88e6cacccc7d9754f3586966bcb4eb9e57d8e9d345247a3fde64af"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_save\u0060 is async and calls deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7368f81a37dba9ee9dfcec3a11f737b58d109ef1674632faa162ec527a6025"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_showExposureSlider || st.exposureValue != 0\u0060 appears character-identically in 2 files \u2014 flutter_app/lib/features/camera/camera_screen.dart, flutter_app/lib/features/image_edit/image_edit_screen.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8735c191e55f5d70f36978612b24deb089d2f7d50ec43e619392e927ba71c5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060camera == null || !camera.supportsLivePhoto\u0060 appears character-identically in 2 files \u2014 flutter_app/lib/features/camera/camera_notifier.dart, flutter_app/lib/features/camera/camera_screen.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d8bea8e6f1aff0d441827543244ea13b372ad6d3e226962ee7e59d3ca1613b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.thumbnail != null \u0026\u0026 f.thumbnail!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 flutter_app/lib/features/camera/camera_screen.dart, flutter_app/lib/features/image_edit/image_edit_screen.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4319}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4e8fe2d8b9c5e67dc970300718b6e17995265621ce3354088bae26a6707761"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rtLightIndex \u003E= 0 || rtIso \u003E 0 || rtExposureMs \u003E 0\u0060 appears character-identically in 2 files \u2014 flutter_app/lib/features/camera/camera_screen.dart, flutter_app/lib/features/camera/preview_renderer.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcbc43b76f316b5e981e4bc8323f42e41b079dc40faa37f071ae0962010ef96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rtLightIndex \u003E= 4.2 || (rtIso \u003E= 800 \u0026\u0026 rtExposureMs \u003E= 20) || (rtIso \u003E= 1200 \u0026\u0026 rtExposureMs \u003E= 12)\u0060 appears character-identically in 2 files \u2014 flutter_app/lib/features/camera/camera_screen.dart, flutter_app/lib/features/camera/preview_renderer.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a10cf1054fd99a339ff877b85f0405ef636306149024fc15b5a1e045bfb2108"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s == \u0027true\u0027 || s == \u00271\u0027 || s == \u0027yes\u0027 || s == \u0027on\u0027\u0060 appears character-identically in 2 files \u2014 flutter_app/lib/models/camera_definition.dart, flutter_app/lib/services/retain_settings_service.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5001e94a026defaff589e2a2e4757eeb8ccca26c39fb690d9c765de46d6d2a1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.activeLensId == id \u0026\u0026 id != defaultLensId\u0060 appears character-identically in 2 files \u2014 flutter_app/lib/features/camera/camera_notifier.dart, flutter_app/lib/features/camera/grd_camera_notifier.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d7de6d998069722af533a9ee9ce2cbe0d03afd30276342b1ac2a3fb8ecb7ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060title.startsWith(\u0027dazz_\u0027) || title.contains(\u0027dazz\u0027)\u0060 appears character-identically in 2 files \u2014 flutter_app/lib/features/camera/camera_screen.dart, flutter_app/lib/features/gallery/gallery_screen.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3908}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf7fbfcf0d4cf7e46c385a8875b2260986852690002798e5eedf8551061d3cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060upper == \u0027DAZZ\u0027 || upper.endsWith(\u0027/DAZZ\u0027) || upper.contains(\u0027DAZZ\u0027)\u0060 appears character-identically in 2 files \u2014 flutter_app/lib/features/camera/camera_screen.dart, flutter_app/lib/features/gallery/gallery_screen.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":3885}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c644ab911c01b9d4cef88d2f0b5834e13f01b0febe351b514179dce810f142"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060wm.color != null \u0026\u0026 wm.color!.isNotEmpty\u0060 appears character-identically in 2 files \u2014 flutter_app/lib/features/camera/camera_screen.dart, flutter_app/lib/features/image_edit/image_edit_screen.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4456}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77ae778174103a8a19311229c133107a53e22058c42f0ae30effdb365dadfc9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.hasPrefix(\u0022#\u0022) || trimmed.isEmpty\u0060 appears character-identically in 2 files \u2014 flutter_app/ios/Runner/Camera/CaptureProcessor.swift, flutter_app/ios/Runner/Camera/MetalRenderer.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CaptureProcessor.swift"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4fc2332c37826a35fd37b1de8a34b59e682601db0e18a5e53acaf24057defe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.hasPrefix(\u0022TITLE\u0022) || trimmed.hasPrefix(\u0022DOMAIN\u0022)\u0060 appears character-identically in 2 files \u2014 flutter_app/ios/Runner/Camera/CaptureProcessor.swift, flutter_app/ios/Runner/Camera/MetalRenderer.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/ios/Runner/Camera/CaptureProcessor.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec82c8e08cd87de439b841cb485ebb34e0b1e345d20c2086d6ad015a0ed1ebdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native_plugin/android/src/main/kotlin/com/retrocam/app/models/Preset.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"320576eab2885797cec3dc344aa203849342ff144b7fef64e6d069f655e5cc0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/retain_settings_service.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcc87755956a0c3a422113bffaeef1244d25d2e3154412c02817b2395d42427"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/services/retain_settings_service.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5f4aaeefaad410a4d75e8b3a8a89b30074b5a3a6cbe34acbb001c9507e8824"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d4497c700bce15364d135f3eb6b905e2bb3d3001b5cc08d018b14654f4ea3c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4da662c322ff4c524c3b46cd653e28ff368aad4800e3da775d9670e9e70aa9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da2c382a4186a32de8069bcc5f52a758ae4e395d592848333a165af0f133319"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76b204b347ba5375864201396ec976966d2a033e03bb702e1cd5f2d401e062d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/models/camera_definition.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b36c3f8a04422560b166ca86c8dbdc518d8f54fb876c324cc47380f1daaf9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"542bf581e3c3ef9ccdf917e2d5c4d1663b11d66d8c2e7631e3ccddf61bc593d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b4d9980f8e80d2ad36bff2a0dc1b38e93f77eb418afad69e7b2b9eafa04636"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e573d3eebdca64ba4e4c410a062dccee9b3c79c862ff16abbf971134e1e831f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"296de1024745eaabb4f021309c9aac80c2440d5b9af1615230f5a7a9afac3e18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91424b4ab3fedcef948a3368fba700f0530005ca2fa3093071c89d037d9c7cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0735bb9008c34a7dd77a8c813bb6fbccc2b7971160d500fb2e10acbfa6b0ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"badf5f0f1e90071d0931e094a163aea7be3318e4a91a5c8f3a2093de52d145d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbe6d2d6573de10be67df40ac06d7911dd578ed68cff5fe11c6c25f79692a7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/image_edit/image_edit_screen.dart"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2509d9de6136501b10b29aac30fb4679cffb206d15cc85134cf599c0c0eeb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/gallery/gallery_screen.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"222abe4a530c1540ba7d70da2a9323a838348c39485c1c1a0c7c19977594a3e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_config_sheet.dart"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fd4663820d89096ca36bbd89c8c326cf10c3885518dc89b7c24f9027cee140"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e60b9998fdfa0f500dbbf961a6b6ad614efa10ef479b349e980403f32f4193a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"49263ffe62a7a8af27dc2c2a6f795441a86eeaba69d8a2c341e4c3a56dd5eabc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f0e3f1128a73c74cd106be7f759327ff5487b55c12cd7388f4f79c18562da7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_notifier.dart"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eddbf572c8b9122c9bf73130a7266a0d0458abe929dbd39a846835f2b04b8c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4385}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fe015df74fc1e812481acaefb96974ae21f64abcfc0d05be576a265368b80c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":4460}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa30c15050b29896eae4e310ad107c4248355291de44332cf3b8e78be192445"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/camera_screen.dart"},"region":{"startLine":5942}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2ccbc84f1df151d6ca3ecd52fdf3b4f718ba0c43c18f468bf961d57a2c9e58"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da3941bd8d33e576654c8033a5fc673b6b4229279ab76afe1a150998a8d32f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"892eb322df4874bfd5ecfb0a5200e9dd5bc6e1a9fb97382c6763c2b51fe01904"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c9dac6b4c394e135af428e42ffd09fd1ce5178ad668069c5d6613163411045"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2b068b1e961e2492c53795ac57914bf7679b1afc60bfeb7cc7ac6e4b60c063"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"6decaec7c81d012e39c090eee52a0a479aed785b7a925971d6323b687bb9219a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5163f0c5ff44276d5b65038777664935e26b7a9cf1e3c637a64897c33bf4e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"a896cc8a4257e3555aab57902d0b0baf3dcccb1d9f170b4a187f03e81bd4e39b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"1795c832b9aa3ff68b8ec563e7b57142425914320cb28528cf45c92f8530ea29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44b0dd836aa502b338debbaeaa257e18723295517aa093160a7209932e11b01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59005408f6f3d12febcabac1965358a605311e3ff1e5ea3a83527e8210c72df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d8f5d9f7b017b70aed130a7f9acb19ac1ca39df8160ccdc9cbacdfcb6c32b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb5c29b87071734e1b8f48c63a8f6bf3362735dd212847e2eeec1617d278b5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/lib/features/camera/capture_pipeline.dart"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcdd2e58953601a75d7668d1044f5121f10fd860caa3e119483af80345f9a26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CameraPlugin.kt"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68fad5d96bea0c493a086d70c60eb73ae7fb35087c186986c0f18195876ed4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"flutter_app/android/app/src/main/kotlin/com/retrocam/app/camera/CaptureGLProcessor.kt"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a369520b287d15ea7605b35b8fd5d8cd0e0c3382761341f7a640b53f2f3b67"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-561","guid":"522a7ba7-45e9-ab53-9088-45d86e04b53a","name":"CWE-561","shortDescription":{"text":"CWE-561"},"helpUri":"https://cwe.mitre.org/data/definitions/561.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":41,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}