{"$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":"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","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-1395","CWE-937"],"owasp":"A03: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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08: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":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"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":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"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":"VideoMetadataFormatter.formatInfo (cyclomatic 134): VideoMetadataFormatter.formatInfo has cyclomatic complexity 134 (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":"lib/model/media/video/metadata.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9d08d9d2bb04bfabd8aa61fa5cb37ecbe519e1fc43b2c94ed4e13175063107"}},{"ruleId":"D1","level":"warning","message":{"text":"Settings.import (cyclomatic 132): Settings.import has cyclomatic complexity 132 (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":"lib/model/settings/settings.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3513924ee82c8def059206f1041f19afc0118eb5b62eb6fce4d6bde9cc97cd"}},{"ruleId":"D1","level":"warning","message":{"text":"AssParser.parse (cyclomatic 94): AssParser.parse 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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf32c628b02fa819ac116ac80d0f5b0ec2c50be2c7a7af947d98c05df2b5bc9"}},{"ruleId":"D1","level":"warning","message":{"text":"EntrySetActionDelegate.isVisible (cyclomatic 70): EntrySetActionDelegate.isVisible has cyclomatic complexity 70 (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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"944f04ea6ece11cffe99dc36c27199d6bc446288a302078d84ac346802260be6"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataFetchHandler.getAllMetadata (cyclomatic 63): MetadataFetchHandler.getAllMetadata has cyclomatic complexity 63 (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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bdd9ed607fc0230c6bb751cee92b14a38caac1af1d1e1a8d49eb495a5924fb"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataFetchHandler.getCatalogMetadataByMetadataExtractor (cyclomatic 63): MetadataFetchHandler.getCatalogMetadataByMetadataExtractor has cyclomatic complexity 63 (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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92af1b4b108bd814da569b3d1362c08dea35c4e11fadd3f2ba9e39a8c86e7cc"}},{"ruleId":"D1","level":"warning","message":{"text":"EntryActionDelegate.isVisible (cyclomatic 62): EntryActionDelegate.isVisible has cyclomatic complexity 62 (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":"lib/widgets/viewer/action/entry_action_delegate.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a610f686292ffbe0cd442ddc6d5e9c5738a2a521a9484cbba8a9f5adb023ffe"}},{"ruleId":"D1","level":"warning","message":{"text":"AGestureDetector.build (cyclomatic 58): AGestureDetector.build has cyclomatic complexity 58 (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":"lib/widgets/common/basic/gestures/gesture_detector.dart"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c12c4d085210062dda0bd0d87f230a35be3cbca80948ea03ed3383f6eec3828"}},{"ruleId":"D1","level":"warning","message":{"text":"EntryActionDelegate.onActionSelected (cyclomatic 55): EntryActionDelegate.onActionSelected has cyclomatic complexity 55 (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":"lib/widgets/viewer/action/entry_action_delegate.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"913380e3ef157f9ac74f32926a5d69cc764818f012eaffd5a67e35e8d0bdeafe"}},{"ruleId":"D1","level":"warning","message":{"text":"_HomePageState._setup (cyclomatic 47): _HomePageState._setup has cyclomatic complexity 47 (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":"lib/widgets/home/home_page.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3d71b6109fd27e3b443d66f1180724e13b25ecd85bdfa5a131f2e4eceae6a0"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryFilter.fieldTest (cyclomatic 45): QueryFilter.fieldTest has cyclomatic complexity 45 (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":"lib/model/filters/query.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9153487a397c9149437194b66a402e34a745b2295b0ddb4dfeb03f2603ab2c8c"}},{"ruleId":"D1","level":"warning","message":{"text":"SafePngMetadataReader.processChunk (cyclomatic 42): SafePngMetadataReader.processChunk has cyclomatic complexity 42 (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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/SafePngMetadataReader.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dda17c7ebd6b364949883059fb7acaf5417b96912bd10123a4c0386e27ca5d"}},{"ruleId":"D1","level":"warning","message":{"text":"Manifest.build (cyclomatic 38): Manifest.build has cyclomatic complexity 38 (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":"lib/widgets/viewer/info/credential/manifest.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ac9eb4555e84796f0eac8615f80e928c03935721f17727248a6fcef47eed6a"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaMetadataRetrieverHelper.getSafeDescription (cyclomatic 37): MediaMetadataRetrieverHelper.getSafeDescription has cyclomatic complexity 37 (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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/MediaMetadataRetrieverHelper.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1ecc454589e7b9ac1127a75a063f7667626dc1128c22ca49bd9446b25bf120"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoSubtitles.build (cyclomatic 36): VideoSubtitles.build has cyclomatic complexity 36 (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":"lib/widgets/viewer/visual/video/subtitle/subtitle.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf0e3b31df29ac376b78641616142deb27af996535a164ead513d09370d70f8"}},{"ruleId":"D1","level":"warning","message":{"text":"ChipSetActionDelegate.isVisible (cyclomatic 35): ChipSetActionDelegate.isVisible has cyclomatic complexity 35 (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":"lib/widgets/filter_grids/common/action_delegates/chip_set.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaaf001cffbefd277a657004049b5616a5d1116bd6e502c6dcc8eca495231f5"}},{"ruleId":"D1","level":"warning","message":{"text":"EntryStorageMixin.doQuickMove (cyclomatic 32): EntryStorageMixin.doQuickMove 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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd26ada2a3824fde759e49ee5ecf350ed447e6b5a61696d123949aff4facf35"}},{"ruleId":"D1","level":"warning","message":{"text":"MainActivity.extractIntentData (cyclomatic 32): MainActivity.extractIntentData 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":"android/app/src/main/kotlin/deckers/thibault/aves/MainActivity.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fc7d35858ef548a01ad65301b0036c71ae0da708b3c5d8c60d27f65a8a6ded"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffMatchPatch._diff_bisect (cyclomatic 31): DiffMatchPatch._diff_bisect has cyclomatic complexity 31 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db4ba5e84c4a42761e0247c4bc0cf2d89929ee3146f15f7ecadad15b6475710"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffMatchPatch._diff_cleanupSemanticLossless (cyclomatic 31): DiffMatchPatch._diff_cleanupSemanticLossless has cyclomatic complexity 31 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f0f6a9e016e586f14df25b71bfefc5f45452e0f5845bc5da4a856d29fa858b"}},{"ruleId":"D1","level":"warning","message":{"text":"_CropperState._applyCropRatioToOutline (cyclomatic 30): _CropperState._applyCropRatioToOutline has cyclomatic complexity 30 (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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4505809d179cc9b00e4fce244a8342ae9b1927d9192b49227a082b7455d322a7"}},{"ruleId":"D1","level":"warning","message":{"text":"_HomePageState._getRedirectRoute (cyclomatic 30): _HomePageState._getRedirectRoute has cyclomatic complexity 30 (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":"lib/widgets/home/home_page.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1809e822d7d7757b51967a4fbd6fa99ff65ddcc3c7d41fdf3de47a079f1bc7e"}},{"ruleId":"D1","level":"warning","message":{"text":"GridThemeData._defaultIconBuilder (cyclomatic 29): GridThemeData._defaultIconBuilder 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":"lib/widgets/common/grid/theme.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa80d51a5381bd26e4490da90af8a70722f1ee13145f93b3e21b2f90dedbc47"}},{"ruleId":"D1","level":"warning","message":{"text":"WallpaperButtons._getBytes (cyclomatic 29): WallpaperButtons._getBytes has cyclomatic complexity 29 (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":"lib/widgets/viewer/overlay/bottom/wallpaper_buttons.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3564c39480aac030ff7b9814d04c17cda506560976da77f37c5e731564cdb535"}},{"ruleId":"D1","level":"warning","message":{"text":"GeoUtils.epsgToProj4 (cyclomatic 28): GeoUtils.epsgToProj4 has cyclomatic complexity 28 (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":"plugins/aves_map/lib/src/geo_utils.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac441d11477946665052d669185a8b311388f1cb982492c468943f9704c8260"}},{"ruleId":"D1","level":"warning","message":{"text":"_CropperState._handleOutline (cyclomatic 28): _CropperState._handleOutline has cyclomatic complexity 28 (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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bcea934bd8899901efda1d7b8518f6222b4c07d609e725c8594f88e706eab1"}},{"ruleId":"D1","level":"warning","message":{"text":"AlbumListPage.groupToSections (cyclomatic 28): AlbumListPage.groupToSections has cyclomatic complexity 28 (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":"lib/widgets/filter_grids/albums_page.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a581316246772814b4190b5e73b3acbc973f0ace320887317d2e70444a518a"}},{"ruleId":"D1","level":"warning","message":{"text":"AlbumChipSetActionDelegate.isVisible (cyclomatic 28): AlbumChipSetActionDelegate.isVisible has cyclomatic complexity 28 (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":"lib/widgets/filter_grids/common/action_delegates/album_set.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"458b0c93508a4656e315df9261d4758632ba8d3c4e9908b141d077599bc840b6"}},{"ruleId":"D1","level":"warning","message":{"text":"_OverlaySnackBarState.build (cyclomatic 27): _OverlaySnackBarState.build has cyclomatic complexity 27 (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":"lib/widgets/common/action_mixins/overlay_snack_bar.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2501b85ec41dce49a126f2975d7db431e8edf070851b6b5fc7ac725d1bb08b2c"}},{"ruleId":"D1","level":"warning","message":{"text":"_AvesFilterChipState.build (cyclomatic 27): _AvesFilterChipState.build has cyclomatic complexity 27 (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":"lib/widgets/common/identity/aves_filter_chip.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8860c1ff160e13ca308e16a72f3b08639aaf4f6131e3efeda54f4917b39a440"}},{"ruleId":"D1","level":"warning","message":{"text":"ChipActionDelegate.isVisible (cyclomatic 27): ChipActionDelegate.isVisible has cyclomatic complexity 27 (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":"lib/widgets/filter_grids/common/action_delegates/chip.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0d12291e3b4d713bd67d9774983bd9f826254acf130d7c662d11b86a5f93e1"}},{"ruleId":"D1","level":"warning","message":{"text":"_EntryViewerStackState._handleNotification (cyclomatic 27): _EntryViewerStackState._handleNotification has cyclomatic complexity 27 (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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1aa6588b9c6640a1603382ab0e3a060a58da2490ce8bf0cf33b5bcdc4bee0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageProvider.editMetadata (cyclomatic 27): ImageProvider.editMetadata has cyclomatic complexity 27 (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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"2658972eac439b972b59129124c1c523295ca980170b463d4c49956a8a4448c9"}},{"ruleId":"D1","level":"warning","message":{"text":"_CollectionScrollViewState._getScrollCrumbs (cyclomatic 25): _CollectionScrollViewState._getScrollCrumbs has cyclomatic complexity 25 (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":"lib/widgets/collection/collection_grid.dart"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"980d0a4153ef38d5de69f7b56c3dbcd78b840e7eb8aef27138be88932d9c976e"}},{"ruleId":"D1","level":"warning","message":{"text":"_DebugAppDatabaseSectionState.build (cyclomatic 25): _DebugAppDatabaseSectionState.build 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":"lib/widgets/debug/database.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e424f24c8b610e2f03091fffd4f2d124e0b6edd454bce59e646b30178e6659"}},{"ruleId":"D1","level":"warning","message":{"text":"_DbTabState.build (cyclomatic 25): _DbTabState.build 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":"lib/widgets/viewer/debug/db.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4b8b197e9213de627b90913bf8179d04cc2aad3928324a52fa18bd4b46ea69"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataFetchHandler.getOverlayMetadata (cyclomatic 25): MetadataFetchHandler.getOverlayMetadata has cyclomatic complexity 25 (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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f4225173542878f6747bbd9eefab93125b4b4b726302133ef20292b3647da7"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaStoreSource.refreshUris (cyclomatic 24): MediaStoreSource.refreshUris 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/source/media_store_source.dart"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36539ef3b5dd056d22cf42b060bf68d8f7e7104d75b425e7f4fe91fe354d321"}},{"ruleId":"D1","level":"warning","message":{"text":"_EntryPageViewState._buildVideoView (cyclomatic 24): _EntryPageViewState._buildVideoView 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/viewer/visual/entry_page_view.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"905ce158ec8162ab21a8f898e72897f9c9129bcbb0db851db9bd590cd04a4bf3"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageProvider.moveSingle (cyclomatic 24): ImageProvider.moveSingle 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdac45d10247e811227696780fa1f255ddea47be78e79a9f80dc3b2031f9469"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaStoreImageProvider.fetchFrom (cyclomatic 24): MediaStoreImageProvider.fetchFrom 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24ed65c43772f332ad2a944a146cea8317e5b2abd4e7645b876c824e2f8f297"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffMatchPatch.diff_cleanupEfficiency (cyclomatic 23): DiffMatchPatch.diff_cleanupEfficiency has cyclomatic complexity 23 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"11152bc8edef79c4e706970586d767d49a213475b975c2fe3bb44bca0c0cb6a0"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffMatchPatch.diff_cleanupMerge (cyclomatic 23): DiffMatchPatch.diff_cleanupMerge has cyclomatic complexity 23 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1cd5c769f6770a5060060cd9064ba371b86bf57ba59e225524b6b5418cc31"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageProvider.editExifDate (cyclomatic 23): ImageProvider.editExifDate 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd87c6ba441d93e7c2fb2bd62f8af1151259663550811caf4d74058ce9782ac9"}},{"ruleId":"D1","level":"warning","message":{"text":"CollectionLens._applySection (cyclomatic 21): CollectionLens._applySection has cyclomatic complexity 21 (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":"lib/model/source/collection_lens.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda31d8ddd9021c9922d377006df03c103fc251cd8ad09bf8036cdcea7550ecf"}},{"ruleId":"D1","level":"warning","message":{"text":"CollectionDraggableThumbLabel.build (cyclomatic 21): CollectionDraggableThumbLabel.build has cyclomatic complexity 21 (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":"lib/widgets/collection/draggable_thumb_label.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88e4668b61784598708b0a31945a819fdc54476526e7ec7c280bf2cbc90e158"}},{"ruleId":"D1","level":"warning","message":{"text":"_RenderSliverKnownExtentBoxAdaptor.performLayout (cyclomatic 21): _RenderSliverKnownExtentBoxAdaptor.performLayout has cyclomatic complexity 21 (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":"lib/widgets/common/grid/sliver.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d37fb3b8b403c5108ccce170e70074fc7e84a6ac9e76d54ed1a26b7c9ad273"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataFetchHandler.getDate (cyclomatic 21): MetadataFetchHandler.getDate has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"71effbfe77d3a362ccc634f1723be782c02c02efbe5b63fd3fa3ad64b52e1c59"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataExtractorHelper.getTagDescription (cyclomatic 21): MetadataExtractorHelper.getTagDescription has cyclomatic complexity 21 (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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52e831fccf17cab94285ad3db57df6f8b057dd0ad5b251e9d0a35eb0beb20bc"}},{"ruleId":"D1","level":"warning","message":{"text":"PanoramaInfo.fromMap (cyclomatic 20): PanoramaInfo.fromMap 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":"lib/model/media/panorama.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c071198a5247759893169ee23066a682925b3dce21cc9055edecc0eddaae290"}},{"ruleId":"D1","level":"warning","message":{"text":"_InkResponseState.build (cyclomatic 20): _InkResponseState.build 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":"lib/widgets/common/basic/gestures/ink_well.dart"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01afbc2d397cbe1adb01844e67a615ecc83928dff872759b0a676d6cfe67d7b"}},{"ruleId":"D1","level":"warning","message":{"text":"_AvesMagnifierState.onScaleEnd (cyclomatic 19): _AvesMagnifierState.onScaleEnd 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":"plugins/aves_magnifier/lib/src/core/core.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d9d64d07b0b92d5d252a9165c2e693897377762dcb7e570eb334153b6c15b3"}},{"ruleId":"D1","level":"warning","message":{"text":"_CollectionAppBarState._buildMobileActions (cyclomatic 19): _CollectionAppBarState._buildMobileActions 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: _CollectionAppBarState._onActionSelected (cyclomatic 37) 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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"617f48a050a6d234675e2caf70bcbf3d6440bee44a70f7dc6c0b6a32cb51d8be"}},{"ruleId":"D1","level":"warning","message":{"text":"_MenuQuickChooserState._onPointerMove (cyclomatic 19): _MenuQuickChooserState._onPointerMove 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":"lib/widgets/common/action_controls/quick_choosers/common/menu.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"572e70b24fc3af2e642fdbd2216f3f65b91cac05d5220b7d7ac237adb6f9997e"}},{"ruleId":"D1","level":"warning","message":{"text":"_InkResponseState.updateHighlight (cyclomatic 19): _InkResponseState.updateHighlight 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":"lib/widgets/common/basic/gestures/ink_well.dart"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5b348e1c8f5a5de571bb64b2000641b86b3c8c489c0762b286ad7c1b946520"}},{"ruleId":"D1","level":"warning","message":{"text":"_HistogramState._buildChart (cyclomatic 19): _HistogramState._buildChart 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/stats/date/histogram.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"695925f0ae6a6d0c6db964b2fc125c4cba4a1396e8f1009ff2b21ea35f6af4a7"}},{"ruleId":"D1","level":"warning","message":{"text":"AssParser._parsePaths (cyclomatic 19): AssParser._parsePaths 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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dad66c1774957a8a51f9669bc4a9a7f5c305d084df44cf90d00ed1f918ce671"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataExtractorHelper.getDatePlus (cyclomatic 19): MetadataExtractorHelper.getDatePlus 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3b3a06d18af3cd17d5dea3cf85d0700d74ae6a89cad40e2593f74e2d62c141"}},{"ruleId":"D1","level":"warning","message":{"text":"MpvVideoController._startListening (cyclomatic 18): MpvVideoController._startListening 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":"plugins/aves_video_mpv/lib/src/controller_video.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3340ccb8519c04bc7c50a513174da6b67a7d6760b867902d57eec32badc262"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffMatchPatch.diff_cleanupSemantic (cyclomatic 18): DiffMatchPatch.diff_cleanupSemantic has cyclomatic complexity 18 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17090fc27423f226086c6937f3c61ab49dfacc440a091663ae2f5daef0e78ba"}},{"ruleId":"D1","level":"warning","message":{"text":"EntryStorageMixin.doExport (cyclomatic 18): EntryStorageMixin.doExport 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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"549a3b071b07027c21c30ed382d0abdbdf262f55b0fa4c065768518421e5da0e"}},{"ruleId":"D1","level":"warning","message":{"text":"_BasicSectionState._buildChips (cyclomatic 18): _BasicSectionState._buildChips has cyclomatic complexity 18 (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":"lib/widgets/viewer/info/basic_section.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbf638786728bd5a7effee394a57bc20e3d8312c7639e3ca6e2219a8e01f75b"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataFetchHandler.getCatalogMetadata (cyclomatic 18): MetadataFetchHandler.getCatalogMetadata 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead30eb06688fffc2d55220775c9241f93afbd12aca750ac4c5f521f712a4a6f"}},{"ruleId":"D1","level":"warning","message":{"text":"Mp4ParserHelper.extractBoxFields (cyclomatic 18): Mp4ParserHelper.extractBoxFields has cyclomatic complexity 18 (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. This is NOT this file\u0027s highest cyclomatic complexity: Mp4ParserHelper.boxTypeMetadataKey (cyclomatic 20) 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/Mp4ParserHelper.kt"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7df4defb6691d5e1a480a9fc1e3a4da0bfe127ef90eb520c2561d93664a678d"}},{"ruleId":"D1","level":"warning","message":{"text":"SafePhotoshopReader.extract (cyclomatic 18): SafePhotoshopReader.extract 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/SafePhotoshopReader.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a8ebc98b7346105e567742186247bcb4d08c321ff0660f8f1a7ed12c0963ff"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageProvider.deleteSingle (cyclomatic 18): ImageProvider.deleteSingle 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cd49bd136705214aa73df6ebfd654e9fc84f9ec3e122671d8e54324f728d72"}},{"ruleId":"D1","level":"warning","message":{"text":"AvesEntry.applyNewFields (cyclomatic 17): AvesEntry.applyNewFields 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":"lib/model/entry/entry.dart"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa3632d3be4551063274c4ad882854b990c0cfaa78cb446214937178c715dd4"}},{"ruleId":"D1","level":"warning","message":{"text":"NamingPattern.from (cyclomatic 17): NamingPattern.from has cyclomatic complexity 17 (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":"lib/model/naming_pattern.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17c7c4e79e4f5f27b9e6467828b27189355c5e4acde46b8a9c15046e72c5938"}},{"ruleId":"D1","level":"warning","message":{"text":"MagnifierGestureRecognizer.handleEvent (cyclomatic 17): MagnifierGestureRecognizer.handleEvent 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":"plugins/aves_magnifier/lib/src/core/scale_gesture_recognizer.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"48113521013bf7ebdce076c12864eddb2e1a1fbc724bbd139ab739be1601f3cf"}},{"ruleId":"D1","level":"warning","message":{"text":"_CoverSelectionDialogState.build (cyclomatic 17): _CoverSelectionDialogState.build 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":"lib/widgets/dialogs/filter_editors/cover_selection_dialog.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eb3e07dee2a47feadd8d8603df271fb3c11a736bc658c3f69652b276b6e56e"}},{"ruleId":"D1","level":"warning","message":{"text":"AppAdapterHandler.pinShortcut (cyclomatic 17): AppAdapterHandler.pinShortcut 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppAdapterHandler.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"a971898d3427a7a9d00d8f4dbb76dd29022a04b47e2c66a80775dc0e67d406bb"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataFetchHandler.getMultimediaCatalogMetadataByMediaMetadataRetriever (cyclomatic 17): MetadataFetchHandler.getMultimediaCatalogMetadataByMediaMetadataRetriever 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de5e7d2987df6b4b916b4fd2d1f0487e7ae3f7b267c5a75afd302839c7d152"}},{"ruleId":"D1","level":"warning","message":{"text":"ExifInterfaceHelper.fillMetadataExtractorDir (cyclomatic 17): ExifInterfaceHelper.fillMetadataExtractorDir has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/ExifInterfaceHelper.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecea47d07c057595b1859dfe1eb22c91108e739e686368eb9fb4cc622e3db15"}},{"ruleId":"D1","level":"warning","message":{"text":"CollectionLens._onLayoutFactorChanged (cyclomatic 16): CollectionLens._onLayoutFactorChanged has cyclomatic complexity 16 (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: CollectionLens.showHeaders (cyclomatic 17) 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":"lib/model/source/collection_lens.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"209b6a1cd751e6cf65e60b2e3f6f1d5d38b84a4464d43fa3a26c7180c416f056"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffMatchPatch._match_bitap (cyclomatic 16): DiffMatchPatch._match_bitap has cyclomatic complexity 16 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4fdc7f896d1a79ccc3eb246db8a9ab274c59dfb412d0b5cb02331044276d7a"}},{"ruleId":"D1","level":"warning","message":{"text":"CalendarSectionLayoutBuilder.buildSectionLayout (cyclomatic 16): CalendarSectionLayoutBuilder.buildSectionLayout 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":"lib/widgets/common/grid/sections/calendar/section_layout_builder.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7246f233875fcd6dbe72e46223b57a425e4ccb29958c44e70019e11c2feaf9a6"}},{"ruleId":"D1","level":"warning","message":{"text":"_ThumbnailImageState.build (cyclomatic 16): _ThumbnailImageState.build 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":"lib/widgets/common/thumbnail/image.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3531c934b2c56529d90b7ff5ad4ea6ae8344f822fff61ffa85978739e312dd5c"}},{"ruleId":"D1","level":"warning","message":{"text":"_LocationSectionState.build (cyclomatic 16): _LocationSectionState.build 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":"lib/widgets/viewer/info/location_section.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a0e4b8eac1d538a6706814e995b69c6cd52d4321392809e59dc88efe355052"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaSessionHandler.updateSession (cyclomatic 16): MediaSessionHandler.updateSession 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MediaSessionHandler.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d4e26a7c6a54890d181c47ddd3439a5d9857c5e257f9736916bc62f3b39e46"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageProvider.convertSingle (cyclomatic 16): ImageProvider.convertSingle 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc701331c6a5dbffbe63f2b245d4b85b57d551923c522273f225bece86f32763"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaStoreImageProvider.tryScanNewPathByMediaStore (cyclomatic 16): MediaStoreImageProvider.tryScanNewPathByMediaStore 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af6ea35a4052265dfd7cdb7ca4e20b25a5029eabf035049812b1fb84c320884"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoMetadataFormatter.formatInfo (cognitive 195): VideoMetadataFormatter.formatInfo has cognitive complexity 195 (threshold 15). Drivers by points: if/else 34 (159 pts), ternaries 3 (16 pts), match/switch 2 (10 pts), boolean chains 6, error handling 1 (3 pts), loops 1 (nesting depth added 148). 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":"lib/model/media/video/metadata.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a435108cd7551ba2cfd697e3d7d4b13760cb7e531b4f90953d68bcc06c46d99b"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataFetchHandler.getAllMetadata (cognitive 166): MetadataFetchHandler.getAllMetadata has cognitive complexity 166 (threshold 15). Drivers by points: if/else 43 (112 pts), match/switch 4 (19 pts), loops 7 (18 pts), error handling 5 (9 pts), boolean chains 8 (nesting depth added 99). 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b74afbab37dde70cfdf3e00d7a5292d19bcf5ceb5215e9491500cd8996cff6"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataFetchHandler.getCatalogMetadataByMetadataExtractor (cognitive 127): MetadataFetchHandler.getCatalogMetadataByMetadataExtractor has cognitive complexity 127 (threshold 15). Drivers by points: if/else 34 (79 pts), loops 9 (23 pts), error handling 6 (14 pts), boolean chains 9, match/switch 1 (2 pts) (nesting depth added 68). 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c4ec3c8033bf425cbb8c8d8cf03f8532817f4eff0ed18dfebbfeee0bef434b"}},{"ruleId":"D2","level":"warning","message":{"text":"AssParser.parse (cognitive 119): AssParser.parse has cognitive complexity 119 (threshold 15). Drivers by points: if/else 31 (90 pts), ternaries 7 (22 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 75). 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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf311cebe56d6f71b0000d4eae139d81f5fe81c3e7f83a6e267d96f7852be92"}},{"ruleId":"D2","level":"warning","message":{"text":"SafePngMetadataReader.processChunk (cognitive 84): SafePngMetadataReader.processChunk has cognitive complexity 84 (threshold 15). Drivers by points: if/else 45 (67 pts), error handling 6 (16 pts), boolean chains 1 (nesting depth added 32). 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/SafePngMetadataReader.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24a22636312e85633572ed4fc9a0736765323654d8fba6c73458686b3e809fe"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaStoreImageProvider.fetchFrom (cognitive 78): MediaStoreImageProvider.fetchFrom has cognitive complexity 78 (threshold 15). Drivers by points: if/else 18 (59 pts), error handling 2 (8 pts), boolean chains 7, loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 49). 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7b087926ab456547be332f2ea89b2023fd284d2bed0da8a8be11190f312e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"_HomePageState._setup (cognitive 77): _HomePageState._setup has cognitive complexity 77 (threshold 15). Drivers by points: if/else 21 (56 pts), match/switch 4 (13 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1 (nesting depth added 47). 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":"lib/widgets/home/home_page.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7078e4ea9037cb52a5491c8f1ab30ef507b460456245081ae7ad007dee0b24"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffMatchPatch._diff_bisect (cognitive 61): DiffMatchPatch._diff_bisect has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (38 pts), boolean chains 12, loops 5 (11 pts) (nesting depth added 29). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a561883731e5e37770d64a3c1a250ab0312077c9c6bd3c1c8e4daa1486af23"}},{"ruleId":"D2","level":"warning","message":{"text":"AGestureDetector.build (cognitive 57): AGestureDetector.build has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 49, if/else 8. 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":"lib/widgets/common/basic/gestures/gesture_detector.dart"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d1580791bc7942fd07a5366a70627544e49dc5bcb075b968c3c8ec1a84053a"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProvider.editMetadata (cognitive 53): ImageProvider.editMetadata has cognitive complexity 53 (threshold 15). Drivers by points: if/else 26 (48 pts), match/switch 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 24). 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5559e1667d5d9a789123a7548c3ff8e9bf543c1421ebf3ebf0616e45d5d12e"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffMatchPatch.diff_cleanupEfficiency (cognitive 52): DiffMatchPatch.diff_cleanupEfficiency has cognitive complexity 52 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 5 (17 pts), boolean chains 9, loops 1 (nesting depth added 26). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"987992d054a93ec141c89c22cebb2cd36a69eb1b894d443c0b71c6c1ed31eecf"}},{"ruleId":"D2","level":"warning","message":{"text":"EntryStorageMixin.doQuickMove (cognitive 51): EntryStorageMixin.doQuickMove has cognitive complexity 51 (threshold 15). Drivers by points: if/else 22 (36 pts), ternaries 3 (8 pts), boolean chains 7 (nesting depth added 19). 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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34dc1b35b50f436aa1e82c3bfe2b90bdda123b9413272c59bf444425edab780"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffMatchPatch.diff_cleanupMerge (cognitive 50): DiffMatchPatch.diff_cleanupMerge has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (42 pts), boolean chains 4, loops 2, match/switch 1 (2 pts) (nesting depth added 28). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb67bcdf7070341b600a7ce0aa80be1fa238e1d019f83081a53d02bd6854501"}},{"ruleId":"D2","level":"warning","message":{"text":"WallpaperButtons._getBytes (cognitive 49): WallpaperButtons._getBytes has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (30 pts), match/switch 2 (8 pts), ternaries 2 (6 pts), boolean chains 4, error handling 1 (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":"lib/widgets/viewer/overlay/bottom/wallpaper_buttons.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e12be458fd67e0600174419b080fc287330b95c789cddcc6ca06fd959ac7c5"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffMatchPatch._diff_cleanupSemanticLossless (cognitive 48): DiffMatchPatch._diff_cleanupSemanticLossless has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 16, loops 2 (4 pts) (nesting depth added 16). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cba84e4b9c6357e456c8def99d6b264144058c811f73ca583b63e788f508cd"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaStoreSource.refreshUris (cognitive 47): MediaStoreSource.refreshUris has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (32 pts), ternaries 3 (7 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 23). 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":"lib/model/source/media_store_source.dart"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"94375dadee5d45b71802d762c5e4189b1d37a7647b28f2d5549b24d6b7d42fdb"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryFilter.fieldTest (cognitive 45): QueryFilter.fieldTest has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (24 pts), match/switch 7 (13 pts), ternaries 3 (6 pts), boolean chains 2 (nesting depth added 20). 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":"lib/model/filters/query.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eee35456dac2e331433a26e7f4688509fccee298fe6d91fd682dab66d95cf60"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataFetchHandler.getOverlayMetadata (cognitive 43): MetadataFetchHandler.getOverlayMetadata has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (28 pts), error handling 4 (8 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (nesting depth added 19). 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"973b35f67f768a4b920ea41e95bfff84c35fdc82f58a97b2b74714e9eabb57a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Manifest.build (cognitive 41): Manifest.build has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (31 pts), match/switch 3 (6 pts), boolean chains 2, ternaries 2 (nesting depth added 17). 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":"lib/widgets/viewer/info/credential/manifest.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadf8cb7219e8608e4942d4da48dc822e9e2096598b32b72a171f180dbf95fef"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProvider.moveSingle (cognitive 41): ImageProvider.moveSingle has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 6, error handling 3 (6 pts), match/switch 1 (nesting depth added 17). 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea1813a8784cfc1b1ee8c0a23bd5bcec830f6836f0e42e4f50b589443c281e9"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffMatchPatch.diff_cleanupSemantic (cognitive 40): DiffMatchPatch.diff_cleanupSemantic has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 5, ternaries 1 (4 pts), loops 2 (nesting depth added 20). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f8d21b6040f0e061811f6cf7a06911c0e92468879108df84db57872e624b99"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoSubtitles.build (cognitive 40): VideoSubtitles.build has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (21 pts), ternaries 8 (10 pts), match/switch 4 (8 pts), boolean chains 1 (nesting depth added 9). 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":"lib/widgets/viewer/visual/video/subtitle/subtitle.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2269b379aec7684b639e80bb871e41c381f1b54ef789abddb2fbf8f3a965dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaMetadataRetrieverHelper.getSafeDescription (cognitive 40): MediaMetadataRetrieverHelper.getSafeDescription has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (29 pts), match/switch 4 (11 pts) (nesting depth added 19). 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/MediaMetadataRetrieverHelper.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2fbbf2b1f090422c4b1f4a7525f3539ae62a89aea7f647317fb4f91cc8242d"}},{"ruleId":"D2","level":"warning","message":{"text":"_EntryPageViewState._buildVideoView (cognitive 39): _EntryPageViewState._buildVideoView has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 5, ternaries 2 (5 pts) (nesting depth added 16). 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":"lib/widgets/viewer/visual/entry_page_view.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bb2c1de133b2da1f8bdc402e59164ab4c9bc9a544650a904c5753b80984585"}},{"ruleId":"D2","level":"warning","message":{"text":"Settings.import (cognitive 38): Settings.import has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23 (36 pts), match/switch 1 (2 pts) (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":"lib/model/settings/settings.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e274fe85da0f21b0dd92d9a0182adff6f50849374db297b7181acc807bfb130f"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffMatchPatch._match_bitap (cognitive 38): DiffMatchPatch._match_bitap has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (31 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 19). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9468d135f68a1c00ed2a924d405ef0b886238d068dc7ef02bd6c59b181b15929"}},{"ruleId":"D2","level":"warning","message":{"text":"_AvesFilterChipState.build (cognitive 38): _AvesFilterChipState.build has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (19 pts), ternaries 10 (15 pts), boolean chains 4 (nesting depth added 11). 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":"lib/widgets/common/identity/aves_filter_chip.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7786ecd4e3b39fd076de13b2d6841735cce0aa947e620f819e69a51fae47e888"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProvider.editExifDate (cognitive 38): ImageProvider.editExifDate has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (30 pts), match/switch 3 (7 pts), error handling 1 (nesting depth added 16). 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75e149c831c60989fc306901525c330d5194ab776bdfddb077f4280c98a9221"}},{"ruleId":"D2","level":"warning","message":{"text":"AlbumListPage.groupToSections (cognitive 37): AlbumListPage.groupToSections has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (26 pts), match/switch 3 (6 pts), boolean chains 2, ternaries 1 (2 pts), loops 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":"lib/widgets/filter_grids/albums_page.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"da917a116083371bfcdfbcb5b9750bc5a876a5873d2aea99f3228f63a299367d"}},{"ruleId":"D2","level":"warning","message":{"text":"LocationFilter.iconBuilder (cognitive 36): LocationFilter.iconBuilder has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (30 pts), error handling 1 (5 pts), match/switch 1 (nesting depth added 23). 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":"lib/model/filters/covered/location.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"91013dfd645f2fdf02262183f30ec0db1713ca11ed17ef75e18e038442e936f6"}},{"ruleId":"D2","level":"warning","message":{"text":"GridThemeData._defaultIconBuilder (cognitive 35): GridThemeData._defaultIconBuilder has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 11 (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":"lib/widgets/common/grid/theme.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adb395773b2e7668a032d7d991bcc0e94c2e09525edbd9f3ef26e0b3b080778"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivity.extractIntentData (cognitive 35): MainActivity.extractIntentData has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 1 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/MainActivity.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7570c571824212ae75d541b4ef81372691b933f52b98d25bcfa9404ce4a0af"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProvider.convertSingle (cognitive 35): ImageProvider.convertSingle has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (29 pts), match/switch 2 (5 pts), boolean chains 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5a41969b4f5bb104b839c7d62aecbfec668a691a54df8fdc2943e415377393"}},{"ruleId":"D2","level":"warning","message":{"text":"_AvesMagnifierState.onScaleEnd (cognitive 34): _AvesMagnifierState.onScaleEnd has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (32 pts), boolean chains 2 (nesting depth added 16). 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":"plugins/aves_magnifier/lib/src/core/core.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6625cf423cb3ef65595d793125ade14f7c37413095511624fcf433afee3d5f"}},{"ruleId":"D2","level":"warning","message":{"text":"EntrySetActionDelegate.isVisible (cognitive 34): EntrySetActionDelegate.isVisible has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 33, match/switch 1. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c891fbbe92ca7d8c360918ff3bbbcd4d488e45e57d9d8893fe57cc456b843f80"}},{"ruleId":"D2","level":"warning","message":{"text":"_EditEntryLocationDialogState._updateGpxMapping (cognitive 33): _EditEntryLocationDialogState._updateGpxMapping has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 4, loops 1 (2 pts) (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":"lib/widgets/dialogs/entry_editors/edit_location_dialog.dart"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"663429c456e203a1b0109350127f1a96f5eaada63f6fc56953e6edb25a5e0df6"}},{"ruleId":"D2","level":"warning","message":{"text":"_EntryViewerStackState._handleNotification (cognitive 33): _EntryViewerStackState._handleNotification has cognitive complexity 33 (threshold 15). Drivers by points: if/else 24 (31 pts), match/switch 1 (2 pts) (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, 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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"225ce19a66c815c1cd0de74ab2a496b158fb71c085472eaa2c4221d0b9fde8c3"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataFetchHandler.getDate (cognitive 33): MetadataFetchHandler.getDate has cognitive complexity 33 (threshold 15). Drivers by points: loops 5 (16 pts), error handling 3 (6 pts), if/else 4 (6 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 18). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9cf9a6ed6c7378a00e62831a8f101416458dd29d3a12039fccd195bb195946"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataExtractorHelper.getDatePlus (cognitive 33): MetadataExtractorHelper.getDatePlus has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 2 (5 pts), match/switch 1 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 16). 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e96a6ab7994211deb1cff28a113bde7f65ff34fd61923b0a6ed34e3f990c80"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionSource.analyze (cognitive 32): CollectionSource.analyze has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 2 (8 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 18). 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":"lib/model/source/collection_source.dart"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb8504f7f1317bcfa2212663e00bcb14af2d701c1558b91f26dd6d9d1cc5a66"}},{"ruleId":"D2","level":"warning","message":{"text":"AssParser._parsePaths (cognitive 32): AssParser._parsePaths has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 2 (8 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 20). 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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"9094f99a4bf8c46928478428737193d4d840bc0c2d9f15e4160543fa3497477a"}},{"ruleId":"D2","level":"warning","message":{"text":"_OverlaySnackBarState.build (cognitive 31): _OverlaySnackBarState.build has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 10, boolean chains 5 (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, 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":"lib/widgets/common/action_mixins/overlay_snack_bar.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21d796fd97d1b36e7f0e1c7c6e81608b06fb7616bfb8a14c0702c8a61264f96"}},{"ruleId":"D2","level":"warning","message":{"text":"_RenderSliverKnownExtentBoxAdaptor.performLayout (cognitive 31): _RenderSliverKnownExtentBoxAdaptor.performLayout has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 6, ternaries 3 (4 pts), loops 2 (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":"lib/widgets/common/grid/sliver.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5df5b3feb9a22fbe53b5f9cecc164c18dadc2dfb248db097db1ebbfe223f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"GeoUtils.epsgToProj4 (cognitive 30): GeoUtils.epsgToProj4 has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 13 (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":"plugins/aves_map/lib/src/geo_utils.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bf3694ca0c723c745c076deff54da31e90eb1af3a0229d4697b21d2e26cfd3"}},{"ruleId":"D2","level":"warning","message":{"text":"_CollectionScrollViewState._getScrollCrumbs (cognitive 30): _CollectionScrollViewState._getScrollCrumbs has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (20 pts), ternaries 1 (5 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 19). 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":"lib/widgets/collection/collection_grid.dart"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"9feda0513b3902a9beac62d3b33bbf25297bf3c078093a9b619cf7a7757c3e32"}},{"ruleId":"D2","level":"warning","message":{"text":"_MenuQuickChooserState._onPointerMove (cognitive 30): _MenuQuickChooserState._onPointerMove has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 8 (10 pts), boolean chains 6 (nesting depth added 11). 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":"lib/widgets/common/action_controls/quick_choosers/common/menu.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb422bbbca06cfb04b1d0322f27f4d21a653cf37b3acf57e89b2c079d14fcdf"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProvider.deleteSingle (cognitive 30): ImageProvider.deleteSingle has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 5, error handling 1 (3 pts) (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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a6eb6346824846dcef9c433309982536151ff658e599f7b3a87f351aacefa1"}},{"ruleId":"D2","level":"warning","message":{"text":"SafePhotoshopReader.extract (cognitive 29): SafePhotoshopReader.extract has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (7 pts), match/switch 1 (3 pts), error handling 1 (2 pts), boolean chains 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/SafePhotoshopReader.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddf1fcdeaee54c5fef60ccef078d6178bb9270665494d5fcfc16454f952c32c"}},{"ruleId":"D2","level":"warning","message":{"text":"_CropperState._handleOutline (cognitive 28): _CropperState._handleOutline has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 12 (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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86484521a6ecf5e332dce98a9e6bfd7bf24ac22855f726687fdc5dc405e6af5"}},{"ruleId":"D2","level":"warning","message":{"text":"MagnifierGestureRecognizer.handleEvent (cognitive 27): MagnifierGestureRecognizer.handleEvent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 6 (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":"plugins/aves_magnifier/lib/src/core/scale_gesture_recognizer.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9821bd0ef244dfaf84040b08ddabbbf7acbe7e1194cb37927eb8127883cbddd8"}},{"ruleId":"D2","level":"warning","message":{"text":"_GeoMapState._updateItemTracks (cognitive 27): _GeoMapState._updateItemTracks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (23 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 19). 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":"lib/widgets/common/map/geo_map.dart"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c52d69a4842fdeec6e2f27adcbb97a9a7f4021098863e0770524d17b604e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataFetchHandler.getCatalogMetadata (cognitive 27): MetadataFetchHandler.getCatalogMetadata has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (20 pts), error handling 2 (4 pts), boolean chains 3 (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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"08330f1c315c7d58f09503342d3842197ad8de2e4c361f7aef82eac2bcbc03c0"}},{"ruleId":"D2","level":"warning","message":{"text":"AppAdapterHandler.pinShortcut (cognitive 26): AppAdapterHandler.pinShortcut has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), match/switch 2 (3 pts), boolean chains 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppAdapterHandler.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"298b67b434bcaae77abf7effcab8315bfda56e84c68ee9741207edfa454211bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProvider.moveMultiple (cognitive 26): ImageProvider.moveMultiple has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (22 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 14). 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e9fa6530dc50003ee3f7b6eac45a81eed9d0aef1047ddb251a94bff8c0bfcc"}},{"ruleId":"D2","level":"warning","message":{"text":"PanoramaInfo.fromMap (cognitive 25): PanoramaInfo.fromMap has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 9, ternaries 2 (4 pts) (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":"lib/model/media/panorama.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c816e3b9074c039d19a888e0cf2ee8f36a04bd4b31677749d3c66e6ee24815"}},{"ruleId":"D2","level":"warning","message":{"text":"EntryStorageMixin.doExport (cognitive 25): EntryStorageMixin.doExport has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 3, ternaries 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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedea1f6102e1d7ffb081189d4e7e988177e419641d832cdbda1cc0c8a7bb8ce"}},{"ruleId":"D2","level":"warning","message":{"text":"_GridSelectionGestureDetectorState._toggleSelectionToIndex (cognitive 25): _GridSelectionGestureDetectorState._toggleSelectionToIndex has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 2, ternaries 1 (nesting depth added 11). 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":"lib/widgets/common/grid/selector.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edeccc0583681ddd246823254bfa10d0f8e5740c36e2af682222caf355118aa"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataFetchHandler.getMultimediaCatalogMetadataByMediaMetadataRetriever (cognitive 25): MetadataFetchHandler.getMultimediaCatalogMetadataByMediaMetadataRetriever has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e06665db3c2043c6c8f7ff3d5b12d1c45b282ddda7fd230b483d4066613f037"}},{"ruleId":"D2","level":"warning","message":{"text":"_AvesAppContentDecoratorState._onSourceStateChanged (cognitive 24): _AvesAppContentDecoratorState._onSourceStateChanged has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 2 (8 pts) (nesting depth added 16). 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":"lib/widgets/aves_app.dart"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"752f016bec925959cc7f6df15831af57973410ac1a185f80d48f837b28daeb16"}},{"ruleId":"D2","level":"warning","message":{"text":"_DebugAppDatabaseSectionState.build (cognitive 24): _DebugAppDatabaseSectionState.build has cognitive complexity 24 (threshold 15). Drivers by points: if/else 24. 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":"lib/widgets/debug/database.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca7f24580d13d14956b6c04d532a2eb085f9e300c6bf670999f9602781d87ca"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleEntryEditorMixin.edit (cognitive 24): SingleEntryEditorMixin.edit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 2, error handling 1 (nesting depth added 12). 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":"lib/widgets/viewer/action/single_entry_editor.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8f0a3dcaee8049bf2ef289f2a764ce7693bd37e9271dea7c154db2f6f136f5"}},{"ruleId":"D2","level":"warning","message":{"text":"_DbTabState.build (cognitive 24): _DbTabState.build has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, ternaries 6. 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":"lib/widgets/viewer/debug/db.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ed527647bee9f6c1e9f266354dc32e5e1afa9d65036899825c50d9eb5c4972"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProvider.captureFrame (cognitive 24): ImageProvider.captureFrame has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 3 (4 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"38067a4af3c2de97ac5d187ec0a831635c4be7083f216ba8e3fd2794653b68a1"}},{"ruleId":"D2","level":"warning","message":{"text":"MpvVideoController._startListening (cognitive 23): MpvVideoController._startListening has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4, ternaries 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":"plugins/aves_video_mpv/lib/src/controller_video.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b765319842fd6c7f190c1d165854adc23dae6ac1fe2adfdbb3233e8713b5532"}},{"ruleId":"D2","level":"warning","message":{"text":"MpvVideoMetadataFetcher._describeAllMetadataFields (cognitive 23): MpvVideoMetadataFetcher._describeAllMetadataFields has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 3 (6 pts), boolean chains 2 (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":"plugins/aves_video_mpv/lib/src/metadata.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"405c412d437398cb04af43f20c5007898ea196dd09c1774f16fee81f7e4418f1"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffMatchPatch.diff_fromDelta (cognitive 23): DiffMatchPatch.diff_fromDelta has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3 (9 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43ddba4cec197c6fbf3c46d980281151a11a2f567b964b9a7fa6fbef70b6bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"EntryViewControllerMixin._initMultiPageController (cognitive 22): EntryViewControllerMixin._initMultiPageController has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 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":"lib/widgets/viewer/visual/controller_mixin.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbac170ebd688be38dc3532f819130453afe5fe3530a4245e0b6195a2499b6f"}},{"ruleId":"D2","level":"warning","message":{"text":"ThumbnailFetcher.fetch (cognitive 22): ThumbnailFetcher.fetch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), error handling 2 (3 pts), boolean chains 2 (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":"android/app/src/main/kotlin/deckers/thibault/aves/decoding/ThumbnailFetcher.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1665e90ff5a3f358c32f22f985a2d2aff3d9d636d2d36306fdc74d2222b280dd"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeXmpReader.processExtendedXMPChunk (cognitive 22): SafeXmpReader.processExtendedXMPChunk has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 12). 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/SafeXmpReader.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c119fb5aa1dec138af149d2e59e38e28b01cef89a6b87cc29e7c9ec106e2f97"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaStoreImageProvider.tryScanNewPathByMediaStore (cognitive 22): MediaStoreImageProvider.tryScanNewPathByMediaStore has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (19 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0dbd4e2289fe5dfb8947517b1055741cc9729ec5bea906508c30b3af811186"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionLens._applySection (cognitive 21): CollectionLens._applySection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 2 (6 pts), match/switch 2 (5 pts) (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":"lib/model/source/collection_lens.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b814fae34619fcef57e38885bc55a4da048f9e011faf318486d7eac197a3f4e"}},{"ruleId":"D2","level":"warning","message":{"text":"TrashMixin.recoverUntrackedTrashItems (cognitive 21): TrashMixin.recoverUntrackedTrashItems has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (8 pts) (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":"lib/model/source/trash.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abcc384b874c8fd5fa721bf565360b634b369d6257fd8800d4e310d6333dcea"}},{"ruleId":"D2","level":"warning","message":{"text":"_InkResponseState.updateHighlight (cognitive 21): _InkResponseState.updateHighlight has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 3 (5 pts), ternaries 1 (3 pts), boolean chains 2 (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":"lib/widgets/common/basic/gestures/ink_well.dart"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"219d414c410acb882f58e91949236ae3fa44aae944c136dcc0dd11983a9e6d5f"}},{"ruleId":"D2","level":"warning","message":{"text":"_CropperState._applyCropRatioToOutline (cognitive 21): _CropperState._applyCropRatioToOutline has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 4, match/switch 2, boolean chains 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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"465cb88ecf5ecee28dc128a72a6fcaa1238f4338f3eef805596fb249618335ca"}},{"ruleId":"D2","level":"warning","message":{"text":"_ViewerVerticalPageViewState._buildImagePage (cognitive 21): _ViewerVerticalPageViewState._buildImagePage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 3 (5 pts), boolean chains 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":"lib/widgets/viewer/entry_vertical_pager.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3891a167451c6ac3b8d2395f77f04f928668b2d0602c27233a02dde780b52b60"}},{"ruleId":"D2","level":"warning","message":{"text":"AssParser._parseClip (cognitive 21): AssParser._parseClip has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 1 (nesting depth added 12). 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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"2801526900a5efc41399d5f5f04037ac6906cc9a1ce831bb073049f1287bd4f7"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataFetchHandler.getDescriptionByMetadataExtractor (cognitive 21): MetadataFetchHandler.getDescriptionByMetadataExtractor has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (7 pts), 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b1a72252f09c12b2cbddc542a7fd93e14beda2ae5f7a644f3300466de88dcd"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataExtractorHelper.extractPngProfile (cognitive 21): MetadataExtractorHelper.extractPngProfile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 14). 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4d16d759e8aa8f559ae0811e8232f05a72f15a8f48f38a27a845e28a5b13c0"}},{"ruleId":"D2","level":"warning","message":{"text":"FileImageProvider.fetchSingle (cognitive 21): FileImageProvider.fetchSingle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 2 (4 pts), boolean chains 2 (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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/FileImageProvider.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f36d7c71a5eecd24cca87d97cdb5907e47c224f24b293a67623b9209bb77e3e"}},{"ruleId":"D2","level":"warning","message":{"text":"Covers.removeAll (cognitive 20): Covers.removeAll has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 1, loops 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":"lib/model/covers.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"043a1cfea9fae3e51e7cb9d3206c4f3a55d92bf1b4642b3d0f37b9fde6ce1ce9"}},{"ruleId":"D2","level":"warning","message":{"text":"SvgMetadataService.getSize (cognitive 20): SvgMetadataService.getSize has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, 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":"lib/services/metadata/svg_metadata_service.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a67b8e0eb54c8e0c0897bf81772c2f9fcc71368ffb18ce65e28a6565f80128"}},{"ruleId":"D2","level":"warning","message":{"text":"_CollectionAppBarState._buildMobileActions (cognitive 20): _CollectionAppBarState._buildMobileActions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 8, ternaries 3 (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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d5b22cd06e823af2c904770a4ebc16d5b84cefa644ba7737f45f63007c2490"}},{"ruleId":"D2","level":"warning","message":{"text":"CalendarSectionLayoutBuilder.buildSectionLayout (cognitive 20): CalendarSectionLayoutBuilder.buildSectionLayout has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 7 (8 pts), loops 2 (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":"lib/widgets/common/grid/sections/calendar/section_layout_builder.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7008f475d7534206eb38c6da5f171ea39c49380d6e7a4736acee980843726cad"}},{"ruleId":"D2","level":"warning","message":{"text":"_CoverSelectionDialogState.build (cognitive 20): _CoverSelectionDialogState.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 5, boolean chains 3 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/filter_editors/cover_selection_dialog.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1541e7dc5363cea2dce7d00afc11179cb92708ab6d3d03dd558154f9f7902113"}},{"ruleId":"D2","level":"warning","message":{"text":"_EditVaultDialogState.build (cognitive 20): _EditVaultDialogState.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 4 (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":"lib/widgets/dialogs/filter_editors/edit_vault_dialog.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2d3b6340a21939eb7c3115b6e1cb82219b1e9fccfdf93183ac080e2cb02442"}},{"ruleId":"D2","level":"warning","message":{"text":"AlbumChipSetActionDelegate.isVisible (cognitive 20): AlbumChipSetActionDelegate.isVisible has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 18, if/else 1, match/switch 1. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/filter_grids/common/action_delegates/album_set.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea2dba8d0a2da3329de615fb0ae24dfc5eb4bf59fa1cb347b01d192803ebeb9"}},{"ruleId":"D2","level":"warning","message":{"text":"AlbumChipSetActionDelegate._rename (cognitive 20): AlbumChipSetActionDelegate._rename has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3 (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":"lib/widgets/filter_grids/common/action_delegates/album_set.dart"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"abaa60e5ef322948f8d46e7cdbcc652f5eb0bb4405125a4b05311400e7aefed4"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataFetchHandler.getGeoTiffInfo (cognitive 20): MetadataFetchHandler.getGeoTiffInfo has cognitive complexity 20 (threshold 15). Drivers by points: error handling 3 (6 pts), match/switch 2 (6 pts), if/else 4, loops 2 (4 pts) (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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ebe01a0d9a97541479615d11731a24070238c9e97058b92f9f9658182c837b"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataFetchHandler.getExifFields (cognitive 20): MetadataFetchHandler.getExifFields has cognitive complexity 20 (threshold 15). Drivers by points: error handling 4 (8 pts), if/else 5 (8 pts), boolean chains 2, loops 1 (2 pts) (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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"b905366c902f9c6ba57eb767d58c4792173159d9a9e3c25ce31a4bb993f20213"}},{"ruleId":"D2","level":"warning","message":{"text":"Mp4ParserHelper.extractBoxFields (cognitive 20): Mp4ParserHelper.extractBoxFields has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 3 (9 pts), boolean chains 1, loops 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/Mp4ParserHelper.kt"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8c77faaf1d688215c2c65583fd2e1bb165980825c04ce072487e660960e523"}},{"ruleId":"D2","level":"warning","message":{"text":"UnknownContentProvider.fetchSingle (cognitive 20): UnknownContentProvider.fetchSingle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, error handling 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/UnknownContentProvider.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09fd7c12ede7f7b442f572fbce7297eef5c7629d864cbdf38adc5bacd0dc0bb"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageUtils.findVolumePaths (cognitive 20): StorageUtils.findVolumePaths has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (5 pts), loops 1 (2 pts), boolean chains 1 (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":"android/app/src/main/kotlin/deckers/thibault/aves/storage/StorageUtils.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b6388d6449a369c98eb53581e9ae6f3ffbd672c7465b769f67d8874d908b97"}},{"ruleId":"D2","level":"warning","message":{"text":"_ThumbnailImageState.build (cognitive 19): _ThumbnailImageState.build has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 6 (7 pts), boolean chains 4 (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":"lib/widgets/common/thumbnail/image.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6958b33e020c4ed5603e7f91fa5c510dc36e56de44ca80f01711dc36fb8c04f"}},{"ruleId":"D2","level":"warning","message":{"text":"EntryPrinter._buildImageWidgets (cognitive 19): EntryPrinter._buildImageWidgets has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (4 pts), boolean chains 1 (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":"lib/widgets/viewer/action/printer.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f2549246f1799ffda0c2e483ba5cf40315511c579e0a96bb171838a67a588"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugHandler.getMetadataExtractorSummary (cognitive 19): DebugHandler.getMetadataExtractorSummary has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 3 (6 pts), loops 2 (5 pts) (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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/DebugHandler.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1a04ea8adebc7b52e617de88b90613062f2b5de180278b7931d0e47f73c839"}},{"ruleId":"D2","level":"warning","message":{"text":"TiffFetcher.loadData (cognitive 19): TiffFetcher.loadData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 1 (3 pts), error handling 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":"android/app/src/main/kotlin/deckers/thibault/aves/glide/TiffGlideModule.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a129c96591e1af0aa4c7276f73ad8eae3780cad800552ab6a8e58a7b79464abf"}},{"ruleId":"D2","level":"warning","message":{"text":"ExifInterfaceHelper.describeDir (cognitive 19): ExifInterfaceHelper.describeDir has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 2, loops 1 (nesting depth added 10). 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/ExifInterfaceHelper.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6781e4acbb63781f631216014cafc55eb088f46d629cd251d494025a1cefd9d2"}},{"ruleId":"D2","level":"warning","message":{"text":"PixyMetaHelper.copyIptcXmp (cognitive 19): PixyMetaHelper.copyIptcXmp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 1 (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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/PixyMetaHelper.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec2927657fb1b12fdf2f8a102a5a5fc499ca8a4c81658aed9d282244cf76647"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceEntry.fillByMetadataExtractor (cognitive 19): SourceEntry.fillByMetadataExtractor has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (12 pts), error handling 3, if/else 3, boolean chains 1 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/model/SourceEntry.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a92d8e311cb54f6805ce544b6d363aa7506a87453e3a91222d453777ec07ea"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionSource.updateAfterMove (cognitive 18): CollectionSource.updateAfterMove has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, 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":"lib/model/source/collection_source.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c24887a1d5e68e7494d509446b666068edffe08708808c0c27c3426a5f82d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsActionDelegate._import (cognitive 18): SettingsActionDelegate._import has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (6 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":"lib/widgets/settings/settings_action_delegate.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"010d796a280faf0dcbd08afb28071d6457ff53af3d38f4ee2042a31515f0f614"}},{"ruleId":"D2","level":"warning","message":{"text":"_HistogramState._buildChart (cognitive 18): _HistogramState._buildChart has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8, boolean chains 7, if/else 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":"lib/widgets/stats/date/histogram.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb9a37d481a78022d090c5bce205c6ea35aa45508aa38057d56737399368e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"EntryActionDelegate.isVisible (cognitive 18): EntryActionDelegate.isVisible has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, match/switch 2 (4 pts), if/else 3, ternaries 1 (2 pts) (nesting depth added 3). 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":"lib/widgets/viewer/action/entry_action_delegate.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b26b5ce609772b8c66230f11f01f7452a7b761aa187f451ea77b20204e20b58"}},{"ruleId":"D2","level":"warning","message":{"text":"_LocationSectionState.build (cognitive 18): _LocationSectionState.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 3 (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":"lib/widgets/viewer/info/location_section.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"672bdb44809b09c78f305200792d57e17e97617f1454f91eb41d6e02b6a38f4d"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewerDetailOverlayContent._buildRows (cognitive 18): ViewerDetailOverlayContent._buildRows has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, ternaries 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":"lib/widgets/viewer/overlay/top/details/details.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b7d511ec46779b7224ec6e2beb2916073f137bdaddb06f95f8af5157f1202a"}},{"ruleId":"D2","level":"warning","message":{"text":"EntryViewControllerMixin.updatePictureInPicture (cognitive 18): EntryViewControllerMixin.updatePictureInPicture has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (4 pts), boolean chains 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":"lib/widgets/viewer/visual/controller_mixin.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfa4855c020ba1a7ba7e3bad5682037a1f0969a562b525f6ed1d8044263eeb2"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugHandler.getCodecs (cognitive 18): DebugHandler.getCodecs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/DebugHandler.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa93fc2a9690083ab5e312bb6390c889101e95d748203926acf02ee6c872054b"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageHandler.getStorageVolumes (cognitive 18): StorageHandler.getStorageVolumes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (3 pts), loops 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/StorageHandler.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"683c1a7d897c9357c49358365362382a23d013c703ce6111d3283e52d6949ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"RegionFetcher.fetch (cognitive 18): RegionFetcher.fetch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 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":"android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f53e07fd5ceaf08c7f31c9da5832e3d2a899251511aab49e4d4a84b222970b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageProvider.renameMultiple (cognitive 18): ImageProvider.renameMultiple has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (14 pts), error handling 1 (3 pts), loops 1 (nesting depth added 12). 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a3e1d994e44f2f10f48634155972203cc580fd9f1ddd199193cf9ee12c1e00"}},{"ruleId":"D2","level":"warning","message":{"text":"Covers.import (cognitive 17): Covers.import has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, ternaries 1 (2 pts), error handling 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":"lib/model/covers.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9602944222a56bb52fceecad3a70ba0a34db424b3c05c76f3dddae65389afdff"}},{"ruleId":"D2","level":"warning","message":{"text":"AvesEntry.applyNewFields (cognitive 17): AvesEntry.applyNewFields has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16 (17 pts) (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":"lib/model/entry/entry.dart"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c08aaf936dcfe6e23bf810071c7c1a2cba49c248f22792e796492c7d564f7a5"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterGrouping._sanitize (cognitive 17): FilterGrouping._sanitize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, match/switch 1 (2 pts) (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":"lib/model/grouping/common.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8dd7bdcea398230565f3381d3bc4d73a5e9c40ecbc619900fb2dcdffe24da0"}},{"ruleId":"D2","level":"warning","message":{"text":"Vaults.recoverUntrackedItems (cognitive 17): Vaults.recoverUntrackedItems has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (7 pts), boolean chains 1 (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":"lib/model/vaults/vaults.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c2327c1a2d8a9544aead8858ff7c95f162413f4647f9b327cb34e95281ae5f"}},{"ruleId":"D2","level":"warning","message":{"text":"ZoomedBounds.fromPoints (cognitive 17): ZoomedBounds.fromPoints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 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":"plugins/aves_map/lib/src/zoomed_bounds.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98f63479297639a600d18f3a8b65bbefdefc41426453672fc4d9745bc81967c"}},{"ruleId":"D2","level":"warning","message":{"text":"VaultAwareMixin._tryUnlock (cognitive 17): VaultAwareMixin._tryUnlock has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, error handling 1 (2 pts), match/switch 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":"lib/widgets/common/action_mixins/vault_aware.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"191d246a410c1ad64d8d1508135ce4d197d0dc65491916dbbf2e068b3c9f52e1"}},{"ruleId":"D2","level":"warning","message":{"text":"_InkResponseState.build (cognitive 17): _InkResponseState.build has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 13, boolean chains 2, loops 1, 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":"lib/widgets/common/basic/gestures/ink_well.dart"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd43c3c5652c383473469196d96158c6cd452cd16d1c2ccb849e44bc824d3d1"}},{"ruleId":"D2","level":"warning","message":{"text":"_BasicSectionState._buildChips (cognitive 17): _BasicSectionState._buildChips has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 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":"lib/widgets/viewer/info/basic_section.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd4486498a8795b3cfa42ff0694bd5714c655077ea06da4d960330766a5fc61"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataOpCallback.onFailure (cognitive 17): MetadataOpCallback.onFailure has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 1 (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, 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4491ed6a04674936a90c54fd0146456717fb377940be80f570c6617a4ef306e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ExifInterfaceHelper.fillMetadataExtractorDir (cognitive 17): ExifInterfaceHelper.fillMetadataExtractorDir has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 1 (4 pts), boolean chains 3, loops 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/ExifInterfaceHelper.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"550ec0d358f58f7a8b92447b62e9067f2728b05e252ba3d75532f9b51e135ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageUtils.getVolumePathFromTreeDocumentUriUuid (cognitive 17): StorageUtils.getVolumePathFromTreeDocumentUriUuid has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 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":"android/app/src/main/kotlin/deckers/thibault/aves/storage/StorageUtils.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"337d084f7e65a4c4c64e274b86c1d85ad4fdc621bf93992a4f540d79c9aecca6"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoMetadataFormatter.getLoadingMetadata (cognitive 16): VideoMetadataFormatter.getLoadingMetadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (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":"lib/model/media/video/metadata.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7557012b870910b0e7fadff6c2cd0b01c8886dcdb033f7ae81453e5ec6bef468"}},{"ruleId":"D2","level":"warning","message":{"text":"MpvVideoController.getSelectedTrack (cognitive 16): MpvVideoController.getSelectedTrack has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 3 (6 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/aves_video_mpv/lib/src/controller_video.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf912c528d5edaa31ec6e1b915e2ca0ccbdbde59932278af1be47dc26a0fae8"}},{"ruleId":"D2","level":"warning","message":{"text":"_CollectionAppBarState.build (cognitive 16): _CollectionAppBarState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (6 pts) (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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7205de9e12b60abd9f4e6e95b168586793f4bfee6e8962939c7597da6bed208"}},{"ruleId":"D2","level":"warning","message":{"text":"_MenuQuickChooserState.build (cognitive 16): _MenuQuickChooserState.build has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (8 pts), if/else 6 (7 pts), boolean chains 1 (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, 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":"lib/widgets/common/action_controls/quick_choosers/common/menu.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e83df1de3df4e6ef20f29b46ce11797e8252daf9a3633945ec853336bcc7565"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionAwareMixin.checkStoragePermissionForAlbums (cognitive 16): PermissionAwareMixin.checkStoragePermissionForAlbums has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 1 (3 pts), boolean chains 1, loops 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":"lib/widgets/common/action_mixins/permission_aware.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3f09a74c065951ec7e3f6ee5e35a52e9771f68aa62ceaad23410d84f3de1ba"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionAwareMixin._requestSafPermission (cognitive 16): PermissionAwareMixin._requestSafPermission has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 1 (3 pts), loops 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":"lib/widgets/common/action_mixins/permission_aware.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cf2d33f3728137c6910cf54ead40432804cc8e707dec2c42f946581823cba9"}},{"ruleId":"D2","level":"warning","message":{"text":"FixedExtentGridPainter.paint (cognitive 16): FixedExtentGridPainter.paint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (2 pts), match/switch 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":"lib/widgets/common/grid/sections/fixed/scale_grid.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e513ffe95e4599b20d224738e6445c6b73d7e94870d6a433e7b4484faa877807"}},{"ruleId":"D2","level":"warning","message":{"text":"_GeoMapState._initBounds (cognitive 16): _GeoMapState._initBounds has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 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":"lib/widgets/common/map/geo_map.dart"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"5709ad03b3acde971df887c98b655fc7069f170277c963da02f027cc40892ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"_ViewerButtonRowContentState.build (cognitive 16): _ViewerButtonRowContentState.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4 (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":"lib/widgets/viewer/overlay/bottom/viewer_buttons.dart"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"388e20fb53ea85db5ab6e6f22d24485e5f643460e85c30a5a3dc83e9d5a1d595"}},{"ruleId":"D2","level":"warning","message":{"text":"_EntryPageViewState._handleSideSingleTap (cognitive 16): _EntryPageViewState._handleSideSingleTap has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 4 (7 pts), boolean chains 1 (nesting depth added 9). 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":"lib/widgets/viewer/visual/entry_page_view.dart"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa33543c1ba1119ae57a6d6bffd08e361385962d49e466ef3581b416adf414b"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbeddedDataHandler.extractXmpDataProp (cognitive 16): EmbeddedDataHandler.extractXmpDataProp has cognitive complexity 16 (threshold 15). Drivers by points: error handling 4 (8 pts), if/else 5 (6 pts), boolean chains 1, match/switch 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b08d9de63b63715bc1fa31cdbe8c12eff973e28ac0b8d214bf3c953fd5e5f91"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiPage.getJpegMpfBaseOffset (cognitive 16): MultiPage.getJpegMpfBaseOffset has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (3 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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/MultiPage.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb1ed2bc01768d26204473206cd8911ff334626024526abe5a38e4e7a0c7ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"XMP.getSafeStructField (cognitive 16): XMP.getSafeStructField has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 1 (3 pts), match/switch 1 (3 pts), boolean chains 1 (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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/xmp/XMP.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8864840171491012d9edaf3c00d5e70c1851a02af3329a973f8f477f894e4820"}},{"ruleId":"D2","level":"warning","message":{"text":"FileUtils.move (cognitive 16): FileUtils.move has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (16 pts) (nesting depth added 9). 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":"android/app/src/main/kotlin/deckers/thibault/aves/utils/FileUtils.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c6c5a1a174ed26a1c1aa8262ebdac2623f436791dc7b6c575d49c60799fb07"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DerivedMaterialLocalizations: TooManyMethods \u2014 150 methods. The bar is 30 methods; this is 120 over it, 5.00\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":"lib/widgets/common/basic/derived_material_localization.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"945080d0cf6df446e7009f51650e6888d2efbdd2c3677e1fd68e0d28495fedb3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageProvider: ClassTooLong \u2014 1353 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 953 over it, 3.38\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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b06b675516c60ae5099640b140d73da2ed16443ab9957efdc8e22369b51b89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: provider/ImageProvider.kt: FileTooLong \u2014 1441 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ImageProvider (90-2150). The bar is 500 significant lines; this is 941 over it, 2.88\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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca2cc42bb453310d8d52ddfee0324b001c634ad1db98bdb775c0bc835c67f6e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MetadataFetchHandler: ClassTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 541 over it, 2.35\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cda1e1db7f43e352ef553124250b7a9b246399a83a45da445da24f2ad560f8f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoMetadataFormatter.formatInfo: MethodTooLong \u2014 formatInfo runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.31\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":"lib/model/media/video/metadata.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06c361346f09503ae0901015ffa6f2da4ec6e7fe1860b4153bdf7ad390227bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SafePngMetadataReader.processChunk: MethodTooLong \u2014 processChunk runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/SafePngMetadataReader.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"175edc262d179fc16883d2f9f1438ff6f390afb9d2f9b20556a02ec86a1f0aeb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqfliteLocalMediaDb: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. Most of these members implement model.LocalMediaDb (57 of 67 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/db/db_sqflite.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"43838cfa7e57d6cbadb45b01a7a810fb0a57d259db834c4e40f59605feb41fed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: calls/MetadataFetchHandler.kt: FileTooLong \u2014 1056 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: MetadataFetchHandler (118-1642). The bar is 500 significant lines; this is 556 over it, 2.11\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7117285ed05b89349c458acb32e1d15d17c9b29a68b302aa825c3fa669b763"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MetadataFetchHandler.getAllMetadata: MethodTooLong \u2014 getAllMetadata runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e63d31f8925b1c22e4be1ff2d50293942dcd86c6e3b66364365686e8f88db6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AvesEntry: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\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":"lib/model/entry/entry.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"37df494ce92c6c336ec4de463c8255ba9854963b68f70032f2c52e0607462e92"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DiffMatchPatch: ClassTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 366 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":"lib/utils/diff_match.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bdf7d47c2cc8651dd588fd0c88cf4afb20ecd053b2407abb6c48369ed6c5ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalMediaDb: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.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":"lib/model/db/db.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e202d1338439b639724f432b90dad6ca893081d1e176a2c8b9482a01fd07b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VideoSubtitles.build: MethodTooLong \u2014 build runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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":"lib/widgets/viewer/visual/video/subtitle/subtitle.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bb6eb2366ed902de60c95ac1baf2fe5dd1dcb5e33f2bd09ab528e798ba57a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DebugAppDatabaseSectionState.build: MethodTooLong \u2014 build runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\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":"lib/widgets/debug/database.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e8bae38ee6e2b02a4678c4f26d9bc4d4c018243699b0ddfcb31a0db54f2886"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AssParser.parse: MethodTooLong \u2014 parse runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b86eb1fb697f23c04d4e541fb9ed6601d5c16a9e46f1415e576059610e90aaa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _EntryViewerStackState: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e51e1fcf75fe9f6962db5899ef30a3a264427211c751c55f785583809a81db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MetadataFetchHandler.getCatalogMetadataByMetadataExtractor: MethodTooLong \u2014 getCatalogMetadataByMetadataExtractor runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e867a9330939b8fae9bb0d189698e249ca58a78203467580da7a8c66eb73e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Settings.import: MethodTooLong \u2014 import runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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":"lib/model/settings/settings.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edbebb1570a52eaa170b4326817f6c392be9a2455b2712d0ba0c36f007308c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AGestureDetector.build: MethodTooLong \u2014 build runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"lib/widgets/common/basic/gestures/gesture_detector.dart"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"615e21454e9822fe10e7d85419da6ad9bcb4d395ac89853ec84d115eb41a7122"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _EntryViewerStackState: ClassTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 252 over it, 1.63\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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee63c61d4fe7df97130798df74b67c0524da10ed9deae28d082f3dfcfffff00"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EntrySetActionDelegate: ClassTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 247 over it, 1.62\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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c99df838b6d4a72f8aced38f5cc636e94810208cd49bb8e01359e710f24aef6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HomePageState._setup: MethodTooLong \u2014 _setup runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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":"lib/widgets/home/home_page.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4f46d86a50057274589353275dbd3d9420031d914f0e9e2fffd14bf6cc525e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MpvVideoController: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.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":"plugins/aves_video_mpv/lib/src/controller_video.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8e6d40baed74b0a8cb9e97ce736526dfd382bdf2229b043bab704aa71aeeff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/diff_match.dart: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: DiffMatchPatch (76-1480). The bar is 500 significant lines; this is 281 over it, 1.56\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":"lib/utils/diff_match.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e25f00b969673d5e96b64312a535cab04661fccab4fab7b635205b522cbabbe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _InkResponseState: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.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":"lib/widgets/common/basic/gestures/ink_well.dart"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d2907cde9b42a6a8bfadb07b43a9d8f577bbef64764f5c7fabd5ad3f77f33a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _AvesFilterChipState.build: MethodTooLong \u2014 build runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"lib/widgets/common/identity/aves_filter_chip.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1cef2936b3129400d00f3af311413c905765d7c84de304aeac5e7973770baf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StorageUtils: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.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":"android/app/src/main/kotlin/deckers/thibault/aves/storage/StorageUtils.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"35556daf961d0bcdc720e13f152154902f2f3c6562e916160a5688eb535c5fb1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _QuickActionEditorBodyState.build: MethodTooLong \u2014 build runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"lib/widgets/settings/common/quick_actions/editor_page.dart"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf6b31f2ed98d9bd774b5de7f5cc5be2f9cc41c531fb9cf8ac25fbd65553bc2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Settings: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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":"lib/model/settings/settings.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e1975cdda850557aecb1d54e1b48dd5b366d34aad1bf4ff5769e97aadd246c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CollectionSource: 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":"lib/model/source/collection_source.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c45782c94ab6d4e46022d345134db8f4514458f0319df0b324d0d7f6c9f2a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EntrySetActionDelegate: 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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1951308b4e8abc61d5f9164eef2a1cb1e52d28570064cd74f6a5a32775d9f94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewer/entry_viewer_stack.dart: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: _EntryViewerStackState (57-1030). The bar is 500 significant lines; this is 204 over it, 1.41\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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f93103bb2f3e6228421f6476e72aa1a145eec6b561a470871ecfd1aebaa783"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CollectionAppBarState: ClassTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 163 over it, 1.41\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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9169147a25dd4caa740ed58067cdcb47b6078ed622a5a776c59941decdba7fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _OverlaySnackBarState.build: MethodTooLong \u2014 build runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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":"lib/widgets/common/action_mixins/overlay_snack_bar.dart"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e60f5241da9fc603eee1cca9f6e22da23370d47475701a91fa6d3df827805a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _EntryPageViewState._buildVideoView: MethodTooLong \u2014 _buildVideoView runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"lib/widgets/viewer/visual/entry_page_view.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a088612883f00562c15776b5d421fc1c3c33fa38b409724b82e1426c770bc6e1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Exif: ClassTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), 32 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":"lib/ref/metadata/exif.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad0b5f0935dc2fac40f8bd30293458cde9833709890c6d9a6dc115a83872575"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _CropperState: ClassTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 134 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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fee8bc894bef4e84f010ea8adf1c94ed5b91fdd69ecd6d656c9a493162033f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AvesVideoController: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"plugins/aves_video/lib/src/controller_video.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"37599b3c93ced3cb6ea8522ed3cf3b3cc67cb4d94b658f69bb514e53495db0da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CropperState._applyCropRatioToOutline: MethodTooLong \u2014 _applyCropRatioToOutline 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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"5667a1b6815590e85969725c903b042345c062d585d7fd0d694145d781884081"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: collection/entry_set_action_delegate.dart: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: EntrySetActionDelegate (70-976). The bar is 500 significant lines; this is 147 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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93df1b9bcef6d7f7f0968181de756d9458f349a14b930f4c3efa0b948cdd02f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: collection/app_bar.dart: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: _CollectionAppBarState (83-873). The bar is 500 significant lines; this is 135 over it, 1.27\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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af8f9444ca8a18e9ea394702202c412b33c8471a98e0f9f0d28275116636c78"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntryStorageMixin.doQuickMove: MethodTooLong \u2014 doQuickMove 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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"de10e7df1c93d38eb76cb43e9b3726153e5a93bb63cb886c3ece1d554d49aee1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _CollectionAppBarState: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdeb682e33ffd09340329b663f3861901f158ff787004b508c35bec5869e3d61"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DbTabState.build: MethodTooLong \u2014 build 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":"lib/widgets/viewer/debug/db.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc51800342a17a8767c7c2e26417c3d2898641dcaca5f588524da938a3a5020"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gestures/ink_well.dart: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: _InkResponseState (582-1139). The bar is 500 significant lines; this is 117 over it, 1.23\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":"lib/widgets/common/basic/gestures/ink_well.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b654885e8877bbe4267a8bf2df19b0304fd295c8f36ff1eb35b8a4d0d0ae2e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExoVideoController: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d2e2c55e3aad55ee52496627db816e5c7badc273bee3fdaac35e5fd2542382"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalMediaDbUpgrader._upgradeFrom6: MethodTooLong \u2014 _upgradeFrom6 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":"lib/model/db/db_sqflite_upgrade.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1b1ad23cc6e169d27a26286c7ca0e1fd03572f44974dc65d34799f1b7a0601"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TagEditorPageState.build: MethodTooLong \u2014 build 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":"lib/widgets/dialogs/entry_editors/tag_editor_page.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"99764564f9496453daa88598530fd11ba9383f3846ac7ca7fdb4bb75ddaf2150"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Manifest.build: MethodTooLong \u2014 build 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":"lib/widgets/viewer/info/credential/manifest.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"801f3f85c931c290408adbeaf611dd6eb46dd27f3916ccbbda46021c21dbceb7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SqfliteLocalMediaDb: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded), 67 methods. The bar is 400 significant lines; this is 85 over it, 1.21\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":"lib/model/db/db_sqflite.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"967879a4f81a845b992d16ef5462ba3456117dfac64a6245bed79b7269057c09"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DiffMatchPatch: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"lib/utils/diff_match.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cb5580b38161995e92f7ac255218bd007c7271126c43e7e4254609b8a550cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _RenameEntrySetPageState.build: MethodTooLong \u2014 build runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"lib/widgets/dialogs/entry_editors/rename_entry_set_page.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7333b4bbc6d3e16e3b4ef65872d89c4c7c554e9a89367497e9378022a7c428"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MediaStoreImageProvider: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 68 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b967a661c9217057a60480bcacd549f8a21e36ef76bd9707ad36556d5b4595"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _GeoMapState.build: MethodTooLong \u2014 build runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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":"lib/widgets/common/map/geo_map.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6596d4bbff646c23db94d8e8b10c4389feaa206483b67a3e176ce9118027f6a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImageProvider: 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"208ea92d0628dae48756e1e2c689428a4278b7017ed23ce13c7a25c1da776098"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _DebugSettingsSectionState.build: MethodTooLong \u2014 build 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":"lib/widgets/debug/settings.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bc73b5bb5b75a8311418483830ae053dfa13296c87429624497e1cf49456f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/aves_app.dart: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 72 over it, 1.14\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":"lib/widgets/aves_app.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"435fc2e487c38f87461d572e4a6bbc1ad12692e58a0effcb82458ef1b1d86cdd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _CropperState: 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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b8f92986850361eebbf69ee92848082fa23533c3d81ae733d7d6b67c80368e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transform/cropper.dart: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: _CropperState (40-785). The bar is 500 significant lines; this is 66 over it, 1.13\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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fcbaf35d4508515ca0578d0b62a56cc8338ace3af0ae5904b0bcb9ec645105"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WallpaperButtons._getBytes: MethodTooLong \u2014 _getBytes runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.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":"lib/widgets/viewer/overlay/bottom/wallpaper_buttons.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38e9c8b54cb007a44a8620a6bf821632e4810204901cc573e1681f9852d0716"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MainActivity: ClassTooLong \u2014 436 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 36 over it, 1.09\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":"android/app/src/main/kotlin/deckers/thibault/aves/MainActivity.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"82388b7a9024a905475c2cfcf237c6fb1cfacae47a4d499eae963c32adc01210"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalMediaDbUpgrader: ClassTooLong \u2014 436 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 36 over it, 1.09\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":"lib/model/db/db_sqflite_upgrade.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de1d9f199872833d8970fca49eb3f073e08b6c53279e58a6b7ec8c2009c400a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageProvider.convertSingle: MethodTooLong \u2014 convertSingle runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"429fd17f1f896e6c9b9b33060b7d56976390b2221d3e3ccf180854eaa7860e4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CalendarSectionLayoutBuilder.buildSectionLayout: MethodTooLong \u2014 buildSectionLayout runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"lib/widgets/common/grid/sections/calendar/section_layout_builder.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9903e9b1eb3aca7e68092a9e62d13ec6951f2b3b40e81cb118601ccb841529e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _CoverSelectionDialogState.build: MethodTooLong \u2014 build runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"lib/widgets/dialogs/filter_editors/cover_selection_dialog.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3743cdd0814d790ec596263d6a6d79393e43fcac8f3f159503a60be5cfd92db6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: metadata/exif.dart: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Exif (1-646). The bar is 500 significant lines; this is 36 over it, 1.07\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":"lib/ref/metadata/exif.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fd7fca0c510252241d441a236ea6602425ebf45212b3393acd701e4adf8f9a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainActivity: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"android/app/src/main/kotlin/deckers/thibault/aves/MainActivity.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"986ad627e857ee9cce7778af0c204360686b8e656fa3dc1bf6c8369130f21097"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Exif: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"lib/ref/metadata/exif.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b641b36646ca89080a85ecca73d486f97f6f66f6714d84a032d9c187a59073"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/filter_grid_page.dart: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 33 over it, 1.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":"lib/widgets/filter_grids/common/filter_grid_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44da049bc89393511e32335f0697918fce83b493300e2da43c6ec415c7174288"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: provider/MediaStoreImageProvider.kt: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: MediaStoreImageProvider (46-754). The bar is 500 significant lines; this is 20 over it, 1.04\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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edebe3ab4fc1b1812493add23d4f1187a427b669d33cafd089a996420ed02a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _HomePageState._getRedirectRoute: MethodTooLong \u2014 _getRedirectRoute 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":"lib/widgets/home/home_page.dart"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e0c95ee71ce2fcbed2d3597b6464d7b12b1a691bed2f51560bf9a5d15e8aac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilterGrouping: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.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":"lib/model/grouping/common.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30af671dc35840285610b649a4210373c60c622ed4bfb6fd00ad31dfdc81c8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: aves/MainActivity.kt: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: MainActivity (82-762). The bar is 500 significant lines; this is 15 over it, 1.03\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":"android/app/src/main/kotlin/deckers/thibault/aves/MainActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67669809e75a05aaf098a3e2b2ba9b01cd910af58d6ce05fb4710a83481bc180"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageProvider.editMetadata: MethodTooLong \u2014 editMetadata runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0ac86830b471e67a701028a6fb3ed93876e5f9b457cbb9666204732ae8d18f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageProvider.moveSingle: MethodTooLong \u2014 moveSingle runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cca9f7a69fbd3c06fb12b952e4f189d93471c3039c42ad04ddb3e06c124c10a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SqfliteLocalMediaDbSchema.createTable: MethodTooLong \u2014 createTable runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.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":"lib/model/db/db_sqflite_schema.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"628279783eb908a7caee55422514f78a3afe6fdb0182e3c719ae11e5090fa646"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _MenuQuickChooserState.build: MethodTooLong \u2014 build runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.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":"lib/widgets/common/action_controls/quick_choosers/common/menu.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a790e2c8ce8afb6d4e1a7b040996a07f227935ed17bc2720ccce99e90bf5afd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntryStorageMixin.doExport: MethodTooLong \u2014 doExport runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"633082d65d1a15f28851a1480b66bf4088587932300161d8a601fc40ab45945b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: _EditEntryLocationDialogState: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 3 over it, 1.01\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":"lib/widgets/dialogs/entry_editors/edit_location_dialog.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b852edde992be8ed6a3acf0c6818b058451a9da89356c52ac89a61394af1c1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/db_sqflite.dart: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: SqfliteLocalMediaDb (21-745). The bar is 500 significant lines; this is 3 over it, 1.01\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":"lib/model/db/db_sqflite.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d829aa7449112d4f3caff0bd5d8e97eb49af0c4caf76347a412d1f0698a23557"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CollectionSource: ClassTooLong \u2014 401 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 1 over it, 1.00\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":"lib/model/source/collection_source.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7f659a19404655a27bc8d2b1f693c7a1482dfdc25c1873a2cf6d8a3d23815a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 18 shared lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:59-91 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:93-132 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:134-169 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:171-202 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:204-237 \u2014 These 5 members are variants of one another: a block of 18 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e4f84b85a8b53ddf0174b419c30d37232acdf51d7c7319d92d278ffbae73d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): lib/model/source/location/location.dart:67-115 | lib/model/source/location/location.dart:119-200 \u2014 These two members are variants of one another: 33 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":"lib/model/source/location/location.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0a672682f09d2155f0cc7e0b86a56cf0c608a6c41f6374f4ad25849c50182f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (31 shared lines): lib/widgets/collection/grid/list_details_theme.dart:18-89 | lib/widgets/filter_grids/common/list_details_theme.dart:27-98 \u2014 These two members are variants of one another: 31 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":"lib/widgets/collection/grid/list_details_theme.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4a1ed3fe73e27b7dd8d6b8fb1fe0f5262b3fbb30d0e4a804ca1bb4995617c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:80-144 | lib/widgets/dialogs/entry_editors/edit_location_dialog.dart:109-166 | lib/widgets/dialogs/entry_editors/manage_media_dialog.dart:45-76 | lib/widgets/dialogs/entry_editors/remove_metadata_dialog.dart:56-114 | lib/widgets/dialogs/entry_editors/rename_entry_dialog.dart:44-87 | lib/widgets/dialogs/filter_editors/create_group_dialog.dart:40-74 | lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart:38-69 | lib/widgets/dialogs/filter_editors/rename_group_dialog.dart:43-76 | lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart:42-73 | lib/widgets/dialogs/filter_editors/rename_tag_dialog.dart:38-69 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/entry_editors/edit_date_dialog.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"297f6fc9ec7ccd5b96a4895c02498bc7c388d85991c0a33040aaa053e65b3cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): lib/ref/metadata/exif.dart:38-127 | lib/ref/metadata/exif.dart:168-191 | lib/ref/metadata/exif.dart:209-260 | lib/ref/metadata/exif.dart:263-286 | lib/ref/metadata/exif.dart:289-324 | lib/ref/metadata/exif.dart:375-398 | lib/ref/metadata/exif.dart:443-464 | lib/widgets/viewer/info/metadata/model/xmp_ns/photoshop.dart:31-54 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ref/metadata/exif.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3688c4ca21d33a8c466018921d761f7cd342474eee8a09725481050661eb77"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:159-494 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:617-902 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:994-1082 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1377-1473 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1510-1565 | android/app/src/main/kotlin/deckers/thibault/aves/metadata/MultiPage.kt:111-153 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c1950e6ad309e4c01bc35af9f11ed46ad67f00d8f1052d67d4a5add467f820"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/model/source/album.dart:121-147 | lib/model/source/location/country.dart:10-29 | lib/model/source/location/place.dart:10-29 | lib/model/source/location/state.dart:10-29 | lib/model/source/tag.dart:105-128 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/source/album.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4107d1ffbfec0000c7a4a5889673645aebf824bf6f4f9c88d0318fff19d899"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/widgets/filter_grids/albums_page.dart:36-92 | lib/widgets/filter_grids/countries_page.dart:22-52 | lib/widgets/filter_grids/places_page.dart:22-52 | lib/widgets/filter_grids/states_page.dart:28-58 | lib/widgets/filter_grids/tags_page.dart:31-77 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/filter_grids/albums_page.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ad0c14b8c8b7cbd3a350de98b489575dd8507e645af6ed472db83160a642ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/services/media/embedded_data_service.dart:43-55 | lib/services/media/embedded_data_service.dart:72-84 | lib/services/media/embedded_data_service.dart:86-98 | lib/services/media/embedded_data_service.dart:115-127 \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":"lib/services/media/embedded_data_service.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3aba5f2bb28b811cee76a4ad155e592c19ed161cfaf7bed916a80d85a74b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/widgets/collection/entry_set_action_delegate.dart:334-385 | lib/widgets/common/action_mixins/entry_storage.dart:191-379 | lib/widgets/common/action_mixins/entry_storage.dart:438-486 | lib/widgets/filter_grids/common/action_delegates/album_set.dart:496-549 \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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"679c345f07c1452444b3046cafd7d7927ea5263c0e51f025d32b7e6f704610fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:124-199 | lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart:108-181 \u2014 These two members are one piece of code written twice and then edited apart: 74 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":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa017b80e60d08f3752aaf118e6ea7f10cb16e6a80224dfcda8625bea2d76b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (94 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt:1122-1232 | android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt:1242-1335 \u2014 These two members are one piece of code written twice and then edited apart: 94 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a360151e94f7f560b80ab6bf32fb8426e835af55e1e12fc78e32d171d7510159"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lib/widgets/viewer/info/metadata/cards/json.dart:28-58 | lib/widgets/viewer/info/metadata/cards/json.dart:60-87 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"lib/widgets/viewer/info/metadata/cards/json.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e718729e11486700e6f5bc631ae8201908fc772147d09628cb7fe0e63ffb74b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): lib/widgets/settings/screen_saver_settings_page.dart:19-72 | lib/widgets/settings/viewer/slideshow_page.dart:26-81 \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":"lib/widgets/settings/screen_saver_settings_page.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"842c366304f359d914aafc206fa0bf38d61c0f646102e46a6b70c0559d692ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1212-1262 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1289-1341 \u2014 These two members are one piece of code written twice and then edited apart: 51 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0497a46fd413e476748edd28383cbe50a764124c05d5754e67119648d0da6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/widgets/collection/app_bar.dart:831-863 | lib/widgets/filter_grids/common/action_delegates/chip_set.dart:271-301 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f6aa2d38142c635b47af38805a14736f8487a405c639a41bfd1905aea0eabc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:286-339 | lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart:264-311 \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":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d45d64c5254e51a61e2ceb5bdb04a868bb34e86dab9f213b42e50ba76f0bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): lib/widgets/common/action_mixins/vault_aware.dart:17-70 | lib/widgets/common/action_mixins/vault_aware.dart:96-140 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"lib/widgets/common/action_mixins/vault_aware.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84a865fa031060c90f2dff813561d189c617dedd9934ffcc4830304c86493fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lib/widgets/common/action_controls/quick_choosers/move_button.dart:36-65 | lib/widgets/common/action_controls/quick_choosers/tag_button.dart:48-77 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"lib/widgets/common/action_controls/quick_choosers/move_button.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a10a725d56c9f308a51824f4fa7f251a6a4c908ea75706e71fe872d0c853455"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/widgets/stats/date/axis.dart:29-54 | lib/widgets/stats/date/axis.dart:56-85 \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":"lib/widgets/stats/date/axis.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7e642ee87ea2de6a0bbd285f197ca3db62e2961ec447589f9d5d99c5ffd525"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ActivityResultStreamHandler.kt:155-203 | android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ActivityResultStreamHandler.kt:231-268 \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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ActivityResultStreamHandler.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"66057a17389a2a4e5ffa56a803e0f1067bae083cff7622807a387e9467e313f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lib/widgets/collection/app_bar.dart:689-732 | lib/widgets/viewer/overlay/bottom/viewer_buttons.dart:385-425 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"4850384716f3f02b305d55c8ca47ad49f266286f039d058948facc1119e9d677"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/widgets/settings/navigation/confirmation_dialog_page.dart:20-56 | lib/widgets/settings/video/controls_page.dart:20-54 \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":"lib/widgets/settings/navigation/confirmation_dialog_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39e0c6023534425432ae428c71a39a15dfca3f7b12b99e5488d819154dda3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/utils/BitmapConversion.kt:106-134 | android/app/src/main/kotlin/deckers/thibault/aves/utils/BitmapConversion.kt:247-273 \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":"android/app/src/main/kotlin/deckers/thibault/aves/utils/BitmapConversion.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f599354a8f0845ae391b1c7366876b544748b6f46582c0e218ac3f2a69a8488f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/model/source/album.dart:169-194 | lib/model/source/tag.dart:140-165 \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":"lib/model/source/album.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5875bc0db5545e13b22c20270bca43057698d6bc7c5e4b94a1b8f88e183dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): lib/model/db/db_sqflite_upgrade.dart:82-137 | lib/model/db/db_sqflite_upgrade.dart:365-424 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"lib/model/db/db_sqflite_upgrade.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a674a275c96713d7251f3415709d2a5bb787bbb70e9db53565a732009e74ad53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lib/widgets/dialogs/pick_dialogs/location_pick_page.dart:166-205 | lib/widgets/map/info_row.dart:19-58 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"lib/widgets/dialogs/pick_dialogs/location_pick_page.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d29606946091e24870ad0aae3fc5cef443bceec72acb5389379bd2124aaf7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/widgets/filter_grids/common/action_delegates/album_set.dart:412-435 | lib/widgets/filter_grids/common/action_delegates/tag_set.dart:153-175 \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":"lib/widgets/filter_grids/common/action_delegates/album_set.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9709770fd8ccffe83015f76ceac146e494b0d3a61ee78b7bc78ca8f8b85cef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lib/theme/themes.dart:180-220 | lib/theme/themes.dart:244-277 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"lib/theme/themes.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"550d3b69cafa062636dd34930acc10958af54dbada53f3c6721bdd8980b827c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/widgets/viewer/info/metadata/model/xmp_card_data.dart:30-48 | lib/widgets/viewer/info/metadata/model/xmp_card_data.dart:50-69 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"lib/widgets/viewer/info/metadata/model/xmp_card_data.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43220c0220d6f6a117eaf1c80e074e27e19e4fdf638bc02d146053dc4e98979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ImageByteStreamHandler.kt:121-147 | android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ImageByteStreamHandler.kt:154-175 \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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ImageByteStreamHandler.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f364d2882b01382e617feb3ad21ae044668ae8b7a86a3ccac133edd4bad49c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:201-223 | lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart:183-205 \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":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bd97a0e474e9febf444439b473cd3f459854c2384b31b20147dd739756e9bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/widgets/collection/app_bar.dart:296-322 | lib/widgets/filter_grids/common/app_bar.dart:260-286 \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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"736aca0db40c3fd504830a0401a386e636bae2ceb7a313e61b6a5a4058cc1ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): lib/widgets/collection/entry_set_action_delegate.dart:930-952 | lib/widgets/common/map/map_action_delegate.dart:66-98 | lib/widgets/explorer/action_delegate.dart:66-91 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5729263816de950bffb4711495c625aebf8a2e9cde5710a715a86ad0c9d4c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:225-268 | lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart:207-246 | lib/widgets/filter_grids/common/app_bar.dart:314-353 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 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":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"97af4540e2336b4b3d7e5d3c816e246f61c6b751579538712ad32bf153244867"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/widgets/viewer/entry_viewer_stack.dart:979-1010 | lib/widgets/wallpaper_page.dart:257-282 \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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"3703cfe77180d081b9974e4e67e9d303c332eed5c2c0dacba6a9590b96e51585"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt:130-150 | android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt:152-177 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fb77a4c049dbbe250776179f419d170c7678b17ff1e89c18f28cc2a9f295a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/widgets/settings/common/tiles/multi_selection.dart:22-45 | lib/widgets/settings/common/tiles/single_selection.dart:21-43 \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":"lib/widgets/settings/common/tiles/multi_selection.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0cfca2c60aa34c4f4ef6c949737589d864273c3277d658800dce975616d43c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/services/device_service.dart:201-212 | lib/services/device_service.dart:214-225 \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":"lib/services/device_service.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c7c76160075321ee3687d42c9282f5a4f35ae8f3b621e1564992464ae4327a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lib/widgets/about/about_tv_page.dart:20-61 | lib/widgets/settings/settings_tv_page.dart:15-49 \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":"lib/widgets/about/about_tv_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2202bf2afb28cbc87ff9965636eeb31fda88e8d8fd0029a24e06719af24a43d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/widgets/common/action_controls/quick_choosers/common/menu.dart:320-344 | lib/widgets/common/grid/selector.dart:178-202 \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":"lib/widgets/common/action_controls/quick_choosers/common/menu.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6477acd98fa8065df3731b1df444897ef4e44ea571e25bbd93a9b53198db38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt:189-207 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt:209-227 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc14052ae0aaa25872136df13944e931ca5f5a200b72c7ec5b2994f541693d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/DebugHandler.kt:348-368 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/DebugHandler.kt:370-390 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/DebugHandler.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e20f003863b1d529080f4406d390fe060476311648e62a3492d9132a67f1574"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): lib/services/media/media_edit_service.dart:70-88 | lib/services/media/media_edit_service.dart:90-112 | lib/services/media/media_edit_service.dart:144-162 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"lib/services/media/media_edit_service.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a678ae18ec50f1cc7c91f7215bf74b57793318ec7c4ca0b20bf670b88feab9c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/widgets/collection/app_bar.dart:106-125 | lib/widgets/filter_grids/common/app_bar.dart:103-118 \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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f940e1502f1062c772678d4a59be6a611aa93535c81c5c226295541ddc5aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): lib/services/storage_permission_service.dart:97-120 | lib/services/storage_permission_service.dart:123-145 | lib/services/storage_service.dart:248-277 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"lib/services/storage_permission_service.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7873efb1458f1a36d52150fcb47eb98921e579903106f182487e81dae55916"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): plugins/aves_magnifier/lib/src/scale/scale_boundaries.dart:95-106 | plugins/aves_magnifier/lib/src/scale/scale_boundaries.dart:108-119 \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":"plugins/aves_magnifier/lib/src/scale/scale_boundaries.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9432de61b40624c4183ea1aafbd67ce750ad8c776824fb704f8ac9b73e541c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): lib/services/metadata/metadata_edit_service.dart:60-75 | lib/services/metadata/metadata_edit_service.dart:77-94 | lib/services/metadata/metadata_edit_service.dart:109-121 | lib/services/metadata/metadata_fetch_service.dart:278-292 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/metadata/metadata_edit_service.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6b84c5626ce42304de39546e4de8c149e7b561c5a082785e1dfcc1ec631064"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/widgets/viewer/controls/transitions.dart:5-30 | lib/widgets/viewer/controls/transitions.dart:51-68 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"lib/widgets/viewer/controls/transitions.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1cd242ad6b29e2a8f4b9a1f2c5f28faf3bc0cca2b89e656b28817b05308533"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/metadata/C2paHelper.kt:54-73 | android/app/src/main/kotlin/deckers/thibault/aves/metadata/C2paHelper.kt:75-97 \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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/C2paHelper.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff4bd38ec0cf1366f81204cf45e25446b67a49283dd64a60b9f2a0be05cb0fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): lib/services/media/embedded_data_service.dart:28-41 | lib/services/media/embedded_data_service.dart:57-70 | lib/services/media/embedded_data_service.dart:100-113 | lib/services/media/embedded_data_service.dart:132-146 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media/embedded_data_service.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63e3ecb1592547c72de7c6863125af5eff2e8df8c034f671aa89bf300457eb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/model/filters/container/set_and.dart:24-37 | lib/model/filters/container/set_or.dart:24-37 \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":"lib/model/filters/container/set_and.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8186ab45240f8c12c9fdbbee13f6f65b96bb44ab1b82347eb9531396a0e882d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): lib/widgets/dialogs/filter_editors/password_dialog.dart:56-76 | lib/widgets/dialogs/filter_editors/pattern_dialog.dart:47-65 | lib/widgets/dialogs/filter_editors/pin_dialog.dart:52-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"lib/widgets/dialogs/filter_editors/password_dialog.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a396fe2073e0e3be409340ce18b4c33005d11c3a74feacaeba320b34ec37f526"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/widgets/editor/transform/cropper.dart:593-601 | lib/widgets/editor/transform/cropper.dart:603-611 \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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0424cdae60839861cfdfe27c8b1d4f92f13451048355b8162698dd58d7cb7b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/model/covers.dart:208-226 | lib/model/covers.dart:228-249 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"lib/model/covers.dart"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b08004f77294cc6655d89e85d809843634a13e825948fca1420d12566d77df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/widgets/viewer/overlay/top/details/details.dart:284-306 | lib/widgets/viewer/overlay/top/details/details.dart:308-334 \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":"lib/widgets/viewer/overlay/top/details/details.dart"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"97965c2a9a1e78607bb203c20c6b0078b4bf6f25a839cd26e3bdcf7c80cf21e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/model/settings/modules/filter_grids.dart:100-116 | lib/model/settings/modules/navigation.dart:112-130 \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":"lib/model/settings/modules/filter_grids.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"80219366d440dd0204bc42b8e38221f8e94ed360da9557b4d57c997d55efee7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/widgets/common/thumbnail/overlay.dart:54-74 | lib/widgets/filter_grids/common/overlay.dart:36-57 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"lib/widgets/common/thumbnail/overlay.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cb8ccc23738a0b877f6acf135ad3472bfd71349ec79cf1862bccecd3659f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/widgets/viewer/info/credential/thumbnail.dart:28-49 | lib/widgets/viewer/info/metadata/metadata_thumbnail.dart:27-51 \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":"lib/widgets/viewer/info/credential/thumbnail.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0c6b23be4823dfb0aa0717b33f467f02c236bd5d81536f8a94a9171d298645"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/widgets/settings/common/quick_actions/available_actions.dart:72-94 | lib/widgets/settings/common/quick_actions/quick_actions.dart:50-67 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"lib/widgets/settings/common/quick_actions/available_actions.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e03c94d0aa317f6347d4c9fceb7da1ddf455e6b97d3e4f7a330f96c4fef0447"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/metadata/MultiPage.kt:195-209 | android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt:1534-1550 \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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/MultiPage.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"da61e138bebd8542c204fb824766990b68f339168f841a72143100d166b2eb76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/utils/BitmapConversion.kt:146-171 | android/app/src/main/kotlin/deckers/thibault/aves/utils/BitmapConversion.kt:221-236 | android/app/src/main/kotlin/deckers/thibault/aves/utils/BitmapConversion.kt:284-301 \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":"android/app/src/main/kotlin/deckers/thibault/aves/utils/BitmapConversion.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6258256cb2dd9150d413bdedb01ba549edfb2ee5fbf95ffadf4d4c194f10a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:310-327 | lib/widgets/dialogs/entry_editors/edit_location_dialog.dart:258-278 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"lib/widgets/dialogs/entry_editors/edit_date_dialog.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf1e6c988b234d4d24b4c6e1f8700aefbf5f886763b63b46f6870119189f748"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/widgets/dialogs/filter_editors/cover_selection_dialog.dart:230-257 | lib/widgets/dialogs/filter_editors/cover_selection_dialog.dart:301-326 \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":"lib/widgets/dialogs/filter_editors/cover_selection_dialog.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eea6e7a68a697edfcecef47b338a11abcf99e1a6fb13021a1cbb0ca20a14239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/utils/FileUtils.kt:96-120 | android/app/src/main/kotlin/deckers/thibault/aves/utils/FileUtils.kt:123-141 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"android/app/src/main/kotlin/deckers/thibault/aves/utils/FileUtils.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d046cb2ab9ab0a2399c9d2cec73f6f503a87d61fd2ccaf91ac5d4e311492d82e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/widgets/collection/query_bar.dart:48-64 | lib/widgets/filter_grids/common/query_bar.dart:18-34 \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":"lib/widgets/collection/query_bar.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a976528e9e7cef227a5a1e442ab9491cbee182e23887ebed09ffbaccf87151d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt:221-240 | android/app/src/main/kotlin/deckers/thibault/aves/decoding/SvgRegionFetcher.kt:122-143 \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":"android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"824f624f27058640a51a19c9c119e09c24b0801632825c9ae1c5795b46fc3e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/model/db/db_sqflite.dart:540-554 | lib/model/db/db_sqflite.dart:681-695 \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":"lib/model/db/db_sqflite.dart"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"963a918af449cd1c8c0a03735cf267230a6846842b9c7f3510fb58de93a18e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/widgets/collection/entry_set_action_delegate.dart:426-443 | lib/widgets/viewer/action/entry_action_delegate.dart:459-473 \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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2454524a737d5588ff48d244aae9a34e300eb9665b9973eee9a59474470b670"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppAdapterHandler.kt:355-373 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppAdapterHandler.kt:375-397 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppAdapterHandler.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d788438f1893b6c87b4603804979db183c56b672e68bc512c5aa9e0605ac9d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/services/metadata/metadata_edit_service.dart:31-44 | lib/services/metadata/metadata_edit_service.dart:46-58 | lib/services/metadata/metadata_edit_service.dart:96-107 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"lib/services/metadata/metadata_edit_service.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7e62db3f19560ca1bb37c355e433f213db1d23f75ca45533e87464ada9c830"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/widgets/collection/entry_set_action_delegate.dart:318-331 | lib/widgets/filter_grids/common/action_delegates/album_set.dart:279-294 \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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"148efb77cbbced6654cf4d5e2ec64cd9e996f67a89ca865b1bcc9e1b38b5aec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppAdapterHandler.kt:252-267 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppAdapterHandler.kt:282-296 \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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppAdapterHandler.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97d214c784d799f5747baa25e8e56b3fad631e140f58cb21a0a89492454607d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/services/storage_service.dart:95-106 | lib/services/storage_service.dart:108-120 \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":"lib/services/storage_service.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5359624a8df84e5a251f6d5f431e5dbb7ea85d4fa0c90cc5b88ea406e4054eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/widgets/common/grid/sections/calendar/section_layout_builder.dart:40-62 | lib/widgets/common/grid/sections/fixed/section_layout_builder.dart:29-52 \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":"lib/widgets/common/grid/sections/calendar/section_layout_builder.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b949a7d96d67cac3667fca2d3161b77e7a45b881f138139cd5c6e881037e11e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/widgets/common/map/leaflet/map.dart:99-107 | plugins/aves_services_google/lib/src/map.dart:75-81 \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":"lib/widgets/common/map/leaflet/map.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d744f3ffc55491b332ddae7720cbca7305bc5ebc9e7c1430841831aaa1cbcf8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/widgets/viewer/visual/video/subtitle/ass_parser.dart:432-455 | lib/widgets/viewer/visual/video/subtitle/ass_parser.dart:457-480 \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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"344abf32e4a25ac84af5cb917490412f5c40fdb26a3cbe141e70e835c9537935"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/model/db/db_sqflite.dart:299-311 | lib/model/db/db_sqflite.dart:364-372 \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":"lib/model/db/db_sqflite.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90f32d9f3c8d8176819185cf9fd9771e4b93c3ce79628eac3b32702cb9cbb4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/model/settings/modules/filter_grids.dart:83-98 | lib/model/settings/modules/navigation.dart:93-110 \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":"lib/model/settings/modules/filter_grids.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac84ab0610c1b42c20df9a05cc4868f582c933e58860698089f1f1b25a49292"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/services/accessibility_service.dart:43-55 | lib/services/accessibility_service.dart:57-69 \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":"lib/services/accessibility_service.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ae4dd52f1f0080aeed5a3f0bce35573ceb244b5bbdaaae6677fe4b7aafc846"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/widgets/viewer/visual/raster.dart:409-417 | lib/widgets/viewer/visual/vector.dart:304-312 \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":"lib/widgets/viewer/visual/raster.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4670eb1dca87381a2413ce8a3d3e035b9a704f2a7e0843397355486b689c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lib/model/db/db_sqflite_upgrade.dart:139-164 | lib/model/db/db_sqflite_upgrade.dart:536-570 \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":"lib/model/db/db_sqflite_upgrade.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7af7fc122a6d5852e1deef0adae258541410beca014ea89a11091cfcbadc243"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/widgets/viewer/entry_horizontal_pager.dart:108-119 | lib/widgets/viewer/entry_horizontal_pager.dart:121-132 \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":"lib/widgets/viewer/entry_horizontal_pager.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e093b24d288f29f903599912688cf1d49ed51fb4bd844230695f3b8bb8dfbbe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/widgets/common/identity/icons/textful.dart:18-30 | lib/widgets/common/identity/icons/textful.dart:55-68 | lib/widgets/common/identity/icons/textful.dart:77-91 \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":"lib/widgets/common/identity/icons/textful.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17f39359989f8b5cb34748db53b64d52f590af34b674c6506980f772d0cf684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/widgets/viewer/screen_saver_page.dart:113-133 | lib/widgets/viewer/slideshow_page.dart:106-122 \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":"lib/widgets/viewer/screen_saver_page.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"702aa43af341db4441289e8b0c95b1a818c2e9cbf650e73f85ad7e44d4179972"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/widgets/collection/app_bar.dart:143-158 | lib/widgets/filter_grids/common/app_bar.dart:129-142 \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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e67d9ba5e2d594747a4d6c6bfec85b0855eae40fbe5b4ecd3ab5bf12741615"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): plugins/aves_video_exo/lib/src/controller_video.dart:54-70 | plugins/aves_video_mpv/lib/src/controller_video.dart:80-100 \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":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8418397aae93dda1951a519d511077f3e1c9f1d7f959ecba01f3610632e7cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/widgets/common/fx/dashed_path_painter.dart:93-110 | lib/widgets/common/fx/dashed_path_painter.dart:112-129 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"lib/widgets/common/fx/dashed_path_painter.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"181b71e5088189c04c52eb657e03c9c764a607ab258956fd35f579b78a1fd96f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): lib/services/app_service.dart:92-109 | lib/services/app_service.dart:141-154 | lib/services/app_service.dart:169-181 | lib/services/window_service.dart:295-310 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/app_service.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cccc021f1f82d5d28bf8578b098b85730c10830cb2ba4a0103395fbd7dc52f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/widgets/collection/entry_set_action_delegate.dart:805-821 | lib/widgets/filter_grids/common/action_delegates/chip_set.dart:319-330 | lib/widgets/viewer/info/location_section.dart:153-170 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"946009655217ad840f97289294b75f3e43888cc2ec53cb09f3e493424586f49f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/widgets/search/collection_search_delegate.dart:261-272 | lib/widgets/search/collection_search_delegate.dart:274-285 | lib/widgets/search/collection_search_delegate.dart:287-298 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"lib/widgets/search/collection_search_delegate.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12e968788440eab14ba74d50ee3ae882be89e1b2a907cc59ca076412eaff7e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/widgets/dialogs/filter_editors/password_dialog.dart:34-54 | lib/widgets/dialogs/filter_editors/pin_dialog.dart:27-50 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"lib/widgets/dialogs/filter_editors/password_dialog.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f55e0b8cfc06e7e787ac5fd32e643b6abb20d2ac2781fc06939609bb9974099"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/widgets/collection/entry_set_action_delegate.dart:823-838 | lib/widgets/filter_grids/common/action_delegates/chip_set.dart:332-347 \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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9fa47c8389be65ef598a225bfaf6349f91406e232923128d4c746527a00386"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/widgets/filter_grids/common/action_delegates/chip.dart:146-162 | lib/widgets/filter_grids/common/action_delegates/chip_set.dart:370-388 \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":"lib/widgets/filter_grids/common/action_delegates/chip.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9980885d0d714e457ef5d41f748bc2fe264aeaf94b07c107116c641e33556c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/widgets/collection/app_bar.dart:278-294 | lib/widgets/filter_grids/common/app_bar.dart:245-258 \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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2bb29029ca76816fdb9449683b6107bd55cb4dd83570d960ffb485f5c853c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:146-162 | lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:178-196 \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":"lib/widgets/dialogs/entry_editors/edit_date_dialog.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f5ebc6fa797c7097755fcb6126eae7af91d5e67ae78983be30542cd32fa474"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/services/android_debug_service.dart:41-52 | lib/services/android_debug_service.dart:141-153 \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":"lib/services/android_debug_service.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbeef57158c8582e224324bd36046584076347ebbc577b5a15c25bb98a47eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/widgets/common/action_controls/quick_choosers/album_chooser.dart:20-35 | lib/widgets/common/action_controls/quick_choosers/tag_chooser.dart:19-35 \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":"lib/widgets/common/action_controls/quick_choosers/album_chooser.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c25d297c9a2bb6c6efbc6a9613dfdf167b68cde410d28caf9ff3d40852eaa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/services/app_service.dart:202-216 | lib/services/intent_service.dart:24-36 \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":"lib/services/app_service.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ea75c06742973b3356a4a80d10a1662bc3dfabb1d9aa36c0766c50975956c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/services/common/image_op_events.dart:44-55 | lib/services/common/image_op_events.dart:75-85 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"lib/services/common/image_op_events.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa441c9f9d04425fb29453212a080311bd40ac046d7de1e635b28abd4c9b92c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/widgets/viewer/visual/raster.dart:317-326 | lib/widgets/viewer/visual/vector.dart:250-259 \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":"lib/widgets/viewer/visual/raster.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"949f569959fcf34dd13db638d7d9946a38d6d37ba519cb32466db2c4a2235c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): plugins/aves_magnifier/lib/src/pan/edge_hit_detector.dart:12-20 | plugins/aves_magnifier/lib/src/pan/edge_hit_detector.dart:22-30 \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":"plugins/aves_magnifier/lib/src/pan/edge_hit_detector.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59296a92ce996f3553e56263d4a8881649feeae2fbe1817725ad8607d256673"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/image_providers/region_provider.dart:32-45 | lib/image_providers/thumbnail_provider.dart:32-45 \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":"lib/image_providers/region_provider.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f030cd81996c00b41fd199f479ebcb1ed6beb2936cb8931b9d3fdf208931548"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppProfileHandler.kt:47-63 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppProfileHandler.kt:65-80 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppProfileHandler.kt:82-98 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppProfileHandler.kt:100-114 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppProfileHandler.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"381bdf2dcc35139acc8e6e91d18038105379cdf0ced18f0f33901b9fa63fd42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/widgets/collection/entry_set_action_delegate.dart:445-453 | lib/widgets/viewer/action/entry_action_delegate.dart:475-482 \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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eba5385f7a776ab94d5853a6ea8b99e4d6def5478224e8d0c5e6ab198df4843"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/model/db/db_sqflite.dart:433-441 | lib/model/db/db_sqflite.dart:520-530 \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":"lib/model/db/db_sqflite.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb5f6029c10f84d26d7c8f613cb1b2ca9ef54a2ab4b1f3ca79ac9cb8a590eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/services/device_service.dart:98-107 | lib/services/intent_service.dart:38-46 \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":"lib/services/device_service.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee32b99dfec80f20dbfbba2bc1572e62379086c07a830a136924e67376b6c335"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/widgets/dialogs/map/style_selection_dialog.dart:144-154 | lib/widgets/dialogs/map/style_selection_dialog.dart:156-166 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"lib/widgets/dialogs/map/style_selection_dialog.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bbd82ec698d25df8d2d6cd3e32117d25e302af3e8b806e9de10681993c646d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lib/services/device_service.dart:67-76 | lib/services/device_service.dart:227-236 | lib/services/storage_service.dart:60-69 \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":"lib/services/device_service.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fe0a116e06f36e3c52e33633257718223e3cf3161680a17a5bf701b20cfec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/widgets/filter_grids/common/action_delegates/country_set.dart:58-76 | lib/widgets/filter_grids/common/action_delegates/tag_set.dart:92-110 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"lib/widgets/filter_grids/common/action_delegates/country_set.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5720e96e14cd032d10c8f5eeda2943a59dae90dfe7e244442008c46882c8dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AnalysisHandler.kt:39-51 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/GlobalSearchHandler.kt:25-37 \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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AnalysisHandler.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0294914bf3f83e39204b6d38cf16783f603e7e0dcbd6809cf7f5e1630737f519"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/services/app_service.dart:75-90 | lib/services/media/media_store_service.dart:99-111 \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":"lib/services/app_service.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60243d65a70ef7d6a29fd44d80fab5200e6a0a75ee9233ec06ddd57d3c844e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/widgets/collection/entry_set_action_delegate.dart:387-398 | lib/widgets/viewer/action/entry_action_delegate.dart:342-355 \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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6e90ff7658415c03ac64206cb0b567a0b79f969ee4d99e927bf55cec9be350"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:341-353 | lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:355-367 | lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart:313-325 \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":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ac6ccacc50dc529a1574cb0022a4ffbca54492b5973bddcedaa2e14d880e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/metadata/xmp/XMP.kt:193-207 | android/app/src/main/kotlin/deckers/thibault/aves/metadata/xmp/XMP.kt:209-223 | android/app/src/main/kotlin/deckers/thibault/aves/metadata/xmp/XMP.kt:225-239 | android/app/src/main/kotlin/deckers/thibault/aves/metadata/xmp/XMP.kt:241-255 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/xmp/XMP.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e079f585bcfe5e7eef3ab825f75679440f40ea1937ae19569047c4fef9ae70a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/image_providers/region_provider.dart:19-28 | lib/image_providers/thumbnail_provider.dart:20-30 \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":"lib/image_providers/region_provider.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc28dc6bdba490648ca5032b725c4348e0026e8c8148aa93762ff1a40e1f8e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): lib/services/metadata/metadata_fetch_service.dart:51-62 | lib/services/metadata/metadata_fetch_service.dart:64-77 | lib/services/metadata/metadata_fetch_service.dart:144-155 | lib/services/metadata/metadata_fetch_service.dart:181-195 | lib/services/metadata/metadata_fetch_service.dart:211-222 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/metadata/metadata_fetch_service.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"616888505cb66a53efdf8e4d131ce7d50750163064194ec5d39dddc45bda85f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/widgets/common/action_controls/quick_choosers/rate_button.dart:27-41 | lib/widgets/common/action_controls/quick_choosers/share_button.dart:40-56 \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":"lib/widgets/common/action_controls/quick_choosers/rate_button.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32309647155f38155dc560da7c93cf98f0d04f3da66065ccae73057fb69cf94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lib/widgets/common/action_controls/togglers/layout_bar.dart:15-31 | lib/widgets/common/action_controls/togglers/title_search.dart:16-31 | lib/widgets/common/map/buttons/item_track_toggler.dart:18-33 \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":"lib/widgets/common/action_controls/togglers/layout_bar.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dc13a129c22ad52b9fe7d5d7ab8fdab3fac595a4d1b8dc02a9f84446fed4cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/widgets/common/action_mixins/entry_editor.dart:29-40 | lib/widgets/common/action_mixins/entry_editor.dart:42-53 \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":"lib/widgets/common/action_mixins/entry_editor.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"774722837ec8f15b2f02546603fec01213a0194a788c71256f96ac2e1f28d92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/widgets/settings/navigation/bottom_nav_actions_editor_page.dart:70-81 | lib/widgets/settings/viewer/viewer_actions_editor_page.dart:66-77 \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":"lib/widgets/settings/navigation/bottom_nav_actions_editor_page.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b19135d0fbf97e5b3fde2e43e76810a099f3cffc218aa5a6ce7bf02282197f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/widgets/collection/entry_set_action_delegate.dart:840-854 | lib/widgets/explorer/action_delegate.dart:107-122 \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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a70535f818e0e9867942db5403e388abfe75611a966266859be9c759078d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/widgets/dialogs/entry_editors/edit_location_dialog.dart:183-198 | lib/widgets/dialogs/entry_editors/edit_location_dialog.dart:241-256 \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":"lib/widgets/dialogs/entry_editors/edit_location_dialog.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7f68cc4dbcebc51e05f16fc137083e4432c20d414bbaa63f79b01489b248db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/widgets/collection/entry_set_action_delegate.dart:724-732 | lib/widgets/collection/entry_set_action_delegate.dart:761-769 | lib/widgets/collection/entry_set_action_delegate.dart:795-803 \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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb486c8283fddaab41de21096d37835167bb3295ec453f0dbcabf0088badb601"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/widgets/common/basic/insets.dart:16-29 | lib/widgets/common/basic/insets.dart:34-47 \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":"lib/widgets/common/basic/insets.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f171a763547761200c8a65863705cde6962bedda0621b36ffc0215bd9d4a1bf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/services/android_debug_service.dart:84-97 | lib/services/android_debug_service.dart:115-125 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"lib/services/android_debug_service.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d27072d3f4436ced8842e0d6e1c8016747e41cc2bfa2163b410b21a64a32a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): lib/services/media/media_store_service.dart:28-39 | lib/services/media/media_store_service.dart:41-52 | lib/services/media/media_store_service.dart:54-65 | lib/services/security_service.dart:28-39 | lib/services/storage_permission_service.dart:61-72 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 12 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media/media_store_service.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc6ee97ac330888222db1af95b7ca40de6ae42b9cb25cb0c19fc7acbdb7a823"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/widgets/filter_grids/common/action_delegates/album_set.dart:481-489 | lib/widgets/filter_grids/common/action_delegates/tag_set.dart:206-214 \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":"lib/widgets/filter_grids/common/action_delegates/album_set.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3b079cc59d8bb5a03d2bd566ec422cb9dc67597b10dd42d2c1d03368a2d237"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/widgets/settings/navigation/drawer_editor_banner.dart:9-21 | lib/widgets/settings/privacy/access_grants_page.dart:92-104 | lib/widgets/settings/privacy/hidden_items_page.dart:113-125 \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":"lib/widgets/settings/navigation/drawer_editor_banner.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa29d6c228188984d9ab1fd2126050cea55e52672775395add5f2f9b6743f65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/widgets/stats/stats_page.dart:234-248 | lib/widgets/stats/stats_page.dart:250-264 \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":"lib/widgets/stats/stats_page.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"db271060675fdf7d52a32e7731519e636bca7c258e7033081bc4238999ee9714"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/model/source/location/location.dart:41-46 | lib/model/source/tag.dart:27-32 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/model/source/location/location.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4680e14b5de0a53c860ef9fef7aa32cd3a73ffb0b68cd1cbe8dbe6c7821a7a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): lib/services/accessibility_service.dart:32-41 | lib/services/window_service.dart:184-194 | lib/services/window_service.dart:214-224 | lib/services/window_service.dart:226-236 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/accessibility_service.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf658e87785b502ba1996c55cccf6617e01c479f9c2aaee1d35eef3b0c9f82b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/widgets/dialogs/pick_dialogs/location_pick_page.dart:276-285 | lib/widgets/map/address_row.dart:97-106 \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":"lib/widgets/dialogs/pick_dialogs/location_pick_page.dart"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e5fef77067f3f7a63bb39836e53c37561b309dc81709ae4db8bd54b0b425ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/services/android_debug_service.dart:21-29 | lib/services/app_profile_service.dart:78-87 | lib/services/media/media_store_service.dart:67-76 \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":"lib/services/android_debug_service.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a5df54866153c11caad9d1d1a779a214fefea53d68dae9c70ea590917040c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lib/widgets/about/bug_report.dart:89-103 | lib/widgets/about/credits.dart:11-25 | lib/widgets/about/translators.dart:15-29 \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":"lib/widgets/about/bug_report.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"848ead3f04d63841bcd5cd5c3a730205a25de8537abefb47f0c1713499fce3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/widgets/collection/entry_set_action_delegate.dart:644-649 | lib/widgets/collection/entry_set_action_delegate.dart:736-744 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"42617af0a43fc1b5c785217bde2ea75e65088ea85e51855865f55d2a9f1f33ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/widgets/common/identity/icons/textful.dart:37-48 | lib/widgets/common/identity/icons/textful.dart:100-113 \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":"lib/widgets/common/identity/icons/textful.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d809a92148183eeb4fdce5c1a52873abdda5047a84f0b533d04cb49d78860b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/widgets/settings/display/display.dart:32-41 | lib/widgets/settings/navigation/navigation.dart:37-45 \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":"lib/widgets/settings/display/display.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7071882a19c7ccfa8a5007787d1ac552fa05818c92d6c7b2178cfd381269be62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): lib/model/db/db_sqflite.dart:286-294 | lib/model/db/db_sqflite.dart:351-359 | lib/model/db/db_sqflite.dart:399-407 | lib/model/db/db_sqflite.dart:451-459 | lib/model/db/db_sqflite.dart:486-494 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/db/db_sqflite.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc559ab71eafe276bb5696aa441b340fee6badd5bb4e45fb31e4f951370cb7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/widgets/common/search/delegate.dart:58-71 | lib/widgets/viewer/info/info_search_delegate.dart:38-51 \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":"lib/widgets/common/search/delegate.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ea9469ae194c9293ba84cdf6b38d96e6c599997726e866d5145aa254acf6b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/widgets/settings/thumbnails/overlay_page.dart:149-156 | lib/widgets/settings/thumbnails/overlay_page.dart:176-183 \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":"lib/widgets/settings/thumbnails/overlay_page.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc6bf1bb9eee102982cc9ce9625874f812945abb89a938415d8366e2d8b03eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt:395-406 | android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt:408-416 | android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt:418-426 \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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"202cce1e37bf0d0ff447781eec60b7d2f4ac90904089c0721a55672e458ddcb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/locale/calendar/delegate/hijri.dart:77-83 | lib/locale/calendar/delegate/persian.dart:76-82 \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":"lib/locale/calendar/delegate/hijri.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8f996624a776c5237570477a3b2d403e278390d6e63f7dcb9891779d5ef135"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/services/storage_permission_service.dart:74-83 | lib/services/storage_service.dart:71-80 \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":"lib/services/storage_permission_service.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"89234fa7615173a372841245fb66f95d2c0b3cd2ccbb7d089ae1661ff9fef51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/widgets/settings/home_widget_settings_page.dart:277-289 | lib/widgets/settings/viewer/entry_background.dart:22-36 \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":"lib/widgets/settings/home_widget_settings_page.dart"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac79c8608de717056510b1a833e4d7c485e6a7d697e48e2d8da8bf0173ff3ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lib/services/device_service.dart:137-146 | lib/services/window_service.dart:260-269 | lib/services/window_service.dart:271-280 \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":"lib/services/device_service.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8f5daadfa66afcfa6dc1f999a17a8340fda24ce8a92c8b6d2e0b5056b90ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/widgets/viewer/visual/raster.dart:431-438 | lib/widgets/viewer/visual/vector.dart:326-333 \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":"lib/widgets/viewer/visual/raster.dart"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9028e7c5cf5814b5e58bbd6dde9b69bb149aee3f13687808d7d7abaf247ba613"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 14\u002B corresponding lines): lib/ref/metadata/exif.dart:22-35 | lib/ref/metadata/exif.dart:153-166 | lib/ref/metadata/exif.dart:194-207 | lib/ref/metadata/exif.dart:341-354 | lib/ref/metadata/exif.dart:400-413 | lib/ref/metadata/exif.dart:466-479 | lib/ref/metadata/exif.dart:543-556 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ref/metadata/exif.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca7004c477598a4c599c37d9f6502b7977d2b5ac85bb273d9dfcf51c5cd6f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/services/android_debug_service.dart:11-19 | lib/services/android_debug_service.dart:31-39 \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":"lib/services/android_debug_service.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b957400abc2305915f95f9b7afd4d16116d40d54cb589a5af167d10f42720c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/widgets/navigation/tv_rail.dart:270-281 | lib/widgets/search/collection_search_delegate.dart:410-422 | lib/widgets/stats/stats_page.dart:374-385 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"lib/widgets/navigation/tv_rail.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaaad6b99ad1b99913abfeea3a572f3a348f91dbff4b46252469ad5f086f9b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/locale/calendar/delegate/hijri.dart:62-68 | lib/locale/calendar/delegate/persian.dart:61-67 \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":"lib/locale/calendar/delegate/hijri.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3f492210d987699d182e510b1df0d190b395e6452f90f75d268a69540bdf8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/model/filters/container/set_and.dart:39-45 | lib/model/filters/container/set_or.dart:39-45 \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":"lib/model/filters/container/set_and.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec8e90c5260eb74ef1d2663477ddc4188ef58ce8081f61088357972c175fd49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/widgets/dialogs/pick_dialogs/location_pick_page.dart:83-96 | lib/widgets/editor/entry_editor_page.dart:47-58 \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":"lib/widgets/dialogs/pick_dialogs/location_pick_page.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"53710ea08acbc7598bf7d0b4ef44cefb6851329d335c76a37a3f55e3e93859d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/widgets/viewer/visual/raster.dart:64-75 | lib/widgets/viewer/visual/vector.dart:59-70 \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":"lib/widgets/viewer/visual/raster.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2b06911f574773889d2ebe8f7f1384c14e903ad1ab6b4af4c0e4fbc34e83f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 7\u002B corresponding lines): lib/model/db/db_sqflite.dart:409-415 | lib/model/db/db_sqflite.dart:496-502 | lib/model/db/db_sqflite.dart:556-563 | lib/model/db/db_sqflite.dart:646-653 | lib/model/db/db_sqflite.dart:663-671 | lib/model/db/db_sqflite.dart:705-712 | lib/model/db/db_sqflite.dart:722-730 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/db/db_sqflite.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ab2679f2d3df16080b67cc8cb713288221925f694a04a31b9357603f20fbb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): lib/services/accessibility_service.dart:20-28 | lib/services/device_service.dart:126-135 | lib/services/device_service.dart:190-199 | lib/services/window_service.dart:129-138 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/accessibility_service.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"210256b6d89071d639ad66c65303652bd2819f4ec5b382f0ef996abbb758f056"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): lib/services/media/media_edit_service.dart:59-68 | lib/services/security_service.dart:14-26 | lib/services/storage_permission_service.dart:85-94 | lib/services/window_service.dart:282-293 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/media/media_edit_service.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e7c5166602231d345fc51f59d4b7c87168117f8082fb0980d2c8ea0697072b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/widgets/collection/app_bar.dart:639-659 | lib/widgets/filter_grids/common/app_bar.dart:477-493 \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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59a3921009715d72ab6a7e71d6fe244c02039d19ade28b3519d5e9376acb179"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/widgets/filter_grids/common/action_delegates/tag_set.dart:112-128 | lib/widgets/filter_grids/common/action_delegates/country_set.dart:78-90 \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":"lib/widgets/filter_grids/common/action_delegates/tag_set.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8728c6018ebe1c8e178a494433080b2992a4cd76ec51a15787772e95679c1acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/widgets/viewer/visual/controller_mixin.dart:80-100 | lib/widgets/viewer/visual/controller_mixin.dart:102-124 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"lib/widgets/viewer/visual/controller_mixin.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"154231703760519f0db0eca4d418cfac487c7bb493292778975aa4b64a50dbf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/widgets/common/action_controls/togglers/favourite.dart:134-145 | lib/widgets/common/action_controls/togglers/title_search.dart:38-50 \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":"lib/widgets/common/action_controls/togglers/favourite.dart"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df2138ea5816b72a18e89e6c659a7984d12038328b144648017787b3d7ff306"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/widgets/map/map_page.dart:484-491 | lib/widgets/viewer/info/location_section.dart:172-179 \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":"lib/widgets/map/map_page.dart"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ab3ef98f56c2ab64958da50f83dc8f121026012e8dfdbed96cf7450ea9ee18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AccessibilityHandler.kt:28-36 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/window/WindowHandler.kt:51-59 \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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AccessibilityHandler.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8b56797cc1514b01e8b7b4ca612eb03f0928a01e4c941ebd42688ad5161db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/locale/calendar/ops/hijri.dart:36-40 | lib/locale/calendar/ops/persian.dart:34-38 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c045e3bab9ff44622ac559e6e9048ea28fb19b6389290d77dea13f73a4c8bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/widgets/viewer/visual/entry_page_view.dart:163-176 | lib/widgets/viewer/visual/entry_page_view.dart:178-192 \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":"lib/widgets/viewer/visual/entry_page_view.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b69f408352e758cca4f766e736e1efbd3b37ea498361767d81194841093c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/locale/calendar/delegate/hijri.dart:100-105 | lib/locale/calendar/delegate/persian.dart:99-104 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/locale/calendar/delegate/hijri.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3a5b472cb047cb97b9dd6b3af3af813172a1371599c81597ec48f26524cd6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/model/filters/container/set_and.dart:66-69 | lib/model/filters/container/set_or.dart:66-69 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"lib/model/filters/container/set_and.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11f146be6c75bb1d1e479b417ca77574309cfb1cf6f7b2107cd64087559d74c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart:80-87 | lib/widgets/dialogs/entry_editors/rename_entry_dialog.dart:96-101 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef2eb1c92a37166e4f3de146192caba1093ec4c0acce03e9737b4608467c5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/locale/calendar/delegate/hijri.dart:70-75 | lib/locale/calendar/delegate/persian.dart:69-74 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/locale/calendar/delegate/hijri.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeabf396d815047f3190707b505e79b92743006bfe4cdf40a49e20a2f5dd7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/model/filters/container/dynamic_album.dart:22-31 | lib/model/dynamic_albums.dart:152-160 \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":"lib/model/filters/container/dynamic_album.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5b1f34c1844aedbff5ea57fe1482d577c076f061a400b0b180314d84c42679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/widgets/common/behaviour/pop/double_back.dart:21-26 | lib/widgets/common/behaviour/pop/tv_navigation.dart:15-20 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/widgets/common/behaviour/pop/double_back.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9007c2a5f2d22291163ac00cf94d27350cf822624329983faa0391c9bcdc5bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/widgets/about/app_ref.dart:92-99 | lib/widgets/welcome_page.dart:222-229 \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":"lib/widgets/about/app_ref.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcc206f4952a777b8f76673737f8d08a034a27b199280e21923a566eabb537d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/model/filters/aspect_ratio.dart:20-26 | lib/model/filters/covered/location.dart:53-59 \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":"lib/model/filters/aspect_ratio.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"113c69385d8295759d299c6932247198928914f66e4722c0dc4699520afb29c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/widgets/dialogs/filter_editors/create_stored_album_dialog.dart:35-42 | lib/widgets/dialogs/select_storage_dialog.dart:25-31 \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":"lib/widgets/dialogs/filter_editors/create_stored_album_dialog.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"44797a03fd5a9824d1b505f963df7d06a626b053bdddc430903baf70e49d097e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/widgets/viewer/entry_viewer_stack.dart:347-364 | lib/widgets/viewer/panorama_page.dart:82-93 \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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"43712a489b0d382a3ea06ffb265e92440b08ecaa0e1ae0ee21dc73028a6879e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): plugins/aves_video/lib/src/controller_audio.dart:28-36 | plugins/aves_video/lib/src/controller_video.dart:40-50 \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":"plugins/aves_video/lib/src/controller_audio.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1763f7cad9941b260611a3f66feb4a8f863c132a281bbe96145737408e7bc82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/widgets/stats/stats_page.dart:387-394 | lib/widgets/viewer/action/entry_action_delegate.dart:527-534 \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":"lib/widgets/stats/stats_page.dart"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a84383aa6b1e1ea76a125f053eb8164563f9474980475f08223394c485ea6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): plugins/aves_video_mpv/lib/src/controller_audio.dart:137-149 | plugins/aves_video_mpv/lib/src/controller_video.dart:337-349 \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":"plugins/aves_video_mpv/lib/src/controller_audio.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2935f010b41f2be2a848f23b23cb51ca32de820d090c22b8d00aecb8b24d4ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/services/device_service.dart:238-245 | lib/services/media/media_fetch_service.dart:336-343 \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":"lib/services/device_service.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4f483543c47e2de40176c3c6aedb0e578e8a5d6b186553b751c00136cc0ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/widgets/collection/grid/section_layout.dart:38-42 | lib/widgets/filter_grids/common/section_layout.dart:26-30 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"lib/widgets/collection/grid/section_layout.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaa5afd7ea9e6526ebc0f2f369f99d165ea81bbf9d89f2eb0ae8c43feba2af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): lib/services/analysis_service.dart:209-215 | lib/services/app_profile_service.dart:57-65 | lib/services/device_service.dart:181-188 | lib/services/media/media_fetch_service.dart:327-334 | lib/services/media/media_session_service.dart:70-77 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/analysis_service.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c6d6109bf00cc1959016616d9510881e4eff3f28319ec8896899dab1eb0fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/widgets/viewer/visual/entry_page_view.dart:69-77 | lib/widgets/viewer/visual/video/cover.dart:62-70 \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":"lib/widgets/viewer/visual/entry_page_view.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a327cc80fc6514a0c7d48c1857310863a81d8370319df618264c0f2b2fe8e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/widgets/collection/app_bar.dart:734-740 | lib/widgets/filter_grids/common/app_bar.dart:495-501 \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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1de0eeeac71b9101130e29c3c89555171fb84e2fe225e223886940878b749f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): lib/widgets/viewer/multipage/conductor.dart:46-48 | lib/widgets/viewer/video/conductor.dart:72-74 | lib/widgets/viewer/view/conductor.dart:79-81 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/viewer/multipage/conductor.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afce89f90ce6d7bb549bd3d394609106b6c94ec02e200c5b7be41aeace97772"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): lib/widgets/dialogs/filter_editors/create_group_dialog.dart:82-87 | lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart:78-83 | lib/widgets/dialogs/filter_editors/rename_group_dialog.dart:84-89 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 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":"lib/widgets/dialogs/filter_editors/create_group_dialog.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c646adbaf44f901b398c3b2f36d23ab299742cadb01e79d458a0f8373d71ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/model/filters/container/dynamic_album.dart:50-53 | lib/model/filters/container/group_base.dart:32-35 | lib/model/filters/covered/tag.dart:51-54 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"lib/model/filters/container/dynamic_album.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d28a1e5b390f1895d118995457c59a2e053427b2e6f0f32ba7678936efd4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/widgets/viewer/action/video_action_delegate.dart:33-43 | lib/widgets/viewer/video/conductor.dart:26-34 \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":"lib/widgets/viewer/action/video_action_delegate.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aef7ad4e7f303f805be909b7fc5ad365e0935aefa650352583ef29105d9636"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/model/filters/favourite.dart:24-27 | lib/model/filters/recent.dart:30-33 | lib/model/filters/trash.dart:20-23 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"lib/model/filters/favourite.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"594bbc633d13c6f88bc535d84d40c45336ec42108b04864bf0e64b65e32597ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/model/multipage.dart:49-54 | lib/widgets/common/tile_extent_controller.dart:49-57 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/model/multipage.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"50eae4289e3a39785d74b3196df56abfb2e464a492a2ad34b2f118fdc1a153d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/widgets/viewer/multipage/conductor.dart:24-30 | lib/widgets/viewer/view/conductor.dart:26-32 \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":"lib/widgets/viewer/multipage/conductor.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5fe985b93035238525f64a0933369a0291a9055c1ec56268309b1a7fe751b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): lib/model/settings/modules/filter_grids.dart:60-60 | lib/model/settings/modules/history.dart:21-21 | lib/model/settings/modules/privacy.dart:8-8 | lib/model/settings/modules/screen_saver.dart:28-28 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/settings/modules/filter_grids.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe7f155c5bab2d99dc95cb3cbd8a11a3bbdb91dc52e4f10bc48f171f935e9bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/model/settings/modules/privacy.dart:28-28 | lib/model/settings/modules/widget.dart:16-16 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"lib/model/settings/modules/privacy.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9376b79ee4d16d4d37031d678cd2ac0b55e7e9e148fcd9e3380d12951eef52e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): lib/widgets/common/action_controls/quick_choosers/common/menu.dart:65-70 | lib/widgets/common/map/leaflet/map.dart:78-83 | lib/widgets/filter_grids/common/filter_grid_page.dart:506-511 | lib/widgets/map/scroller.dart:35-40 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/action_controls/quick_choosers/common/menu.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b4251fb5b8019be0eb3b0dd0c177eed1b52153ddb07bdddd2aba2a25353c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/widgets/common/grid/sections/layout/fixed_extent_grid_row.dart:43-51 | lib/widgets/common/grid/sections/layout/variable_extent_grid_row.dart:41-48 \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":"lib/widgets/common/grid/sections/layout/fixed_extent_grid_row.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"89795c17c8c8d382039266b1f3a8a9a1d684b31cc094aad63b204db1bbcb06e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/widgets/editor/transform/cropper.dart:100-105 | lib/widgets/viewer/info/info_page.dart:208-213 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8edfb9dcd586d2439574b3b7ac9073dbc63f91f63ef766e4360d99418248e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/widgets/viewer/multipage/conductor.dart:14-22 | lib/widgets/viewer/view/conductor.dart:16-24 | plugins/aves_map/lib/src/controller.dart:26-34 \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":"lib/widgets/viewer/multipage/conductor.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1342d98f319f9ce304555dc18c9b2edca12fdc7cd70124fedea53ac863c800"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/model/filters/container/set_and.dart:63-64 | lib/model/filters/container/set_or.dart:63-64 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"lib/model/filters/container/set_and.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9802ffcd3f9a0da340e5c3ea73559dab4a5405047182b3f74c1a78471e5968"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 2\u002B corresponding lines): lib/model/filters/coordinate.dart:75-76 | lib/model/filters/date.dart:124-125 | lib/model/filters/favourite.dart:47-48 | lib/model/filters/path.dart:69-70 | lib/model/filters/query.dart:108-109 | lib/model/filters/recent.dart:53-54 | lib/model/filters/trash.dart:43-44 | lib/model/filters/weekday.dart:50-51 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 2 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/filters/coordinate.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c8a7788cf78d2e7a63933227f9499f3f41e91bf2daf35ea486c02b4fa94409"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/model/filters/favourite.dart:50-54 | lib/model/filters/filters.dart:172-175 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"lib/model/filters/favourite.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ac19077be3050538e25c113059376e6f6d9d3a7ce691c28f155c3df28e0fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 6\u002B corresponding lines): lib/widgets/common/action_controls/quick_choosers/common/menu.dart:78-83 | lib/widgets/common/grid/selector.dart:69-74 | lib/widgets/common/map/leaflet/map.dart:85-90 | lib/widgets/filter_grids/common/filter_grid_page.dart:521-526 | plugins/aves_services_google/lib/src/map.dart:60-65 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 6 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/action_controls/quick_choosers/common/menu.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"102944112992fbedebc5d4c69901c08a15e027e15a01cfe33297f8585eaa1bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/widgets/editor/image.dart:181-186 | lib/widgets/viewer/visual/entry_page_view.dart:520-526 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/widgets/editor/image.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd619a280f26e37da8d0d8b4e9b7bc08e967003f68b2bc0db0c12aeff087dee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/widgets/editor/image.dart:188-193 | lib/widgets/viewer/visual/entry_page_view.dart:528-534 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"lib/widgets/editor/image.dart"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a44ecc9b9228b52f9641335748476ca093d03e1b5cce901edb7aa4988ee4565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/widgets/viewer/multipage/controller.dart:50-57 | lib/widgets/viewer/view/controller.dart:29-35 \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":"lib/widgets/viewer/multipage/controller.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"880fb59c09bdc5ce07a4f30f4820374d1b1802d9ebbd2a4e65e5d15eef170792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): lib/locale/calendar/delegate/hijri.dart:57-60 | lib/locale/calendar/delegate/persian.dart:56-59 | lib/locale/calendar/ops/gregorian.dart:62-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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":"lib/locale/calendar/delegate/hijri.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e921f147792679d0157f066e3b9c951a7533d00f40603dd1e07f052f782954f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/model/entry/entry.dart:240-241 | lib/model/source/collection_lens.dart:564-565 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"lib/model/entry/entry.dart"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f8fbd91e2fd629a4229d3078a288a8c7afd5703500a163a0e7b424dcdd4ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:308-339 | lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart:280-311 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/pick_dialogs/album_pick_page.dart\u0060 and \u0060lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:308\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":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f021cf66399fd4cbc92afff41c37ff55a6768aa88eece1d4d6bfb9df2f8dede3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): lib/model/db/db_sqflite_upgrade.dart:244-270 | lib/model/db/db_sqflite_upgrade.dart:397-423 \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 \u0060lib/model/db/db_sqflite_upgrade.dart:244\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":"lib/model/db/db_sqflite_upgrade.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5590018eb3e90aa1e5c6d17abd8aae0bc8df6049f72b7a71194626ee31107764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 3): lib/model/db/db_sqflite_upgrade.dart:203-225 | lib/model/db/db_sqflite_upgrade.dart:373-396 | lib/model/db/db_sqflite_upgrade.dart:545-569 \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 \u0060lib/model/db/db_sqflite_upgrade.dart:203\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":"lib/model/db/db_sqflite_upgrade.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa73c7db3a2f36e4ace0e591894b352e23b7fca78f1d82de5d5d53e0bdebfc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): lib/ref/metadata/exif.dart:105-127 | lib/ref/metadata/exif.dart:238-260 | lib/ref/metadata/exif.dart:302-324 \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 \u0060lib/ref/metadata/exif.dart:105\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":"lib/ref/metadata/exif.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdc0123eccc0734d7b3d935060258ba9114d5830d0a61ed9049b7c8ecf88e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): lib/ref/metadata/exif.dart:41-62 | lib/ref/metadata/exif.dart:212-233 | lib/ref/metadata/exif.dart:292-313 \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 \u0060lib/ref/metadata/exif.dart:41\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":"lib/ref/metadata/exif.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a03f820eefa0ebc68885f9c7220f6f3bc88c073bca6431423e7d5aa67aa428f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:125-144 | lib/widgets/dialogs/entry_editors/edit_location_dialog.dart:148-166 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/entry_editors/edit_date_dialog.dart\u0060 and \u0060lib/widgets/dialogs/entry_editors/edit_location_dialog.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:125\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, \u0060lib/widgets/dialogs/entry_editors/edit_location_dialog.dart:147\u0060 calls \u0060SizedBox\u0060 and \u0060lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:125\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":"lib/widgets/dialogs/entry_editors/edit_date_dialog.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a86dd46d12997181f234ef8fcdf589b11e39e899dd37487147dffdd1e3de84a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/widgets/about/about_tv_page.dart:20-38 | lib/widgets/settings/settings_tv_page.dart:15-33 \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 \u0060lib/widgets/about/about_tv_page.dart:20\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":"lib/widgets/about/about_tv_page.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2103ee2b49906c0d21ff7180b096b46c31687c384995896b5436c09bc9c738e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/widgets/collection/app_bar.dart:805-823 | lib/widgets/collection/entry_set_action_delegate.dart:181-199 \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 \u0060lib/widgets/collection/app_bar.dart:805\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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f153fc4381cf86980f07a76651e30692c3ba1da3c51e97066cf71ef06a47b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/widgets/common/grid/sections/calendar/section_layout_builder.dart:44-62 | lib/widgets/common/grid/sections/mosaic/section_layout_builder.dart:47-65 \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 \u0060lib/widgets/common/grid/sections/calendar/section_layout_builder.dart:44\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/widgets/common/grid/sections/calendar/section_layout_builder.dart:42\u0060 calls \u0060computeLineHeight\u0060 and \u0060lib/widgets/common/grid/sections/mosaic/section_layout_builder.dart:46\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":"lib/widgets/common/grid/sections/calendar/section_layout_builder.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30619b84e484d57ce8c5227b1601c441ee22f87de68093ce4f1b7a10474318e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/widgets/viewer/visual/raster.dart:187-205 | lib/widgets/viewer/visual/vector.dart:141-159 \u2014 before extracting anything, compare \u0060lib/widgets/viewer/visual/raster.dart\u0060 and \u0060lib/widgets/viewer/visual/vector.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lib/widgets/viewer/visual/raster.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d56d75de15fe77eab58f8612aa2d8f49ec68ba67de2b42250528c6f2772627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 7): lib/ref/metadata/exif.dart:40-57 | lib/ref/metadata/exif.dart:170-187 | lib/ref/metadata/exif.dart:211-228 | lib/ref/metadata/exif.dart:265-282 | lib/ref/metadata/exif.dart:291-308 | lib/ref/metadata/exif.dart:377-394 | lib/widgets/viewer/info/metadata/model/xmp_ns/photoshop.dart:33-50 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ref/metadata/exif.dart:40\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. 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":"lib/ref/metadata/exif.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5f345731699e109fe851bbbfde90b7b4c9c624a6cedc5784b4043f58a06cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/widgets/collection/entry_set_action_delegate.dart:911-928 | lib/widgets/filter_grids/common/action_delegates/album_set.dart:260-277 \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. 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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cf22253882518907ba1ac37a9c5f56d10f7ea6a7bd503d953a6ac88fb9cc9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/widgets/viewer/entry_viewer_stack.dart:993-1010 | lib/widgets/wallpaper_page.dart:265-282 \u2014 before extracting anything, compare \u0060lib/widgets/viewer/entry_viewer_stack.dart\u0060 and \u0060lib/widgets/wallpaper_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/viewer/entry_viewer_stack.dart:993\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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e505846ff8dfc0900a33254726fab8dc8fc3b537225a86b6cdd1c477855103c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): lib/ref/metadata/exif.dart:39-55 | lib/ref/metadata/exif.dart:169-185 | lib/ref/metadata/exif.dart:210-226 | lib/ref/metadata/exif.dart:264-280 | lib/ref/metadata/exif.dart:290-306 | lib/ref/metadata/exif.dart:376-392 | lib/ref/metadata/exif.dart:444-460 | lib/widgets/viewer/info/metadata/model/xmp_ns/photoshop.dart:32-48 \u2014 there are 8 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 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ref/metadata/exif.dart:39\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. 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":"lib/ref/metadata/exif.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"515889ff1ed94b5858aceb5a089dd0573843593883c99a751bf6a9d7cf8f4ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/widgets/dialogs/pick_dialogs/location_pick_page.dart:189-205 | lib/widgets/map/info_row.dart:42-58 \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 \u0060lib/widgets/dialogs/pick_dialogs/location_pick_page.dart:189\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":"lib/widgets/dialogs/pick_dialogs/location_pick_page.dart"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9873970a4bec9e582fb093d062d5df316b47946aea2d3821ee0abc780d7fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/widgets/viewer/entry_viewer_stack.dart:499-515 | lib/widgets/wallpaper_page.dart:193-209 \u2014 before extracting anything, compare \u0060lib/widgets/viewer/entry_viewer_stack.dart\u0060 and \u0060lib/widgets/wallpaper_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/viewer/entry_viewer_stack.dart:499\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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"933780fd4bf62e72b4dcbb2319753c3b1538354889fbe892355c7806c2f7fd57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/widgets/collection/app_bar.dart:307-322 | lib/widgets/filter_grids/common/app_bar.dart:271-286 \u2014 before extracting anything, compare \u0060lib/widgets/collection/app_bar.dart\u0060 and \u0060lib/widgets/filter_grids/common/app_bar.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/collection/app_bar.dart:307\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d4d2c90e4154ee4b4bb9e1bb0fe81dd62f702835df8bd8f85e628d58969c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/ref/metadata/exif.dart:416-430 | lib/ref/metadata/exif.dart:482-496 | lib/ref/metadata/exif.dart:527-541 \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. 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":"lib/ref/metadata/exif.dart"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f13c23fd3330d1b3630a567fb2ff6c1daa6d4bf8f287b24625ab9e2ba6b371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/services/storage_service.dart:196-210 | lib/services/storage_service.dart:259-273 \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 \u0060lib/services/storage_service.dart:196\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":"lib/services/storage_service.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f752ccd24c09621df31bc2a9a1b9b5fcf067dcfc04652bc9f1ed4bb26775bec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/widgets/collection/grid/list_details_theme.dart:48-62 | lib/widgets/filter_grids/common/list_details_theme.dart:56-69 \u2014 before extracting anything, compare \u0060lib/widgets/collection/grid/list_details_theme.dart\u0060 and \u0060lib/widgets/filter_grids/common/list_details_theme.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/collection/grid/list_details_theme.dart:48\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, \u0060lib/widgets/filter_grids/common/list_details_theme.dart:70\u0060 calls \u0060max\u0060 and \u0060lib/widgets/collection/grid/list_details_theme.dart:63\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":"lib/widgets/collection/grid/list_details_theme.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff7de0aa94b47da759f3aa8e9fa509eeadb288d9bd27ffc5bf559673e0872e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:310-324 | lib/widgets/dialogs/entry_editors/edit_location_dialog.dart:258-272 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/entry_editors/edit_date_dialog.dart\u0060 and \u0060lib/widgets/dialogs/entry_editors/edit_location_dialog.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:310\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":"lib/widgets/dialogs/entry_editors/edit_date_dialog.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a733a610b4a301782134d31df4b77361d29352eb0812a0bbd9bcb63325fa7fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/dialogs/filter_editors/create_dynamic_album_dialog.dart:57-71 | lib/widgets/dialogs/filter_editors/create_stored_album_dialog.dart:124-138 \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 \u0060lib/widgets/dialogs/filter_editors/create_dynamic_album_dialog.dart:57\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060builder\u0060 to \u0060(context, exists, child\u0060 in one and \u0060(context, albumExists, child\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/filter_editors/create_dynamic_album_dialog.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"80693a6909aa67bbebadc5695a30d4ca64ee32f42a3fa5959a8d2dad874e8c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:233-247 | lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart:215-229 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/pick_dialogs/album_pick_page.dart\u0060 and \u0060lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:233\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":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"004f75cf558a50051ddf4ee2a1ee4e07d2935b5368a746f12a0b94b48602507f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:270-284 | lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart:248-262 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/pick_dialogs/album_pick_page.dart\u0060 and \u0060lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c85dfb488328022bcc02d5ce649ce3df6d0dad89b9519e9ea747e761d59fcdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/widgets/viewer/debug/db.dart:140-154 | lib/widgets/viewer/debug/db.dart:159-173 \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 \u0060lib/widgets/viewer/debug/db.dart:140\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":"lib/widgets/viewer/debug/db.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"28299903f454524c0d308f90c67d37b6c0d6221f1eeb4a1687006b6deb9d37ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): lib/widgets/dialogs/entry_editors/manage_media_dialog.dart:63-76 | lib/widgets/dialogs/entry_editors/remove_metadata_dialog.dart:101-114 | lib/widgets/dialogs/entry_editors/rename_entry_dialog.dart:74-87 | lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart:56-69 | lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart:60-73 | lib/widgets/dialogs/filter_editors/rename_tag_dialog.dart:56-69 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart\u0060 and \u0060lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/entry_editors/manage_media_dialog.dart:63\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":"lib/widgets/dialogs/entry_editors/manage_media_dialog.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a940ce74e5fc70e8254f59b30ce147722e2a9c106124f3cb3b82bce0a6e052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/model/source/location/location.dart:102-115 | lib/model/source/location/location.dart:187-200 | lib/model/source/tag.dart:74-87 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/model/source/location/location.dart:102\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 \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":"lib/model/source/location/location.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6992db930c35cc1f2e0970840563de1675d3db56cc384ea9c0fc3edeb400acdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/widgets/debug/settings.dart:67-80 | lib/widgets/debug/settings.dart:84-97 | lib/widgets/debug/settings.dart:100-113 \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 \u0060lib/widgets/debug/settings.dart:67\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":"lib/widgets/debug/settings.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f276c980cdb82d19531d9ffd18242fbd5263227cfd2c03038fa0e6ea20ff04a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/widgets/debug/settings.dart:118-131 | lib/widgets/debug/settings.dart:136-149 | lib/widgets/debug/settings.dart:153-166 \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 \u0060lib/widgets/debug/settings.dart:118\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":"lib/widgets/debug/settings.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ca6c98d1a81f6abddbc4381b184ba1f74e747281f91560482d375d33fa2e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:127-139 | lib/widgets/dialogs/entry_editors/edit_location_dialog.dart:149-161 | lib/widgets/dialogs/filter_editors/rename_group_dialog.dart:63-76 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/entry_editors/edit_date_dialog.dart\u0060 and \u0060lib/widgets/dialogs/entry_editors/edit_location_dialog.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:127\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. 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, \u0060lib/widgets/dialogs/entry_editors/edit_location_dialog.dart:147\u0060 calls \u0060SizedBox\u0060 and \u0060lib/widgets/dialogs/entry_editors/edit_date_dialog.dart:125\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":"lib/widgets/dialogs/entry_editors/edit_date_dialog.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc3428c2f627b229363de4b34e822ca46d8705896d08e19b37409d165c38db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/services/android_debug_service.dart:69-82 | lib/services/android_debug_service.dart:100-113 \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":"lib/services/android_debug_service.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4558855c8ea81f2f62657dbaf106107e60279bc61d173795eaf9daaa6497c767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/widgets/navigation/nav_item.dart:146-159 | plugins/aves_map/lib/src/style.dart:30-43 \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. 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":"lib/widgets/navigation/nav_item.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"54937edda8ef7d03945304a55702527ffc54fb960bd0c4e0798dcfe72c381fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/widgets/viewer/info/basic_section.dart:146-158 | lib/widgets/viewer/info/location_section.dart:129-142 \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 \u0060lib/widgets/viewer/info/location_section.dart:129\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":"lib/widgets/viewer/info/basic_section.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae06481679e8507637feb8104106c283fbf84cc95c9a85c1f2da89882a86ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): lib/widgets/dialogs/filter_editors/create_group_dialog.dart:55-67 | lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart:50-62 | lib/widgets/dialogs/filter_editors/rename_group_dialog.dart:57-69 | lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart:54-66 | lib/widgets/dialogs/filter_editors/rename_tag_dialog.dart:50-62 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/filter_editors/create_group_dialog.dart\u0060 and \u0060lib/widgets/dialogs/filter_editors/rename_group_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/filter_editors/create_group_dialog.dart:55\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":"lib/widgets/dialogs/filter_editors/create_group_dialog.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c587367c0adce772bd9ae26bed6f771fd6217034c049cd797edec9fa34979e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/intent_service.dart:62-74 | lib/services/storage_permission_service.dart:133-145 \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 \u0060lib/services/intent_service.dart:62\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":"lib/services/intent_service.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"546833254d30be462ddf21952e3e2905084c7f9eac908ab984ff4fe7f3fe2f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/services/storage_permission_service.dart:108-120 | lib/services/storage_service.dart:265-277 \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 \u0060lib/services/storage_permission_service.dart:108\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":"lib/services/storage_permission_service.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d3e34e189bb88742391d49044c09e64c6e5ff49af4b151d96a238a325c317d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/widgets/collection/app_bar.dart:106-118 | lib/widgets/filter_grids/common/app_bar.dart:103-115 \u2014 before extracting anything, compare \u0060lib/widgets/collection/app_bar.dart\u0060 and \u0060lib/widgets/filter_grids/common/app_bar.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/collection/app_bar.dart:106\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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"92efa11615f077c05d7fda013cc51a63b0b4d45e2428239e0f4c4d0b370cb541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/widgets/collection/collection_grid.dart:227-239 | lib/widgets/filter_grids/common/filter_grid_page.dart:391-403 \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 \u0060lib/widgets/collection/collection_grid.dart:227\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":"lib/widgets/collection/collection_grid.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6294cc521a0757068c3114be33f71aff0eab5c4f7b16e63c539d8cde34e687e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/widgets/viewer/entry_viewer_stack.dart:470-482 | lib/widgets/wallpaper_page.dart:173-185 \u2014 before extracting anything, compare \u0060lib/widgets/viewer/entry_viewer_stack.dart\u0060 and \u0060lib/widgets/wallpaper_page.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/viewer/entry_viewer_stack.dart:470\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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df3e30399ad8123ad412f9ada9b6f1d275feaa4773aa8a7657f3624160db5e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:230-241 | lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart:212-223 | lib/widgets/filter_grids/common/app_bar.dart:319-330 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/pick_dialogs/album_pick_page.dart\u0060 and \u0060lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:230\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":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a69c2c3fb0afe7f2c235c63d38aa77af4f24f6eeef90860a7b5e7a445c265c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/widgets/filter_grids/countries_page.dart:60-73 | lib/widgets/filter_grids/places_page.dart:60-73 | lib/widgets/filter_grids/states_page.dart:67-80 \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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/filter_grids/countries_page.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b988ff7e45fb8a00250a998112becc0722a627d8f13e533d747de2c1b90c975a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/android_debug_service.dart:55-66 | lib/services/android_debug_service.dart:128-139 \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":"lib/services/android_debug_service.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"41345e9d4c1417b802c24524f24debe1977ab7e17e5538bd198e2778c2d5de68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/app_service.dart:98-109 | lib/services/app_service.dart:205-216 \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 \u0060lib/services/app_service.dart:98\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":"lib/services/app_service.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e14812760c3d96b823bf03b7b906a746ad6ae642d3210dd23ed31f52695edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/media/embedded_data_service.dart:30-41 | lib/services/media/embedded_data_service.dart:59-70 \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 \u0060lib/services/media/embedded_data_service.dart:30\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":"lib/services/media/embedded_data_service.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"946d1aebbeb0b1aa5de82ba9c217ebff9b1c03740af6475640d54a04dbeafd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/services/storage_permission_service.dart:104-115 | lib/services/storage_permission_service.dart:168-179 \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 \u0060lib/services/storage_permission_service.dart:104\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":"lib/services/storage_permission_service.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1365ae468f50219a6ddb7580554fc40880fdf1cec6f21641aa5abe5a388bc5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/widgets/about/bug_report.dart:47-58 | lib/widgets/about/data_usage.dart:38-49 \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 \u0060lib/widgets/about/bug_report.dart:47\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":"lib/widgets/about/bug_report.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df0d6ecfa9a19b82d3e735edc3254690b918868995e86842475fbc5f9911e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/widgets/collection/entry_set_action_delegate.dart:506-517 | lib/widgets/stats/top_page.dart:109-120 \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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"734167b44ec63743b2dabc99c0d38127f95e75f36bc32988ebe023a6ff7c1243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/widgets/common/behaviour/eager_scale_gesture_recognizer.dart:426-437 | lib/widgets/common/behaviour/eager_scale_gesture_recognizer.dart:561-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/behaviour/eager_scale_gesture_recognizer.dart"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9195841e7b3faaec957bf218fdd5bd7d35e9968313ed565129f92823553e673b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/widgets/common/grid/sections/fixed/section_layout_builder.dart:29-40 | lib/widgets/common/grid/sections/mosaic/section_layout_builder.dart:45-56 \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 \u0060lib/widgets/common/grid/sections/fixed/section_layout_builder.dart:29\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":"lib/widgets/common/grid/sections/fixed/section_layout_builder.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb71bec93d2d693e4827b54a312e42ef2913c5e7f4cb6a5354d0682f8126bcde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:371-382 | lib/widgets/filter_grids/common/action_delegates/album_set.dart:211-222 \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 \u0060lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:371\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":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eb036cc4f16db6697e0fc3a8361dbdc4217b3cddf36d9efa038805a617cf0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/widgets/home_widget.dart:86-97 | lib/widgets/viewer/overlay/bottom/wallpaper_buttons.dart:178-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/home_widget.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"543a4edb6cbfb3a4f6c8efc87aa3518f3e48b0fd319db82fba61df6e3017de33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): plugins/aves_video_mpv/lib/src/controller_audio.dart:66-77 | plugins/aves_video_mpv/lib/src/controller_video.dart:116-127 \u2014 before extracting anything, compare \u0060plugins/aves_video_mpv/lib/src/controller_audio.dart\u0060 and \u0060plugins/aves_video_mpv/lib/src/controller_video.dart\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plugins/aves_video_mpv/lib/src/controller_audio.dart:66\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060plugins/aves_video_mpv/lib/src/controller_video.dart:110\u0060 calls \u0060notify\u0060 and \u0060plugins/aves_video_mpv/lib/src/controller_audio.dart:60\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":"plugins/aves_video_mpv/lib/src/controller_audio.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8618a88975b4591381776797c111b3fd0b0bcf268d7c6df5f7d959608b5cf8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): lib/widgets/debug/database.dart:109-119 | lib/widgets/debug/database.dart:134-144 | lib/widgets/debug/database.dart:159-169 | lib/widgets/debug/database.dart:180-190 | lib/widgets/debug/database.dart:301-311 | lib/widgets/debug/database.dart:322-332 \u2014 all 6 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 \u0060lib/widgets/debug/database.dart: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. 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":"lib/widgets/debug/database.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"11299482a0e33db18a4a3ae96776f95a57f1caefe187f214852397eb311cd54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): lib/model/source/location/country.dart:11-21 | lib/model/source/location/place.dart:11-21 | lib/model/source/location/state.dart:11-21 | lib/model/source/tag.dart:106-116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/model/source/location/country.dart:11\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. 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":"lib/model/source/location/country.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2964e1b93cfae0731dc862762e45d00bf3a2717d6976918097103b442887399c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): lib/services/media/embedded_data_service.dart:45-55 | lib/services/media/embedded_data_service.dart:74-84 | lib/services/media/embedded_data_service.dart:88-98 | lib/services/media/embedded_data_service.dart:117-127 \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 \u0060lib/services/media/embedded_data_service.dart:45\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":"lib/services/media/embedded_data_service.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5d61fce0d7033e4f8c6d94d78bdd11ee56d9c6c23e3c40abd01298a4390997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/widgets/collection/collection_page.dart:139-149 | lib/widgets/explorer/page.dart:124-134 | lib/widgets/filter_grids/common/filter_grid_page.dart:143-153 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/collection/collection_page.dart:139\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, \u0060lib/widgets/collection/collection_page.dart:150\u0060 calls \u0060_buildFab\u0060 and \u0060lib/widgets/explorer/page.dart:135\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":"lib/widgets/collection/collection_page.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a59bdc9692f30d04c4df7091b337afa516c0b42a854d576a3e7e4b8a691250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/model/covers.dart:214-223 | lib/model/covers.dart:236-246 \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 \u0060lib/model/covers.dart:236\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":"lib/model/covers.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"555ee233170168901f62c6367e360cc7baf880836a5d647adf8c0154015d9ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/model/source/trash.dart:51-61 | lib/model/vaults/vaults.dart:182-192 \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 \u0060lib/model/source/trash.dart:51\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, \u0060lib/model/source/trash.dart:50\u0060 calls \u0060join\u0060 and \u0060lib/model/vaults/vaults.dart:181\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":"lib/model/source/trash.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a0a01100c162261fedefb156e4198ab566832991a9d0340d1c977127ab0c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/model/source/trash.dart:91-101 | lib/model/vaults/vaults.dart:199-208 \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 \u0060lib/model/source/trash.dart:91\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":"lib/model/source/trash.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8755557e9af4b67c4f1581f7ebc8565181af8c114c4ef8d0a530432d606a0b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/services/android_debug_service.dart:42-52 | lib/services/android_debug_service.dart:144-153 \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 \u0060lib/services/android_debug_service.dart:144\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":"lib/services/android_debug_service.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67d10bd2e2eacd0dafd673a7f19615ff1ab686d311e0b02c185d0f29eb6c024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/services/metadata/metadata_edit_service.dart:48-58 | lib/services/metadata/metadata_edit_service.dart:98-107 \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":"lib/services/metadata/metadata_edit_service.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bc384bf69d0e914e40f448e5a8722b7facfdba0c8e14bd5c185b6c1a0a9584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/dialogs/filter_editors/cover_selection_dialog.dart:260-270 | lib/widgets/dialogs/filter_editors/cover_selection_dialog.dart:302-312 \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 \u0060lib/widgets/dialogs/filter_editors/cover_selection_dialog.dart:260\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":"lib/widgets/dialogs/filter_editors/cover_selection_dialog.dart"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6079bd042f2c482df7103e1061b9befc4bd2d1495234f6ef3a44c28ece08b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/explorer/app_bar.dart:219-229 | lib/widgets/explorer/page.dart:192-202 \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":"lib/widgets/explorer/app_bar.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c6c61016695cf6d4f4fde9c3cb07d5e7378509fa9cca50637829c83dcabece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/viewer/info/metadata/model/xmp_card_data.dart:38-48 | lib/widgets/viewer/info/metadata/model/xmp_card_data.dart:59-69 \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 \u0060lib/widgets/viewer/info/metadata/model/xmp_card_data.dart:38\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":"lib/widgets/viewer/info/metadata/model/xmp_card_data.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bf0733c4b0f12bca5cb06561bef8c4f21c97c2e4d1eabac2d14e3b9973adf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/widgets/viewer/visual/raster.dart:334-344 | lib/widgets/viewer/visual/vector.dart:267-277 \u2014 before extracting anything, compare \u0060lib/widgets/viewer/visual/raster.dart\u0060 and \u0060lib/widgets/viewer/visual/vector.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/viewer/visual/raster.dart:334\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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060displayHeight\u0060 to \u0060int\u0060 in one and \u0060double\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/viewer/visual/raster.dart"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e749a8b238885e6e446f0ebf7272ac4a07b880ec8135f9060ff92c865d4ca21c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): plugins/aves_services_google/lib/aves_services_platform.dart:33-43 | plugins/aves_services_none/lib/aves_services_platform.dart:19-29 \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 \u0060plugins/aves_services_google/lib/aves_services_platform.dart:33\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":"plugins/aves_services_google/lib/aves_services_platform.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a9a3aea90d3faf30193a8e4dbbb5af5193cd0df5569cd2ffe2b6a7d87b413d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): plugins/aves_video/lib/src/controller_audio.dart:50-60 | plugins/aves_video/lib/src/controller_video.dart:87-97 \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":"plugins/aves_video/lib/src/controller_audio.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"43460a4f050fbd80d4473b95c87233216e823073d1992941786e635660971b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/model/media/geotiff.dart:97-106 | lib/widgets/home_widget.dart:89-98 | lib/widgets/viewer/overlay/bottom/wallpaper_buttons.dart:181-190 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/model/media/geotiff.dart:97\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":"lib/model/media/geotiff.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2ed71e24a35e2ebe8cc7d72e1e08dfa169074c04a74983903660b93f34ec18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/widgets/collection/entry_set_action_delegate.dart:509-518 | lib/widgets/stats/top_page.dart:112-121 | lib/widgets/viewer/action/entry_info_action_delegate.dart:225-234 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/collection/entry_set_action_delegate.dart:509\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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6e83a01dbf11d15ab7b5a6a8e404a5b8b71774b70f60e063242a8d04ac7ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart:38-47 | lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart:42-51 | lib/widgets/dialogs/filter_editors/rename_tag_dialog.dart:38-47 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart\u0060 and \u0060lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart:38\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":"lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"854e1d355a524815f069b28da78509e291ba52d2485e2a832a7e64aaba505fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/model/source/location/location.dart:86-95 | lib/model/source/location/location.dart:165-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/model/source/location/location.dart: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. 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, \u0060lib/model/source/location/location.dart:85\u0060 calls \u0060countryCodeMap\u0060, \u0060toSet\u0060 and \u0060lib/model/source/location/location.dart:163\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":"lib/model/source/location/location.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"49747401c30ca250973acbd534164b7ae2054e7e2755a47e2429a7387490b065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/analysis_service.dart:25-34 | lib/services/global_search.dart:19-28 \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":"lib/services/analysis_service.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5132d7194ee8d48a204a016dcb3cd0df44e7f994b7e94a2bae9a0ca31d6139c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/media/media_store_service.dart:30-39 | lib/services/media/media_store_service.dart:43-52 \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":"lib/services/media/media_store_service.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"26052f5ae51d59039aaaa56c48f8ecd3395eb996afdb090dac2cda336de5ca86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/metadata/metadata_fetch_service.dart:53-62 | lib/services/metadata/metadata_fetch_service.dart:68-77 \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 \u0060lib/services/metadata/metadata_fetch_service.dart:68\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":"lib/services/metadata/metadata_fetch_service.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01e9fe738ccb98ffac1e4a24e84193f456fd3e0c9cbaf9d8a4b280584b203a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/widgets/collection/app_bar.dart:296-305 | lib/widgets/filter_grids/common/app_bar.dart:260-269 \u2014 before extracting anything, compare \u0060lib/widgets/collection/app_bar.dart\u0060 and \u0060lib/widgets/filter_grids/common/app_bar.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/collection/app_bar.dart:296\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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"33db23f89ab06cb4df9e713ac7bab60d6ee7d75737128cd4b48205c52e92c649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/widgets/collection/grid/list_details_theme.dart:21-29 | lib/widgets/filter_grids/common/list_details_theme.dart:30-39 \u2014 before extracting anything, compare \u0060lib/widgets/collection/grid/list_details_theme.dart\u0060 and \u0060lib/widgets/filter_grids/common/list_details_theme.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/collection/grid/list_details_theme.dart:21\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":"lib/widgets/collection/grid/list_details_theme.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"18332b904b5e73f7b0941141536c0d76113dec3d7cdd7a9e3b2c327518d542d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): lib/widgets/collection/grid/list_details_theme.dart:37-46 | lib/widgets/filter_grids/common/list_details_theme.dart:48-54 \u2014 before extracting anything, compare \u0060lib/widgets/collection/grid/list_details_theme.dart\u0060 and \u0060lib/widgets/filter_grids/common/list_details_theme.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/collection/grid/list_details_theme.dart:37\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":"lib/widgets/collection/grid/list_details_theme.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1de3ebd17acac635d16450e8105fc0494415329b457a216c12a8d1d4707ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/widgets/settings/thumbnails/collection_actions_editor_page.dart:83-92 | lib/widgets/viewer/debug/debug_page.dart:37-46 \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 \u0060lib/widgets/settings/thumbnails/collection_actions_editor_page.dart:83\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":"lib/widgets/settings/thumbnails/collection_actions_editor_page.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f5d2eb58e53afe175209b9fe3f60e922c72e3b1484b0b1c15186a915afe36c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): lib/widgets/viewer/debug/db.dart:83-90 | lib/widgets/viewer/debug/db.dart:138-146 | lib/widgets/viewer/debug/db.dart:157-165 | lib/widgets/viewer/debug/db.dart:176-183 | lib/widgets/viewer/debug/db.dart:207-215 \u2014 all 5 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 \u0060lib/widgets/viewer/debug/db.dart:83\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. 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":"lib/widgets/viewer/debug/db.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"793a11c5086f92a83f5808cb0eced113f2e08e330601e505ae0e17fe9698962e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/model/source/album.dart:124-133 | lib/model/source/location/place.dart:13-21 \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 \u0060lib/model/source/album.dart:124\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. 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":"lib/model/source/album.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0733c6b5d2d4c5d3c569503c1e5e15fd5e892157ee213f4d9aca179198e99c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/model/source/location/location.dart:75-83 | lib/model/source/location/location.dart:155-163 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/model/source/location/location.dart:85\u0060 calls \u0060countryCodeMap\u0060, \u0060toSet\u0060 and \u0060lib/model/source/location/location.dart:165\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":"lib/model/source/location/location.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e936e99e5f302c09cde67c4bac695299ada791b2faae781636f438eb21ffc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/about/tv_license_page.dart:105-113 | lib/widgets/viewer/info/metadata/tv_page.dart:91-99 \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 \u0060lib/widgets/about/tv_license_page.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":"lib/widgets/about/tv_license_page.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"456b4d7b8803bf0a42d86a9532c21670d8b0c5ead61e8c166ffc67e7ddc8935f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/common/action_controls/togglers/mute.dart:20-28 | lib/widgets/common/action_controls/togglers/mute.dart:57-65 \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 \u0060lib/widgets/common/action_controls/togglers/mute.dart:20\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":"lib/widgets/common/action_controls/togglers/mute.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f499c9c4ee54e2b9517e2d6739a9ff4950cd65c3efd827504e91fb3f5301acb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:201-209 | lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart:183-191 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/pick_dialogs/album_pick_page.dart\u0060 and \u0060lib/widgets/dialogs/pick_dialogs/tag_pick_page.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/dialogs/pick_dialogs/album_pick_page.dart:201\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":"lib/widgets/dialogs/pick_dialogs/album_pick_page.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcf579f7dd474fafc5d5df47abd025f7e7e66d0052670a8bd12ca4e998eb60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/dialogs/selection_dialogs/multi_selection.dart:40-48 | lib/widgets/dialogs/selection_dialogs/single_selection.dart:61-69 \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 \u0060lib/widgets/dialogs/selection_dialogs/multi_selection.dart:40\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":"lib/widgets/dialogs/selection_dialogs/multi_selection.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"48acf21466a0590071fb91f68741c950baef9dfa858e2d2301284659fb55504e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/viewer/overlay/bottom/video/progress_bar.dart:73-81 | lib/widgets/viewer/overlay/bottom/video/slow_motion_bar.dart:54-62 \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 \u0060lib/widgets/viewer/overlay/bottom/video/progress_bar.dart:73\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":"lib/widgets/viewer/overlay/bottom/video/progress_bar.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2d2c97ba3c02977658036640458e979c066b28672a0e16f6ced11bea21f511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/viewer/overlay/top/details/details.dart:293-301 | lib/widgets/viewer/overlay/top/details/details.dart:316-324 \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 \u0060lib/widgets/viewer/overlay/top/details/details.dart:293\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":"lib/widgets/viewer/overlay/top/details/details.dart"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b60b215ee63d5225780fd5af5aca9bc96b729ba825521fbdf2e107b4303d898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): lib/widgets/debug/database.dart:108-115 | lib/widgets/debug/database.dart:133-140 | lib/widgets/debug/database.dart:158-165 | lib/widgets/debug/database.dart:179-186 | lib/widgets/debug/database.dart:200-207 | lib/widgets/debug/database.dart:221-228 | lib/widgets/debug/database.dart:242-249 | lib/widgets/debug/database.dart:271-278 | lib/widgets/debug/database.dart:300-307 | lib/widgets/debug/database.dart:321-328 \u2014 all 10 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 \u0060lib/widgets/debug/database.dart:108\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":"lib/widgets/debug/database.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b7a87bca281a972303a3dedf49428f3c76f2e22bb8bc5b3b46efe1015869e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/app_service.dart:94-101 | lib/services/app_service.dart:143-150 \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 \u0060lib/services/app_service.dart:94\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/services/app_service.dart:103\u0060 calls \u0060TooManyItemsException\u0060 and \u0060lib/services/app_service.dart:151\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":"lib/services/app_service.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ac38bab3fa4e8c6a520c6fa553f0abedeb96f993e4de2a1f5db67603789fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/device_service.dart:69-76 | lib/services/intent_service.dart:14-22 \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":"lib/services/device_service.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"110870f0e2aff55778e4a54d7a1526db189b5dc05171b5ea44bd3c4c83360948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/services/media/media_edit_service.dart:105-112 | lib/services/media/media_edit_service.dart:155-162 \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 \u0060lib/services/media/media_edit_service.dart:105\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":"lib/services/media/media_edit_service.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"08435cbb9830feed098d27790fceb99173c3f0c38234146b21a3747137d37643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/common/action_mixins/entry_storage.dart:87-95 | lib/widgets/common/action_mixins/entry_storage.dart:258-266 \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 \u0060lib/widgets/common/action_mixins/entry_storage.dart:87\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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d3c3db6904b54b1c8e8fd3630f38a6761a3dbf58d010dac18e9fe7c30ac502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/common/grid/sections/layout/fixed_extent_grid_row.dart:30-37 | lib/widgets/common/grid/sections/layout/fixed_extent_grid_row.dart:146-153 \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":"lib/widgets/common/grid/sections/layout/fixed_extent_grid_row.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0accba94d1b9b40500d819362a4f12155c72c8e45f13e06a33d671c3239379c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/viewer/info/metadata/cards/json.dart:43-50 | lib/widgets/viewer/info/metadata/cards/json.dart:73-80 \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 \u0060lib/widgets/viewer/info/metadata/cards/json.dart:43\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":"lib/widgets/viewer/info/metadata/cards/json.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae10cef4631718114e46247e09b04024cad40283d8d68ef5839f565820725bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/collection/collection_grid.dart:521-528 | lib/widgets/filter_grids/common/filter_grid_page.dart:697-704 \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 \u0060lib/widgets/collection/collection_grid.dart:521\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":"lib/widgets/collection/collection_grid.dart"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89201ebf7812a6d0d146b153935e21ec13d807cb47c175790434de44c02ff7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/common/action_mixins/entry_storage.dart:295-301 | lib/widgets/common/action_mixins/entry_storage.dart:458-464 \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 \u0060lib/widgets/common/action_mixins/entry_storage.dart:295\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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"af12c9216c80194c7ff5d8628205062c827af7509b664cc3a07ea39b9fa338fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/stats/filter_table.dart:30-36 | lib/widgets/stats/top_page.dart:82-88 \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":"lib/widgets/stats/filter_table.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8dabbe0deaae2df2e27e422f21a9d89387f0c5b752d8b1a6b343d0ab0b64fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/model/source/collection_source.dart:414-419 | lib/model/source/collection_source.dart:456-461 \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 \u0060lib/model/source/collection_source.dart:414\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":"lib/model/source/collection_source.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d9ba8cdb71d4ffe69fa42b1d0796d007a3d76ddacb3b16604664e18ac3925b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/widgets/collection/app_bar.dart:497-502 | lib/widgets/filter_grids/common/app_bar.dart:412-417 \u2014 before extracting anything, compare \u0060lib/widgets/collection/app_bar.dart\u0060 and \u0060lib/widgets/filter_grids/common/app_bar.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/collection/app_bar.dart:497\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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4483717e7b991e548b3715584b3f58f7a472660333ed3ff241dbaf297850408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/common/grid/sections/layout/fixed_extent_sectioned_list_layout.dart:19-25 | lib/widgets/common/grid/sections/layout/variable_extent_sectioned_list_layout.dart:15-21 \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 \u0060lib/widgets/common/grid/sections/layout/fixed_extent_sectioned_list_layout.dart:19\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":"lib/widgets/common/grid/sections/layout/fixed_extent_sectioned_list_layout.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e095bb6a1d41fc21d4505db004bd0547ff4f7c3a6830b6df703bd57c694c5b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/widgets/common/identity/aves_logo.dart:68-73 | lib/widgets/common/identity/aves_logo.dart:100-105 \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, \u0060lib/widgets/common/identity/aves_logo.dart:74\u0060 calls \u0060elliptical\u0060 and \u0060lib/widgets/common/identity/aves_logo.dart:106\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":"lib/widgets/common/identity/aves_logo.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"557aac0c0334f0d35a1ecdf3f60ad537592d181102245871fa55312666d42064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/filter_grids/places_page.dart:30-36 | lib/widgets/filter_grids/states_page.dart:36-42 \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 \u0060lib/widgets/filter_grids/places_page.dart:30\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. 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":"lib/widgets/filter_grids/places_page.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4a92a1e6db9781b806cc0ba4103947d9d5d2bb26290479bf6dfec23e0399cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): lib/widgets/viewer/overlay/bottom/wallpaper_buttons.dart:153-159 | lib/widgets/viewer/visual/raster.dart:351-356 \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 \u0060lib/widgets/viewer/overlay/bottom/wallpaper_buttons.dart:153\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":"lib/widgets/viewer/overlay/bottom/wallpaper_buttons.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ade51ad4f788b13af945c6d9d8c9b2cc1ce3dcb49afb5cfd94a900eecb398a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/widgets/viewer/visual/raster.dart:409-414 | lib/widgets/viewer/visual/vector.dart:304-309 \u2014 before extracting anything, compare \u0060lib/widgets/viewer/visual/raster.dart\u0060 and \u0060lib/widgets/viewer/visual/vector.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/viewer/visual/raster.dart:409\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":"lib/widgets/viewer/visual/raster.dart"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"862dcbc4bbdf1e2578a276a8e7466e6cec97a946e3c574c655db92cb9c5b0620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): lib/widgets/collection/entry_set_action_delegate.dart:365-368 | lib/widgets/common/action_mixins/entry_storage.dart:297-301 | lib/widgets/common/action_mixins/entry_storage.dart:460-464 | lib/widgets/filter_grids/common/action_delegates/album_set.dart:527-531 \u2014 there are 4 copies across 3 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/collection/entry_set_action_delegate.dart:365\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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"468859ffc27d81ccad01da4c9a3f742acf1e5df6300cbabc05ffd7b168979e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/widgets/common/identity/aves_logo.dart:68-72 | lib/widgets/common/identity/aves_logo.dart:81-85 | lib/widgets/common/identity/aves_logo.dart:100-104 \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, \u0060lib/widgets/common/identity/aves_logo.dart:73\u0060 calls \u0060lineTo\u0060 and \u0060lib/widgets/common/identity/aves_logo.dart:86\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":"lib/widgets/common/identity/aves_logo.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"00855f176dba9f105581b18778af8f0c14d27eefbc4e4d13eaa77455dd42e4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 5): lib/widgets/filter_grids/albums_page.dart:49-51 | lib/widgets/filter_grids/countries_page.dart:27-31 | lib/widgets/filter_grids/places_page.dart:27-31 | lib/widgets/filter_grids/states_page.dart:33-37 | lib/widgets/filter_grids/tags_page.dart:44-46 \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 all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/widgets/filter_grids/albums_page.dart:49\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. 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 after the matched lines, \u0060lib/widgets/filter_grids/albums_page.dart:51\u0060 calls \u0060DeepCollectionEquality\u0060, \u0060equals\u0060 and \u0060lib/widgets/filter_grids/countries_page.dart:31\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":"lib/widgets/filter_grids/albums_page.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46c006a0036e707a999da03cf3820cce1eca9aa2c7bd12cc757ca6506962be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/device_service.dart:203-212 | lib/services/device_service.dart:216-225 \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":"lib/services/device_service.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0db187d82a8f96a122496ca08c7dd3843891266a18131ad1a4a36bdd06bd833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/services/metadata/metadata_edit_service.dart:114-119 | lib/services/metadata/metadata_fetch_service.dart:284-289 \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 \u0060lib/services/metadata/metadata_edit_service.dart:114\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":"lib/services/metadata/metadata_edit_service.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d174feea901b44345b41a54515bf0ea77b4a65ec209fc78d3376f2cb7dbcedef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/services/metadata/metadata_fetch_service.dart:124-134 | lib/services/metadata/metadata_fetch_service.dart:280-284 \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 \u0060lib/services/metadata/metadata_fetch_service.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":"lib/services/metadata/metadata_fetch_service.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfe3bcf8af927bec69db8ae53077d33f747e38ddbb0586b300f343859ff6896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/widgets/viewer/info/metadata/cards/json.dart:54-58 | lib/widgets/viewer/info/metadata/cards/json.dart:83-87 \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 \u0060lib/widgets/viewer/info/metadata/cards/json.dart:54\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":"lib/widgets/viewer/info/metadata/cards/json.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9c283f8498bb161bf8ec15b6d4b00322bc95327f337923734a9811dcbe19d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/widgets/viewer/visual/video/subtitle/ass_parser.dart:490-495 | lib/widgets/viewer/visual/video/subtitle/ass_parser.dart:504-509 \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 \u0060lib/widgets/viewer/visual/video/subtitle/ass_parser.dart:490\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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c165dbaa708401bdff6de52a40677d6829167070c881dbf394b4b3874ec38b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/locale/calendar/ops/hijri.dart:60-65 | lib/locale/calendar/ops/persian.dart:58-63 \u2014 before extracting anything, compare \u0060lib/locale/calendar/ops/hijri.dart\u0060 and \u0060lib/locale/calendar/ops/persian.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"de719da0eb5f1eb6156ed9e0acc5dd0effdd24f599cb986b14a1547047670d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/locale/calendar/ops/hijri.dart:67-72 | lib/locale/calendar/ops/persian.dart:65-70 \u2014 before extracting anything, compare \u0060lib/locale/calendar/ops/hijri.dart\u0060 and \u0060lib/locale/calendar/ops/persian.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afae68883905b46f49632f8bdec488ab36556a037d5befffdab2a9c6942c33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/locale/calendar/ops/hijri.dart:74-79 | lib/locale/calendar/ops/persian.dart:72-77 \u2014 before extracting anything, compare \u0060lib/locale/calendar/ops/hijri.dart\u0060 and \u0060lib/locale/calendar/ops/persian.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8b97a42c8255cd006c4133f4911a323d2ee0f251eb0d17dba2a8c84951d73b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/locale/calendar/ops/hijri.dart:81-85 | lib/locale/calendar/ops/persian.dart:79-83 \u2014 before extracting anything, compare \u0060lib/locale/calendar/ops/hijri.dart\u0060 and \u0060lib/locale/calendar/ops/persian.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae704344098a137e4253d3436636b0f55ac1ff266d35dd9fbbcd11b560efefe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/locale/calendar/ops/hijri.dart:105-109 | lib/locale/calendar/ops/persian.dart:103-107 \u2014 before extracting anything, compare \u0060lib/locale/calendar/ops/hijri.dart\u0060 and \u0060lib/locale/calendar/ops/persian.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edaed6da7761a7cbf1110e8b33ca2e997ec2ef2fb2d01b846dcf18e1baca1d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/locale/calendar/ops/hijri.dart:111-115 | lib/locale/calendar/ops/persian.dart:109-113 \u2014 before extracting anything, compare \u0060lib/locale/calendar/ops/hijri.dart\u0060 and \u0060lib/locale/calendar/ops/persian.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"58feaa6964bd0c93c4ae79f64fa2aa39d49f9305f040d84f57fde7b9cf35d13c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/locale/calendar/ops/hijri.dart:122-127 | lib/locale/calendar/ops/persian.dart:120-125 \u2014 before extracting anything, compare \u0060lib/locale/calendar/ops/hijri.dart\u0060 and \u0060lib/locale/calendar/ops/persian.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c6cdfd6b6b4bd0f6cb62f7ae55949096144f1acc1060dd97e13b0aa284b264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/locale/calendar/ops/hijri.dart:129-134 | lib/locale/calendar/ops/persian.dart:127-132 \u2014 before extracting anything, compare \u0060lib/locale/calendar/ops/hijri.dart\u0060 and \u0060lib/locale/calendar/ops/persian.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c8f039f54263eadfdf05fc4e507e95ed1a8ff05eef389e74e4f0860e478e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/model/filters/container/set_and.dart:47-52 | lib/model/filters/container/set_or.dart:47-52 \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":"lib/model/filters/container/set_and.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d768a6cd7001fa902ecc1ee654728200116a06be882d808e06c8fcde1e6b833c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/model/source/location/country.dart:31-35 | lib/model/source/location/state.dart:31-35 \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":"lib/model/source/location/country.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb6fc05d1300d1c065d5f8855cf470d01f59e77b31c9309f0ddab7ddfd24dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/about/tv_license_page.dart:40-46 | lib/widgets/viewer/info/metadata/tv_page.dart:39-45 \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":"lib/widgets/about/tv_license_page.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b71698d09e926488fc9dcbe59598e5aa09e18d687a0846ad2f18d647793e6f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/widgets/collection/app_bar.dart:127-134 | lib/widgets/common/bars/floating_bar.dart:28-35 | lib/widgets/filter_grids/common/app_bar.dart:120-127 | lib/widgets/viewer/entry_viewer_stack.dart:302-309 \u2014 before extracting anything, compare \u0060lib/widgets/collection/app_bar.dart\u0060 and \u0060lib/widgets/filter_grids/common/app_bar.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e593e69fc74eb4d190e6fd80248a24deefc5063c50783b39e753fc6e904ad3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/collection/layout_bar.dart:45-51 | lib/widgets/common/identity/aves_filter_chip.dart:186-192 \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":"lib/widgets/collection/layout_bar.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32bb069eea6ede3be4edaeafe515ae0c1e4ab9036581b9f8794c57650d69c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/common/grid/sections/calendar/day_tile.dart:17-23 | lib/widgets/common/identity/highlight_title.dart:24-30 \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":"lib/widgets/common/grid/sections/calendar/day_tile.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd1cbb2f2dbb1b121b3076c9934a7583d80c426b235ed8a9fedb0cd7191b05c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/widgets/common/grid/sections/fixed/scale_overlay.dart:74-78 | lib/widgets/common/grid/sections/mosaic/scale_overlay.dart:81-85 \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":"lib/widgets/common/grid/sections/fixed/scale_overlay.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d6c34e4022d7742b3b5d9005dcec650a88dc27fe758e151709d87d026a7ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/common/grid/sections/fixed/scale_overlay.dart:80-87 | lib/widgets/common/grid/sections/mosaic/scale_overlay.dart:87-94 \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. 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":"lib/widgets/common/grid/sections/fixed/scale_overlay.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6583c0dac29e8542973819806c3fbd87abf26fe443bd0279f623e5407b44a9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/widgets/common/thumbnail/error.dart:28-33 | lib/widgets/viewer/visual/error.dart:31-36 \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":"lib/widgets/common/thumbnail/error.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"881d7afe7f4e8ce85963b21207179b7e237e49fe8ef447aaa0174973c6d1501d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): lib/widgets/dialogs/filter_editors/create_dynamic_album_dialog.dart:24-30 | lib/widgets/dialogs/filter_editors/create_group_dialog.dart:32-38 | lib/widgets/dialogs/filter_editors/edit_vault_dialog.dart:68-74 | lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart:30-36 | lib/widgets/dialogs/filter_editors/rename_group_dialog.dart:35-41 | lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart:34-40 | lib/widgets/dialogs/filter_editors/rename_tag_dialog.dart:30-36 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/filter_editors/create_group_dialog.dart\u0060 and \u0060lib/widgets/dialogs/filter_editors/rename_group_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/widgets/dialogs/filter_editors/rename_group_dialog.dart:31\u0060 calls \u0060getGroupName\u0060 and \u0060lib/widgets/dialogs/filter_editors/create_dynamic_album_dialog.dart:20\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":"lib/widgets/dialogs/filter_editors/create_dynamic_album_dialog.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3dbc7996382966844c7c2560a613ac6453b953db7cf4d26ff72577fbd02969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/widgets/dialogs/filter_editors/create_dynamic_album_dialog.dart:73-78 | lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart:71-76 \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":"lib/widgets/dialogs/filter_editors/create_dynamic_album_dialog.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d227719651460d889e8d2fdfdf545ea4d5cafb7b675678a201273d362ea0d099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/widgets/dialogs/filter_editors/create_dynamic_album_dialog.dart:86-90 | lib/widgets/dialogs/filter_editors/rename_dynamic_album_dialog.dart:85-89 \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":"lib/widgets/dialogs/filter_editors/create_dynamic_album_dialog.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8a60554ec7ca84f4b10828046c1d6f0cae192c379c4969787a471dd32c977b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/widgets/dialogs/filter_editors/create_group_dialog.dart:76-80 | lib/widgets/dialogs/filter_editors/rename_group_dialog.dart:78-82 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/filter_editors/create_group_dialog.dart\u0060 and \u0060lib/widgets/dialogs/filter_editors/rename_group_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lib/widgets/dialogs/filter_editors/create_group_dialog.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"baef4d9d303321d5cb4db2098292b496bd3dafe4f2acb37751b566d4618b42fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/widgets/dialogs/filter_editors/create_group_dialog.dart:89-93 | lib/widgets/dialogs/filter_editors/rename_group_dialog.dart:91-95 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/filter_editors/create_group_dialog.dart\u0060 and \u0060lib/widgets/dialogs/filter_editors/rename_group_dialog.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/filter_editors/create_group_dialog.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b02d0729744c7da8e0fa13907f6921acfc9f13a8d43eebd445b928afd681f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/widgets/dialogs/filter_editors/create_stored_album_dialog.dart:140-144 | lib/widgets/dialogs/select_storage_dialog.dart:68-72 \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":"lib/widgets/dialogs/filter_editors/create_stored_album_dialog.dart"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c108785d9dcfbc9dac2473cdb75fa1b41b06f592f29319ea385fd97598c165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart:89-93 | lib/widgets/dialogs/filter_editors/rename_tag_dialog.dart:79-83 \u2014 before extracting anything, compare \u0060lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart\u0060 and \u0060lib/widgets/dialogs/filter_editors/rename_tag_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/dialogs/filter_editors/rename_stored_album_dialog.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbc3201e0f673438c26a3b9f47259a09653fa267c6f295966332b45abbffc5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/widgets/settings/privacy/permissions/manage_media.dart:31-37 | lib/widgets/settings/privacy/permissions/notification.dart:32-38 | lib/widgets/settings/privacy/permissions/permissions_tile.dart:61-67 \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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/settings/privacy/permissions/manage_media.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f61b5a06b2fae710a92f68d7b64a8a59e0c38634599b159404b7c34477121d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/viewer/action/entry_action_delegate.dart:518-525 | lib/widgets/viewer/action/entry_info_action_delegate.dart:279-286 \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":"lib/widgets/viewer/action/entry_action_delegate.dart"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c942f70b15e96234b82af74adaffe3c8596ec09b9f12e5b5703aedc635968b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/widgets/viewer/overlay/bottom/bottom.dart:109-114 | lib/widgets/viewer/overlay/bottom/slideshow_buttons.dart:67-72 \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":"lib/widgets/viewer/overlay/bottom/bottom.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3735ae249f1fed1fa5bece26853ab26b19ccd7269492bbc58ce0222d74acc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/image_providers/region_provider.dart:47-51 | lib/image_providers/thumbnail_provider.dart:47-51 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060key\u0060 to \u0060RegionProviderKey\u0060 in one and \u0060ThumbnailProviderKey\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/image_providers/region_provider.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dcb7a87fb79bb74f9107a39e4f8c41c507e1c8811a0bd71d56ea968552003c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/model/filters/container/album_group.dart:21-27 | lib/model/filters/container/tag_group.dart:21-27 \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":"lib/model/filters/container/album_group.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceedfc26851d97f0090b33b8815f9b6d6b60fe53bc3cc90c7280a36ee271ca42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/model/filters/container/album_group.dart:34-41 | lib/model/filters/container/tag_group.dart:34-41 \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":"lib/model/filters/container/album_group.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f5aa15213249e83802e39bc4d53c6f1a672efc2e50cda617972aba637b0a89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/model/filters/container/set_and.dart:82-88 | lib/model/filters/container/set_or.dart:82-88 \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":"lib/model/filters/container/set_and.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"794fe1b0a41748fb1c7042a191a1340736c812de5d2d9b567383a38d453f69e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/model/filters/covered/tag.dart:25-30 | lib/model/filters/mime.dart:46-51 | lib/model/filters/path.dart:33-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. 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":"lib/model/filters/covered/tag.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e517389312ca1db32d589c96482eda9341fbe7192250c704e8c5b8facb134c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/model/filters/missing.dart:39-44 | lib/model/filters/type.dart:68-73 \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":"lib/model/filters/missing.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ae3caf7767f3ff1d90d94e0d4c5308818512d962497d50e830a33a815c49f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/model/source/album.dart:149-155 | lib/model/source/album.dart:157-163 | lib/model/source/tag.dart:130-136 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/source/album.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9448776c27ffb23ff169621f0f2f62539ca78bea47539f91f9b59fc9ab5215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/model/source/album.dart:196-201 | lib/model/source/tag.dart:167-172 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060filter\u0060 to \u0060AlbumBaseFilter\u0060 in one and \u0060TagBaseFilter\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/source/album.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69ca5e1235024141d0482fc8b21e89228bef0c3d2e240a294ea519780e69fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/services/app_profile_service.dart:67-76 | lib/services/storage_service.dart:122-131 \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":"lib/services/app_profile_service.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2939ac4b492fa1c066e4a2dd80d1c780e8ed0592580f4c1a743cde3b9a58746f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/about/about_page.dart:11-18 | lib/widgets/settings/settings_page.dart:36-43 \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":"lib/widgets/about/about_page.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"875f913b26f4a8fd98e2d367fc1d869e92e09697f39013186a17f48a48860fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/aves_app.dart:723-731 | lib/widgets/explorer/page.dart:70-78 \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":"lib/widgets/aves_app.dart"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f783b8098c8d71bc8c38163c8b3e25b64ebc0de5abc4188e9edd13e8f3ff9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/widgets/dialogs/pick_dialogs/location_pick_page.dart:227-233 | lib/widgets/map/address_row.dart:34-40 \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":"lib/widgets/dialogs/pick_dialogs/location_pick_page.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0737a1be1b6143d8142d531d21d0849243b17810e63f8e19e60ea0fad2e85df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/dialogs/pick_dialogs/location_pick_page.dart:267-274 | lib/widgets/map/address_row.dart:88-95 \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. 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":"lib/widgets/dialogs/pick_dialogs/location_pick_page.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c1a1aa1b74fdd8d7a251b9c0cc7d1d0cdb2043f7c5e8880f165ed9715c3c04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/widgets/explorer/crumb_line.dart:14-22 | lib/widgets/filter_grids/common/group_crumb_line.dart:13-21 \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. 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":"lib/widgets/explorer/crumb_line.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6a0e4732f705b67e6538718b99222b3feb24d94dbe47b0202516de176a0871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/widgets/filter_grids/countries_page.dart:54-58 | lib/widgets/filter_grids/places_page.dart:54-58 \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":"lib/widgets/filter_grids/countries_page.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a6ce78d0b8fb8a03f9d7c160c0844341aea1a4c58874a6d0c9f8a44902b0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/widgets/settings/accessibility/accessibility.dart:30-35 | lib/widgets/settings/thumbnails/thumbnails.dart:30-35 \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":"lib/widgets/settings/accessibility/accessibility.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1e5fab23505cdf318f23745e13e872d91fb1617f7d46238ce0bd6dcfd794c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/widgets/settings/navigation/bottom_nav_actions_editor_page.dart:55-62 | lib/widgets/settings/viewer/viewer_actions_editor_page.dart:51-58 \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":"lib/widgets/settings/navigation/bottom_nav_actions_editor_page.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26d7c65ef8e6db0f18ccc326c5f3e9659269a684048e9b4654d824c6063c880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 13): lib/widgets/settings/navigation/navigation.dart:135-140 | lib/widgets/settings/navigation/navigation.dart:150-155 | lib/widgets/settings/navigation/navigation.dart:165-170 | lib/widgets/settings/privacy/privacy.dart:161-166 | lib/widgets/settings/privacy/privacy.dart:176-181 | lib/widgets/settings/thumbnails/thumbnails.dart:45-50 | lib/widgets/settings/thumbnails/thumbnails.dart:60-65 | lib/widgets/settings/video/video.dart:75-80 | lib/widgets/settings/video/video.dart:90-95 | lib/widgets/settings/video/video.dart:105-110 | lib/widgets/settings/viewer/viewer.dart:55-60 | lib/widgets/settings/viewer/viewer.dart:70-75 | lib/widgets/settings/viewer/viewer.dart:85-90 \u2014 there are 13 copies across 5 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 13 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/settings/navigation/navigation.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6117c84bcc9e15f111b7a2c3fd4bc594d6652e48d159313b6b4c0da2eae97d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): plugins/aves_video_exo/lib/src/factory.dart:9-18 | plugins/aves_video_mpv/lib/src/factory.dart:19-28 \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":"plugins/aves_video_exo/lib/src/factory.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffb5a9f824fe370dafdfa97c769c2aef8fc1632719df98bca446adfd5def8c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): plugins/aves_magnifier/lib/src/scale/scale_boundaries.dart:100-104 | plugins/aves_magnifier/lib/src/scale/scale_boundaries.dart:113-117 \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":"plugins/aves_magnifier/lib/src/scale/scale_boundaries.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ebcbe24db26cb702689f0a8715beca48d80c4265af4969dc191b69b62504e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt:1136-1172 | android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt:1248-1284 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt:1136\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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c053d08976b0c9d6086c81fb0e22a415add8ad34d7bbebfe3e83b4965d25f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt:1205-1232 | android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt:1308-1335 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt:1205\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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e6babee264891aa9e57aac146c9ab462e2046505f680e4d3c574fe0b179d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt:58-76 | android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt:144-162 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt:58\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 \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":"android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbe11e27aa0a1ba5bac133b89a290c95bdbb46b1458ce53ec07ef1cda31a298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt:257-275 | android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt:732-747 \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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3d2952953a8d2005060b7685c6eb8f1bb6824979692d721e7574a0b0646e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:393-405 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:837-849 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1048-1060 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1535-1547 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:393\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, \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:834\u0060 calls \u0060getDirectoriesOfType\u0060, \u0060forEach\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:390\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a98ebcc05d021c3bca7b496b7453ce2de85c41d705107e43760914116a2d8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt:125-135 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt:294-304 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt:125\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"04777c4284bb51a0f67f75e3206ab42fd3cc61a69713f786d9908bad889951c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/metadata/C2paHelper.kt:55-65 | android/app/src/main/kotlin/deckers/thibault/aves/metadata/C2paHelper.kt:76-86 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/metadata/C2paHelper.kt:55\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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/C2paHelper.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab319151a026101c2f1785d3ee42dcfbd2364ed13a2990ef53a93a05cec604d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1229-1238 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1310-1319 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1229\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"32971adfc4c179f19267eef9aac992413e8e065f47654164dfd9b8c58154a5a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:774-784 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:953-963 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:774\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c53179e8087550f33f4dd17d4110d60b89c4538ae5093e1b3ca0d85b7b21b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:392-399 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:836-843 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1047-1054 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1534-1541 | android/app/src/main/kotlin/deckers/thibault/aves/metadata/MultiPage.kt:127-134 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:392\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, \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:834\u0060 calls \u0060getDirectoriesOfType\u0060, \u0060forEach\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:390\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1846fc29b924dcca9bb87178ff065b83e180e5f5025041072260a0dd12a5331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:392-399 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1047-1054 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1458-1465 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1534-1541 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:392\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa2c8a1a3ad6dbfacf3ae9947a243fe813388c0276f1c00147e2d056b060f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt:114-121 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt:273-280 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt:114\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f5a13dcbdc44dd3252ff057ee3e1f95d447481ae9b10a0628033092bc1928f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:63-70 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:101-108 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:140-147 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:175-182 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:209-216 \u2014 all 5 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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:63\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e41d717e7af4e560db3b5fa5247f90a71eb892a52120c71386b628964c92f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/AnalysisWorker.kt:122-127 | android/app/src/main/kotlin/deckers/thibault/aves/HomeWidgetProvider.kt:317-322 \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, \u0060android/app/src/main/kotlin/deckers/thibault/aves/AnalysisWorker.kt:130\u0060 calls \u0060MethodChannel\u0060, \u0060onMethodCall\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/HomeWidgetProvider.kt:323\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":"android/app/src/main/kotlin/deckers/thibault/aves/AnalysisWorker.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eab2bb214592b34460c8a06118508b8a22bc0f6770b9ee0a2746488d6ddb69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppProfileHandler.kt:67-77 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppProfileHandler.kt:102-110 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppProfileHandler.kt:67\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. 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AppProfileHandler.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edb22e3780d4d66ccb475f0a1269150632d88e2b47fc77b38f646a8823ce7b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:881-891 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1243-1253 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:881\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66fecec8e30554dbecd71468a6054b5842f8deabfb3d56bc5a0ae81f3dd7af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:72-81 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:110-119 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:149-158 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:184-193 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:218-227 \u2014 all 5 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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt:72\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataEditHandler.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c0261f4d493a3b224b9dcd5f12cf2efbe22608a49467659b1610b7ef90ecda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ActivityResultStreamHandler.kt:161-169 | android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ActivityResultStreamHandler.kt:236-244 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ActivityResultStreamHandler.kt:161\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, \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ActivityResultStreamHandler.kt:234\u0060 calls \u0060toUri\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ActivityResultStreamHandler.kt:159\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ActivityResultStreamHandler.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9901dfbf94c8bdfbb39b043a90ea0424864627b1a03eea7ac99acd8a3d36cebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:996-1001 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:1477-1482 \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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab22eb2f412d07601898d36808a487ae359f078fdf9723ed90e89199902f78d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt:191-196 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt:211-216 \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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f4a5ef7c821315d8b6df41ffaff0acf190a9b2197e8fb07edf13fed1ebf950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:258-263 | android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:691-696 \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 \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt:258\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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d86573be3675a230bdd5a569443823114d8d5372ad88062edac286074a17445"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: aves_screen_state (pub): aves_screen_state (pub): abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f08a13ecb51ec43546728c0c52bcab9c5a1fe7bd747f162f2cc5322c42e1f6d9"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: aves_ui: aves_ui: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cde3faf78ca93978ffde566a0380e5e78d88315f0986aa109c62fd5bd7ede41d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: aves_utils: aves_utils: abstractness 0.13, instability 0.00, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3fcbc57179fa452771a6a5d3261e09d97b23366c7b809f0bdd1d63c1097d080f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: aves_map: aves_map: abstractness 0.04, instability 0.20, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8db5277a59c5d561b3a68e2f7013edf967dce5a186097b83a5a047295f1b6f51"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: aves_model: aves_model: abstractness 0.06, instability 0.20, distance 0.74 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9a983105d5680b77fd9ebbe7e104acbc8d81b087d1c0e60ce2acd94b5f10b0a5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderFixedExtentGridRow (LCOM4 14): RenderFixedExtentGridRow\u0027s methods fall into 14 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 14 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":"lib/widgets/common/grid/sections/layout/fixed_extent_grid_row.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0dee191e5b9d65d54991715e672e33a2062ee87b550d2a2c707db1b7a6d163"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderVariableExtentGridRow (LCOM4 13): RenderVariableExtentGridRow\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":"lib/widgets/common/grid/sections/layout/variable_extent_grid_row.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e032685db37132b1341f8fc112b3a05a1e143558eb5bbfb4c029a2396f5f8b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AlbumChipSetActionDelegate (LCOM4 13): AlbumChipSetActionDelegate\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":"lib/widgets/filter_grids/common/action_delegates/album_set.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"037a75ae19e50ab535ba870580ff31b71f97816014487f00899851993c323a75"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExoVideoController (LCOM4 12): ExoVideoController\u0027s methods fall into 12 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 12 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":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf2f6cd32df94d4affd7ae0933313df8da8031e762758f2bbbfb5a7f560452c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TagChipSetActionDelegate (LCOM4 12): TagChipSetActionDelegate\u0027s methods fall into 12 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 12 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":"lib/widgets/filter_grids/common/action_delegates/tag_set.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c6048eb8ff21e72dae00e333285670203260d3ac714adf1597e2592b006cff"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AvesLocale (LCOM4 9): AvesLocale\u0027s methods fall into 9 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 9 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":"lib/locale/aves_locale.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36201d4aff47067c5fcd14cf50070adabf0277660f2e224349f87ad6b6e62a0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DiffMatchPatch (LCOM4 9): DiffMatchPatch\u0027s methods fall into 9 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 9 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":"lib/utils/diff_match.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9218ddd525317187dadb44a2f7ac75777bcd1f2fd9e6410d144653db0a962d07"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CountryChipSetActionDelegate (LCOM4 9): CountryChipSetActionDelegate\u0027s methods fall into 9 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 9 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":"lib/widgets/filter_grids/common/action_delegates/country_set.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0af755aeaa8e6369fc20097d07110043b5178fea8e3b4ce76dd4d749ddb802"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _SnackbarDefaultsM3 (LCOM4 7): _SnackbarDefaultsM3\u0027s methods fall into 7 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 7 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":"lib/widgets/common/action_mixins/overlay_snack_bar.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"957cd70b67203bb9b392104dd710801738f2e92369f9c262d30d5e6ef5bfd061"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DerivedMaterialLocalizations (LCOM4 7): DerivedMaterialLocalizations\u0027s methods fall into 7 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 7 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":"lib/widgets/common/basic/derived_material_localization.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"31719065422e0eb92ab2ba8240d8051c4a980c0e93ead74745817c673500bc2f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _InkResponseState (LCOM4 7): _InkResponseState\u0027s methods fall into 7 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 7 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":"lib/widgets/common/basic/gestures/ink_well.dart"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"645226b62b94fd581f99589157207682a461b923bb31e5e80e1b03fd2c0686d5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Settings (LCOM4 6): Settings\u0027s methods fall into 6 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 6 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":"lib/model/settings/settings.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37567df6c3f6e998d4ef9452826d95215a60bb1801eb4fd0316701df04931a8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CollectionSource (LCOM4 6): CollectionSource\u0027s methods fall into 6 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 6 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":"lib/model/source/collection_source.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d844dc6656e34b1fe232531faa8139c3cf49de209ee65a2903c42de5eabfeb72"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MpvVideoController (LCOM4 6): MpvVideoController\u0027s methods fall into 6 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 6 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":"plugins/aves_video_mpv/lib/src/controller_video.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efd3ae8dd9a7d83f4bf43db98db3b8f5884c5fbef7ffff5ae763a557419c2ee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SearchPageRoute (LCOM4 6): SearchPageRoute\u0027s methods fall into 6 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 6 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":"lib/widgets/common/search/route.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea693245e25077a0d54b577f8eb131207bbbb866e73285056ff42feb7d64f80"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PlaceChipSetActionDelegate (LCOM4 6): PlaceChipSetActionDelegate\u0027s methods fall into 6 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 6 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":"lib/widgets/filter_grids/common/action_delegates/place_set.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"49209d63f21ccc3b4d500873f7708e08feebecc985f69f1a1706698e7dca8939"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StateChipSetActionDelegate (LCOM4 6): StateChipSetActionDelegate\u0027s methods fall into 6 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 6 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":"lib/widgets/filter_grids/common/action_delegates/state_set.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6115713736641fc704afae3e8ad845b3e8f2578451c6ec99ba66daefc232b9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Topology (LCOM4 5): Topology\u0027s methods fall into 5 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 5 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":"lib/geo/topojson.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd76cee84d574a6e060c4e1217216f91ee0fe9623e3e027e23143655110951f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AvesEntry (LCOM4 5): AvesEntry\u0027s methods fall into 5 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 5 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":"lib/model/entry/entry.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcceb7fa9e85edcbb1baba3a5308a6c024518206e5c7f5dcb687185ec920510"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: QueryFilter (LCOM4 5): QueryFilter\u0027s methods fall into 5 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 5 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":"lib/model/filters/query.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"494f7a820c5276f547445cc60ed3703fb95cfd891026074e9ddb7e0bee860264"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PlatformMobileServices (LCOM4 4): PlatformMobileServices\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":"plugins/aves_services_google/lib/aves_services_platform.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e3f5e28377f0c3730b118dc81847a1a8f08c4b90b1977b46816acc1d3fe10b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LiveAvesAvailability (LCOM4 4): LiveAvesAvailability\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":"lib/model/availability.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"61827b56956bd298cf7b8ff6cf3027b16c521ce6ca27da754a3d6cb422e8c64a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GroupBaseFilter (LCOM4 4): GroupBaseFilter\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":"lib/model/filters/container/group_base.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a4287f80f47f5640eea20433110aa535fcfb52929f51d26ae0f74d91e2dfcf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SetAndFilter (LCOM4 4): SetAndFilter\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":"lib/model/filters/container/set_and.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e670efd4305a39358b2756a7888b961d74a1852fcd66ccb887f0b25106cb3525"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SetOrFilter (LCOM4 4): SetOrFilter\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":"lib/model/filters/container/set_or.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6211dc9fe1d803e1f8f27e3823d9a4919fb7c359df5c214b386bf5b428fe00"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DateFilter (LCOM4 4): DateFilter\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":"lib/model/filters/date.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfe7628c1723974451d087e281dbdb9584fee7b5d5ad1d3f8aba3e0e7f8cb7e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MimeFilter (LCOM4 4): MimeFilter\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":"lib/model/filters/mime.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fedf9f7686ecc06bf5ac0c0bb514b0047a0cf21c5d0c950b033d1496e177ed2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MissingFilter (LCOM4 4): MissingFilter\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":"lib/model/filters/missing.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9f5fc18df2522601a391bd65d20a97e19049169181fff31f7cd44551252276"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PathFilter (LCOM4 4): PathFilter\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":"lib/model/filters/path.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"79de791df8dcea536305042cd08fc57bff95847b9aeee4e0e03a56e729eddf7d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TypeFilter (LCOM4 4): TypeFilter\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":"lib/model/filters/type.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"927a731fa27bbea01e69905050d9b7c537369ab0acde54eaa9226fc75d820af5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WeekDayFilter (LCOM4 4): WeekDayFilter\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":"lib/model/filters/weekday.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"96027d5b95a4013b8b1111c7a427c4a9f08654d3adf55c923516a0b99a3ef956"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MappedGeoTiff (LCOM4 4): MappedGeoTiff\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":"lib/model/media/geotiff.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc1b3d7f3daab391f04fa22fb1f5b436f22fac2979e6ba06dd14c1cdeb2d656"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _AvesMagnifierState (LCOM4 4): _AvesMagnifierState\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":"plugins/aves_magnifier/lib/src/core/core.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ff681bdf46c349de6133faeca44f2fdb983df223b03ce38566f8342c1ec86d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _GridItemTrackerState (LCOM4 4): _GridItemTrackerState\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":"lib/widgets/common/grid/item_tracker.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94136c7e95ff49e65a3a8ee6f99484b25ab4f659916196e7cfbd5d75faf2f53"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _EditorImageState (LCOM4 4): _EditorImageState\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":"lib/widgets/editor/image.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"76acd11be6a1ab46b30047f9b42675236ab3793d8be752f11a22fcd143b4fd1f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _FilterGridAppBarState (LCOM4 4): _FilterGridAppBarState\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":"lib/widgets/filter_grids/common/app_bar.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e219f6759fee744e9d51e30fedb6541ef6c22e50943e58ade034489cf5879fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _EntryViewerStackState (LCOM4 4): _EntryViewerStackState\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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2ec5f760d8d0c7ffafa134902b68b8dfab41d82faeef554d70b86268cbb673"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _EntryPageViewState (LCOM4 4): _EntryPageViewState\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":"lib/widgets/viewer/visual/entry_page_view.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d238d214b01ef1c453dd700945034969215934b6b62a293e8704ca8b07e0de0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/model/settings/settings.dart: lib/model/settings/settings.dart changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in Settings.import at line 310. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/model/settings/settings.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":"lib/model/settings/settings.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ddf2fbf7314648877c1e8c259d48982aa3df757938c632c45e182f3ab7e322"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt: android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in MetadataFetchHandler.getAllMetadata at line 159. 3 of those changes were fix/bug commits, and the other 14 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d521fbfb770112f699bed4edb12ff461cbd587e89b409845458c54be96c4ec2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/collection/entry_set_action_delegate.dart: lib/widgets/collection/entry_set_action_delegate.dart changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in EntrySetActionDelegate.isVisible at line 71. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/collection/entry_set_action_delegate.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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe322b7289a0f76a15d70eb39eff2a644b2eb48d36735b60acb5ba629d8d13d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt: android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ImageProvider.editMetadata at line 1841. 1 of those changes was a fix/bug commit, 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f653378eb4ba106ed09a64d8302f3db69b9110420ac661daad89cb80749e52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/home/home_page.dart: lib/widgets/home/home_page.dart changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in _HomePageState._setup at line 100. 3 of those changes were fix/bug commits, and the other 6 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/home/home_page.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":"lib/widgets/home/home_page.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd57ac2505f471823ac8ed9a284ce49f29633f9c16c0d43fa44fa96b830c7fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/collection/collection_grid.dart: lib/widgets/collection/collection_grid.dart changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _CollectionScrollViewState._getScrollCrumbs at line 691. 3 of those changes were fix/bug commits, and the other 12 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/collection/collection_grid.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":"lib/widgets/collection/collection_grid.dart"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"6995933c6eff5f2ca26cc4764d9602b9b7f31e9212a0d0acbf5319f71352e12b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/model/source/collection_lens.dart: lib/model/source/collection_lens.dart changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CollectionLens._applySection at line 310. 4 of those changes were fix/bug commits, and the other 11 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/model/source/collection_lens.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":"lib/model/source/collection_lens.dart"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90507bd0055d1e8b8fa66a6000e7bb33954daff9cf6e6741d95397a9d443718"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/kotlin/deckers/thibault/aves/MainActivity.kt: android/app/src/main/kotlin/deckers/thibault/aves/MainActivity.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in MainActivity.extractIntentData at line 392. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/kotlin/deckers/thibault/aves/MainActivity.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":"android/app/src/main/kotlin/deckers/thibault/aves/MainActivity.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18bc92917a2bb194a99d84a68012c127fe29db6590c210ea856c60caa2a3564"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/model/entry/entry.dart: lib/model/entry/entry.dart changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AvesEntry.applyNewFields at line 458. 4 of those changes were fix/bug commits, and the other 8 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/model/entry/entry.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":"lib/model/entry/entry.dart"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cdc249f7109fa2accdc71a81bfd48aab78453b6b135b61559c3cc651795ff0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/common/identity/aves_filter_chip.dart: lib/widgets/common/identity/aves_filter_chip.dart changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in _AvesFilterChipState.build at line 205. 1 of those changes was a fix/bug commit, and the other 6 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/common/identity/aves_filter_chip.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":"lib/widgets/common/identity/aves_filter_chip.dart"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a5ebba7a769309f066a7e14b8c4b13f2b63e34ed2dd18205a5f7132a7896f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/common/grid/theme.dart: lib/widgets/common/grid/theme.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in GridThemeData._defaultIconBuilder at line 106. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/common/grid/theme.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":"lib/widgets/common/grid/theme.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c4eb010bac5be28aa7b74846ac9d09975effc3d4d95575a2b139fdd05eaa5c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt: android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MediaStoreImageProvider.tryScanNewPathByMediaStore at line 521. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5f296a87ac4147ad2b40c1890e4feb248162269d4b55d561106976b7e7b2e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/common/action_mixins/entry_storage.dart: lib/widgets/common/action_mixins/entry_storage.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in EntryStorageMixin.doQuickMove at line 191. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/common/action_mixins/entry_storage.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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed2fec5f3c67e226fe18530ad6fe156ad70a1c0b319a87ee3248579f17c197"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt: android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in MetadataExtractorHelper.getDatePlus at line 325. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab84107b5075d363d336b7470254b79ca4c3b6557dd2824f324335889c1fcdab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: android/app/src/main/kotlin/deckers/thibault/aves/metadata/MediaMetadataRetrieverHelper.kt: android/app/src/main/kotlin/deckers/thibault/aves/metadata/MediaMetadataRetrieverHelper.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in MediaMetadataRetrieverHelper.getSafeDescription at line 126. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- android/app/src/main/kotlin/deckers/thibault/aves/metadata/MediaMetadataRetrieverHelper.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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/MediaMetadataRetrieverHelper.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4002ebaa17c6ed4d1a79f236df9cc083e316e0dfa6d357f55ba5f90a913ea52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/filter_grids/common/action_delegates/chip.dart: lib/widgets/filter_grids/common/action_delegates/chip.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ChipActionDelegate.isVisible at line 34. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/filter_grids/common/action_delegates/chip.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":"lib/widgets/filter_grids/common/action_delegates/chip.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd0c211f87b0439c40e0c73d1de0fb7344044b241dfbaa164c80039bb90640d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/viewer/visual/video/subtitle/subtitle.dart: lib/widgets/viewer/visual/video/subtitle/subtitle.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in VideoSubtitles.build at line 35. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/viewer/visual/video/subtitle/subtitle.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":"lib/widgets/viewer/visual/video/subtitle/subtitle.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8e5bd0143925b0f3859c25614ced7a22475e144b450a30eb4fc2e42223d49a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/collection/draggable_thumb_label.dart: lib/widgets/collection/draggable_thumb_label.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CollectionDraggableThumbLabel.build at line 17. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/collection/draggable_thumb_label.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":"lib/widgets/collection/draggable_thumb_label.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9fafc0969e6c950a1349f2e1ad41419be93459cbc922453ca483fe09d06a2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/debug/database.dart: lib/widgets/debug/database.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in _DebugAppDatabaseSectionState.build at line 50. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/debug/database.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":"lib/widgets/debug/database.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8267ec9b05f4e4e5346bbc128021988e4e54507131bd55e71fd627af11a7eec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/common/action_controls/quick_choosers/common/menu.dart: lib/widgets/common/action_controls/quick_choosers/common/menu.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in _MenuQuickChooserState._onPointerMove at line 273. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/common/action_controls/quick_choosers/common/menu.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":"lib/widgets/common/action_controls/quick_choosers/common/menu.dart"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4387bf8f2b707e7e11a74807f855847bfa449514471c89c95da83f2150b88d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/widgets/common/grid/sections/calendar/section_layout_builder.dart: lib/widgets/common/grid/sections/calendar/section_layout_builder.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CalendarSectionLayoutBuilder.buildSectionLayout at line 64. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/common/grid/sections/calendar/section_layout_builder.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":"lib/widgets/common/grid/sections/calendar/section_layout_builder.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83c5171c04632b8cd2c66d45706b37d79ef40350b9c878cdf5c74493cde0243"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/model/media/panorama.dart: lib/model/media/panorama.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in PanoramaInfo.fromMap at line 17. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/model/media/panorama.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":"lib/model/media/panorama.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0b8b11ffd9b14dab67535c4384afe105e816f72ae714d527560605f4e5f84d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/model/naming_pattern.dart: lib/model/naming_pattern.dart changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in NamingPattern.from at line 20. 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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/model/naming_pattern.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":"lib/model/naming_pattern.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc286b67a16994df1410506a062ae602f85777ae63e26322497733cfd73a776"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/widgets/common/identity/aves_list_subtitle.dart: lib/widgets/common/identity/aves_list_subtitle.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 1 (its worst body is AvesListSubtitle._defaultTextStyle at line 15), 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: \u201Clayout change fixes\u201D; \u201Clayout change fixes\u201D; \u201Cfixed list subtitle text style\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 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 19:02:57 \u002B01:00\u0027 --until=\u00272026-11-12 19:02:57 \u002B01:00\u0027 --full-history --no-merges -- lib/widgets/common/identity/aves_list_subtitle.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":"lib/widgets/common/identity/aves_list_subtitle.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e6eed0f2b1bbfb36582a1a03b87b3f40d3f8c2e6dc222a91ad86280213d33f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD rotate screenshot according to video rotation \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":"plugins/aves_video_mpv/lib/src/controller_video.dart"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87e020609bdd31830d0bde4225c4df7fb5283b4ad665c44a7b3bb2538c685ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD \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":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dac29f4129e59456523920ebeaf0fbdf996faa73e37d5ef7955407dc3526510"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD \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":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b60370995707c523e57e463999cbf07760c534b785cf84ec51032e9cd568952"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD \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":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9f8c647c4b303c4ecc1547ebe0cc4c0daf3054b7e70e3bc4d102718fae60b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD \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":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"86568659e24be01c890d2a39bfe53f2d1e998ea22de2799d584e906f30820f4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD \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":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afcc34ec67064e7075e0bd2ef342fbac78dcf56dd5486aa3731e2eae0c7a4f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD \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":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b265832c3c6efcacaf08fc2465e82a337852e2bfb75064ffe829390466336cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD \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":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ba2c8f0008517febbfcda6dc0719b566cbd83377f351b86d82f0a7e893bd2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [map] GoogleMap.onLongPress is not appropriate for mediaMarkers, so the call should be here when this is fixed: https://github.com/flutter/flutter/issues/107148"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/aves_services_google/lib/src/map.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9b1ffb51c6d0171baa78a9850800179e6a2a2fd39ba6da42cca8f553a4f553"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [geotiff] may use ground overlay instead \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":"plugins/aves_services_google/lib/src/map.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"301bdce88dd3f1e58a5bf61b6035200350e55faeadf4767dfe590af9d27f7533"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // osmLiberty, // TODO TLAD find alternative vector tile host \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":"plugins/aves_map/lib/src/style.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c869bb00e05c94c6b9cd41b5ac53513c106e7793afe733bc77fe6b011629dc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD should not reset scale when boundaries change because of transform \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":"plugins/aves_magnifier/lib/src/controller/controller_delegate.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f8c5a360f1234551d96e9f0133c7e2c0fc4f16cd39408a075bdfff30cbf85b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD local collection removal w/o modifying \u0060sortedEntries\u0060 so it can be \u0060List.unmodifiable(...)\u0060 \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":"lib/widgets/viewer/entry_viewer_stack.dart"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"331daf2c1ee6062eead16ab45b684679c68904bfbf21c175cd4709bc652d75a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [subtitles] extract fonts from attachment streams, and load these fonts in Flutter \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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f36d71a005aa87965c51c24084e9464547881859ccefc7012c927aacaa3368"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [subtitles] SHOULD support the following \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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b55823f29a1a45aef18aa195ba8f2882d881fe3a79a5d654e1a9f244afa504"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [subtitles] MAY support the following \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":"lib/widgets/viewer/visual/video/subtitle/ass_parser.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cea808778d4f3fa0b3f95bcae3c4a3e2f27b02f9fbe792e27290b98eed5ec4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD line break on all characters for the following fields when this is fixed: https://github.com/flutter/flutter/issues/61081"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/viewer/info/basic_section.dart"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f3243a6db089fee80db504ba0e4051367a1fb897c9616a1278d86e4ed966ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [cast] transcode when MIME type is not supported by renderer \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":"lib/widgets/viewer/controls/cast.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f41f8917c587e970bc650a8a2aa518f0cffa147aaeb8885cd548c094667bf8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [cast] providing downscaled versions is suitable when properly serving with \u0060MediaServer\u0060, as the renderer can pick what is best \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":"lib/widgets/viewer/controls/cast.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdef55918a403d65c9cb7a7a77aa432c821b3bcd4abb6b6e5a03a5026cc7334"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [hdr] enable when ready \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":"lib/widgets/viewer/controls/controller.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"189eaf379b9bf5b8e3539c8a4e5d02cbaef973b56c21998f85600cdc4b4902a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [hdr] enable when ready \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":"lib/widgets/viewer/controls/controller.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dd9bad164149477558e5b8351ccbff72d60559fd55ad58eb8ced5c2f5b5359"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD apply pick mimetype(s) \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":"lib/widgets/home/home_page.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d911b308c2b5250fde56b3419949863b252f7e0999648b20080f44ea0af5dd55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [crop] apply \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":"lib/widgets/editor/transform/controller.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea1bcea73a69dad38e2532cc91ce882267e3b04c81c4c21f4e028b4f27a32aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [crop] handle orientation \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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"31580d452b08f8804921eeda111341a27a1091200fcb81a8351df70578d473b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [crop] handle straightening \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":"lib/widgets/editor/transform/cropper.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"651fe98098aff27108311857fc08cad8734be282b784fe24f51b68c7078cb6e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD use the TextSpan getter when this is fixed: https://github.com/pd4d10/highlight/issues/6"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/aves_highlight.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"336753d0a8624853062a911145cc7fedc73c83798034b543272afa6ec87eee79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/flutter/flutter/issues/50087"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/aves_highlight.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3983bb92ed7d44f48e258b4ef4803d462dd70abfc25c7ee7e6a44fb178f899f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: dart:io is not available at web platform currently \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":"lib/widgets/common/aves_highlight.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bddf5b1557b248468c7260288fa14cd032f5b33f7689ffdb482c83a98b3cf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [map] derive \u0060radius\u0060 / \u0060extent\u0060, from device pixel ratio and marker extent? \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":"lib/widgets/common/map/geo_map.dart"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cfdb9b282fcc4070fe2bdd3ba8cb0cf29eb43bd31c64bde8d2dac2ee26898a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [map] as of flutter_map v0.14.0, \u0060doubleTapZoom\u0060 does not move when zoom is already maximal \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":"lib/widgets/common/map/leaflet/map.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a313d985ec7902be1c4ed3571f4cf61055d309f88319fd3b8e52065110dc0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [perf] cache header extent computation? (depends on subsystems, e.g. covers for album type) \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":"lib/widgets/common/grid/header.dart"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b13b42ca1c59ab8cf908e670645f56e0385b2293320c2e56d145d6f8212484"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD merge with \u0060MagnifierScrollerPhysics\u0060 \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":"lib/widgets/common/behaviour/sloppy_scroll_physics.dart"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"96535fbab89c8a2d1855b0fb16bf8cd675d94408e89db0831bc9beae728e6ddb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD remove bridge when this is merged: https://github.com/foresightmobile/flutter_markdown_plus/pull/145"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/basic/markdown_container.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecaf24cea5e6cdaf2b36702a2aab4d6eb346843383a15836b1ec31e7b099ac9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD fix character segmentation for scripts like Arabic, Kannada, Tamil \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":"lib/widgets/common/basic/text/animated_diff.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa89f523e2b7c49c6061221c4edaac1ca3a8c1932d50aa27d91d33b6025a7065"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [subtitles] fix background area for mixed alphabetic-ideographic text \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":"lib/widgets/common/basic/text/outlined.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"141979e56c0366f4eaf6775d251b2a87b61a9c3cb24291d96ca75d1bb3d06be1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD fix timing when transition is incomplete, e.g. when going back while going to the viewer \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":"lib/widgets/collection/collection_grid.dart"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fc65f3a63a69757b3342442506a64cf07ac243fcd66b3d69a07f950259b815"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack to allow unit tests to call private method.  Do not use. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3b966b4ba21c1311daef72d599b0fed4ccdd1a3b73edfb26d3cc38570708c1"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack to allow unit tests to call private method.  Do not use. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad657fe92696b62c69a1e37ff4a68fccbc165ef097749107119c1388844ac0c"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack to allow unit tests to call private method.  Do not use. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"7520e70a60e8de8bdaefc6cab2a1dd3a0ab8a41170ed6288500f5546ff6b2507"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack to allow unit tests to call private method.  Do not use. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c059ba94a432c0cd710f6c17b97431e938e25f6fcf71b427bf9b1a40a78db4d"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack to allow unit tests to call private method.  Do not use. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"041019bf5840fffc9d753e63d09175483a3467891787c628ec6f1eb43b532e42"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack to allow unit tests to call private method.  Do not use. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d103d839bbf24f0474528b87f3bcb57818dd6a50ed3e45b846d918e3b5c17e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack to allow unit tests to call private method.  Do not use. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e9178d993121a33219776b86a7047d1937cd811896022c14ec4e771d60be41"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack to allow unit tests to call private method.  Do not use. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/diff_match.dart"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"857f4eb903255055e139b94a6e2a3fd52fa58dfaafef3eb7ace641f2c47ce078"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Once Dart\u0027s performance stabilizes, determine if linear or binary \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":"lib/utils/diff_match.dart"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6fa55cb2f3a62788c2332d0efec36330172975523ce2338fc245c35c78f06d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Once Dart\u0027s performance stabilizes, determine if linear or binary \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":"lib/utils/diff_match.dart"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"2422cb9bd0c6a3c0184ca28ad6228b3a71e65787e67aeecca5e0bff0ca2b8fe9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [l10n] use locale formatter \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":"lib/theme/format.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae2e66ec0d9ffb9a05eac9dfb4aa7c2f5068ab48f4b86a38e7ad303a41d030c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD remove experiment if useless \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":"lib/services/common/channel_isolate.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6c918534811fe7fb7b8a5efca179f4d1fbba1f806c85808a8210a107dc2a9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD remove after #2329 tests"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/services/common/service_policy.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88de742b0dfa7cf9147f3ae3c48b503f52b9d88844040c695c10057c417fdf0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [perf] perform DB ops with \u0060newEntries\u0060 by chunks \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":"lib/model/source/media_store_source.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7077e0ddccd5b3c5c2e3e0de1b46e4a0cc702d6c425440d15cebfd0ff8b02c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD find duplication cause \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":"lib/model/source/media_store_source.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6119bfe51a571cdf808e6faf55bd3003a246b255fe21bbee8611e72da50cf2f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD find duplication cause \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":"lib/model/source/media_store_source.dart"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb6b9e90c850056cedf31427daa7189941772d9d9595ced95b76d2872d7f62f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [layout per album] \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":"lib/model/settings/modules/collection.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"add3ac233d365192810eb1858c8f37c36dcac8d09785737c1af16f2c08b24461"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [layout per album] \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":"lib/model/settings/modules/collection.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c234f62d389c5c3be3da0358aa429d77f84f09550b7538264efb5d48c88f8565"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [layout per album] \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":"lib/model/settings/modules/collection.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"34493a9d42469d5a5c7229046ef02a5db5e943db2e34cac3bbd2f6580801f0d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [layout per album] \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":"lib/model/settings/modules/collection.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c6c75ee673ff2f8d10ee8e969bfafd418511be2624a2f903e203a0ca61c8bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [layout per album] \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":"lib/model/settings/modules/collection.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb2a56df56375df554c8ee3e42e87163a087cf7c779be2e71b2f1f475f8b9d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [layout per album] \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":"lib/model/settings/modules/collection.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7291af3d3285cac0a86554255a5b05e61dcfb663da4c38b5b6474191c4697282"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [layout per album] \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":"lib/model/settings/modules/collection.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a9afcd0aa36a9912775d69ed18f51644ec70a646bd738bfeb0d722ee35fd7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [layout per album] \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":"lib/model/settings/modules/collection.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b07f57e54aa888d0b4ba0349ea380145d9adce5d4c66b466297382213f4961"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [geotiff] default from parsing proj4 instead of meter? \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":"lib/model/media/geotiff.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6ec45b60a89595111fef5aa0f61c8aa6257eb97ecbef2f38a2525ce62c3ed1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [timezone] get time zone matching the date \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":"lib/model/media/video/metadata.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b7b2150c835acbe77e68a19ac3e73784c40f369047d509c8b74c941db703f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [calendar] reflect calendar setting \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":"lib/model/filters/date.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbbd5cbb26cba0733d7bf132ac8dfc2bae5c23a2c73c91b89a57fe125bacfb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [date] DateTime.tryParse converts to UTC time, losing the time zone offset \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":"lib/model/entry/extensions/metadata_edition.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"109441c764d7e7d0dc657c0feedba36dcdec9b682c97f70907c68e03a3f652c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [perf] split queries when \u0060IN\u0060 parameter is large \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":"lib/model/db/db_sqflite.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cc8f89f5cf7613efb84f7795262289f0ab7c55a87d1b9579c82b22d8f7be16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD [perf] split queries when \u0060IN\u0060 parameter is large \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":"lib/model/db/db_sqflite.dart"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"30526c6ae9cb90c1faafa6c3d220856de2658cb63114301ddb3ba534bad2f409"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD review \u0060DocumentsContract.moveDocument\u0060 viability \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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"e979c46c72f85b13cb8c5ae96f82d86b94c8a63991625e975f5c7c6dc0e08bcd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD only do this when the source is the file being replaced \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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2b9199eca5d95368d6a6967a11d73e8ebd4c8816ed29e0242b9ae291826d03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO TLAD more generic support, (e.g. 0x00000014 \u002B \u0060ftyp\u0060 \u002B \u0060qt  \u0060) \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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/MultiPage.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e2b9afe4ac5e27cf7ead545cce9e032d185818b8e8e4740baea515a6b6b670"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we currently ignore languageTagBytes and translatedKeywordBytes \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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/SafePngMetadataReader.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a3dff4377f257f91aa97ed6a008d544b02326500137a337049f80c49cc5914"}},{"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 \u0060android/app/build.gradle.kts\u0060 makes this repository a deployable product (line 5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/build.gradle.kts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42c88ff5ad79fb3156beed069fd42fbd589c1a10ecfd3825f7b20c31fb00d09"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 19 project(s) overshoot their size bounds, lowering Project Cohesion to 7.9/10. The most over is \u0060(repository root)\u0060 (92148 LoC, 1036 module-visible types across 128 directories). 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":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","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":"50e5526cdddc0e5e45af2735ec70010102efea59f5f9f590092c18ee485e3bd4"},"properties":{"commitSha":"e29f1897a3659513ec4ffe03cf327103f871f94c"}},{"ruleId":"D28","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":"b191c7be5362d02818b808f733d8257ab769349e99f59677213ef317b07eadf7"},"properties":{"commitSha":"5a505344efa8a19f959ad98010f7b37f96fe711b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"b045f06583c9b465f808666ab807bb301b75e163408a0670ffe050a381f461f6"},"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":"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":"3ea176b019cc695392ea0d95a27348b006188837d81c8a52bc6b53dadc236062"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"9dba0abd2b005cc529ec063d3da72fc236ac0b0cc9d4560ba3d4f74d3425f445"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"c3844525d4de2712a73fbf74c205b3f6962fbecdf31d0f2e9c6d3187f8a51954"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: entry_set.dart \u2194 app_bar.dart: \u0060lib/view/src/actions/entry_set.dart\u0060 (context view) and \u0060lib/widgets/collection/app_bar.dart\u0060 (context widgets) sit in DIFFERENT parts of the tree yet change together 81% of the time (21 of the 26 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 21 shared commits counted here, the most recent 3 are \u0060a0572ffd\u0060 #2141 collection: copy to clipboard; \u0060cab6b130\u0060 #1853 tv: replace FAB by app bar action; \u00601b43d1ca\u0060 #1987 collection: gpx export \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/src/actions/entry_set.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f1f0eba3ffe0581b8fcab2e8171d88a4674adab3297357f6ea2ef0ec379f92"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: entry_set.dart \u2194 entry_set_action_delegate.dart: \u0060lib/view/src/actions/entry_set.dart\u0060 (context view) and \u0060lib/widgets/collection/entry_set_action_delegate.dart\u0060 (context widgets) sit in DIFFERENT parts of the tree yet change together 77% of the time (20 of the 26 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 20 shared commits counted here, the most recent 3 are \u0060a0572ffd\u0060 #2141 collection: copy to clipboard; \u0060cab6b130\u0060 #1853 tv: replace FAB by app bar action; \u00601b43d1ca\u0060 #1987 collection: gpx export \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/view/src/actions/entry_set.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7526de03e01ef34219b700346a06135ddb2dae8a801797766364fe5f861779"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: defaults.dart \u2194 overlay_page.dart: \u0060lib/model/settings/defaults.dart\u0060 (context model) and \u0060lib/widgets/settings/viewer/overlay_page.dart\u0060 (context widgets) sit in DIFFERENT parts of the tree yet change together 70% of the time (7 of the 10 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00605ae91177\u0060 #2345 settings: thumbnail overlay credential validity option; \u006055720df9\u0060 #1821 viewer: overlay zoom level, overlay settings review (at that commit the file was still \u0060lib/widgets/settings/viewer/overlay.dart\u0060); \u006005d4d01e\u0060 #706 viewer: histogram (at that commit the file was still \u0060lib/widgets/settings/viewer/overlay.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/settings/defaults.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8ede803b45c9099be8a58ad2de7312f615822e7b87785db4a713a9b652d9c9"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: media_store_source.dart \u2194 media_store_service.dart: \u0060lib/model/source/media_store_source.dart\u0060 (context model) and \u0060lib/services/media/media_store_service.dart\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 58% of the time (7 of the 12 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060ae11f225\u0060 handle missing volume when fetching media by generation; \u00605f26cfbb\u0060 #1427 increased precision of file modified date to milliseconds; \u0060211f803a\u0060 source: disable analysis for widget, screen saver; disabling analysis\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/source/media_store_source.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4f7486c83df8907df7cb1d21864a3faf2aeaca35e7017044a61525158847fb"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: geo_map.dart \u2194 aves_services_platform.dart: \u0060lib/widgets/common/map/geo_map.dart\u0060 (context widgets) and \u0060plugins/aves_services_google/lib/aves_services_platform.dart\u0060 (context plugins) sit in DIFFERENT parts of the tree yet change together 56% of the time (9 of the 16 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00600d64e024\u0060 map: track color gradient, style fixes; \u0060a84f621a\u0060 map: show paths; \u0060024d1db8\u0060 #2107 map : increased max zoom level for HOT/Watercolor, removed limi\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/map/geo_map.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a83209f4fb34367c8d5e67ff2c70c2a9e2da1b088bd8bb12b96ca119940a87"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: media_store_source.dart \u2194 db.dart: \u0060lib/model/source/media_store_source.dart\u0060 (context model) and \u0060lib/widgets/viewer/debug/db.dart\u0060 (context widgets) sit in DIFFERENT parts of the tree yet change together 56% of the time (9 of the 16 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00606fd03836\u0060 #1836 fixed recovered items staying in bin forever; \u006030602538\u0060 #971 duplicate detection; \u0060413794cb\u0060 #913 recover untracked vault items \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/source/media_store_source.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41bad187df211b036668868db50961b91442e7f8cf666f23d6497019a527bcd"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: icons.dart \u2194 enums.dart: \u0060lib/theme/icons.dart\u0060 (context theme) and \u0060plugins/aves_model/lib/src/source/enums.dart\u0060 (context plugins) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00601d4b87a8\u0060 #2360 #933 collection: sort randomly; \u0060eb9a7c8b\u0060 calendar view WIP; \u0060a6c1fd52\u0060 #1554 Collection: sort by storage path \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/theme/icons.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b0a8ed4c82bf8b6f34def278ac17167bb368c57623df0f1cc8a2b571b34070"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: entry.dart \u2194 service_policy.dart: \u0060lib/model/entry/entry.dart\u0060 (context model) and \u0060lib/services/common/service_policy.dart\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 53% of the time (8 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060b5fea82f\u0060 loader/completer review; \u0060c34faa15\u0060 quick country reverse geolocation w/o play services (at that commit the files were still \u0060lib/model/entry.dart\u0060 and \u0060lib/services/service_policy.dart\u0060); \u0060ceed01f3\u0060 tiling (WIP) (at that commit the files were still \u0060lib/model/image_entry.dart\u0060 and \u0060lib/services/service_policy.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/entry/entry.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd52fee6f32e9b213ae9b83c78085bd940a8da2c94103d5c7e1d60788c0d718"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: images.dart \u2194 media_fetch_service.dart: \u0060lib/model/entry/extensions/images.dart\u0060 (context model) and \u0060lib/services/media/media_fetch_service.dart\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006060b753c5\u0060 #2313 fixed video cover following thumbnail preference, gapless cover\u2026; \u006050e2929e\u0060 stream image bytes instead of custom fetch; \u00601fd3d77b\u0060 fetch encoded bytes for video cover \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/entry/extensions/images.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8a2f31b7d5a213bee9887762a4feecca9bfff6340a71b0bca7476960c4699b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: albums_page.dart \u2194 tags_page.dart: \u0060lib/widgets/filter_grids/albums_page.dart\u0060 and \u0060lib/widgets/filter_grids/tags_page.dart\u0060 change together 94% of the time (15 of the 16 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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u00607909e2f0\u0060 minor; \u00605dc6b22f\u0060 #277 albums/countries/tags: show/hide title filter; \u006045153e94\u0060 fixed superfluous selector rebuild \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/filter_grids/albums_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5f96f736794fbfeb3b53ebea0449903411e2988c12ab469409748b63b576a6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: filter_grid_page.dart \u2194 tags_page.dart: \u0060lib/widgets/filter_grids/common/filter_grid_page.dart\u0060 and \u0060lib/widgets/filter_grids/tags_page.dart\u0060 change together 81% of the time (13 of the 16 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u00607909e2f0\u0060 minor; \u00605dc6b22f\u0060 #277 albums/countries/tags: show/hide title filter; \u00602a472273\u0060 #9 fast scroll feedback \u002B staggered animation improvements \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/filter_grids/common/filter_grid_page.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47500f794e451921484654c05af522832efed91f4e603abd4cb9f901305707b9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: media_store_source.dart \u2194 trash.dart: \u0060lib/model/source/media_store_source.dart\u0060 and \u0060lib/model/source/trash.dart\u0060 change together 70% of the time (7 of the 10 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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006075a7e5fa\u0060 #1917 fixes for invalid/lost/untracked bin items; \u0060ffbf0bd8\u0060 improved error reporting; \u0060b5fea82f\u0060 loader/completer review \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/source/media_store_source.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"109ce1b43d7e1f47b753cdefeb9e8441230fb44b74a719adc7dd9a9b2b4b7e33"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: MetadataFetchHandler.kt \u2192 MediaMetadataRetrieverHelper.kt, MultiPage.kt, MetadataExtractorHelper.kt, SourceEntry.kt: \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt\u0060 changes together with 4 other files \u2014 \u0060android/app/src/main/kotlin/deckers/thibault/aves/metadata/MediaMetadataRetrieverHelper.kt\u0060, \u0060android/app/src/main/kotlin/deckers/thibault/aves/metadata/MultiPage.kt\u0060, \u0060android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt\u0060, \u0060android/app/src/main/kotlin/deckers/thibault/aves/model/SourceEntry.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fabe280a298c3cbf307f714f0f61b749dc5a1f65e5637e636e5a32f9ffeea7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ThumbnailFetcher.kt \u2194 TiffRegionFetcher.kt: \u0060android/app/src/main/kotlin/deckers/thibault/aves/decoding/ThumbnailFetcher.kt\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/decoding/TiffRegionFetcher.kt\u0060 change together 62% of the time (8 of the 13 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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006095d411da\u0060 bitmap conversion: ARGB_8888 -\u003E rgbaFloat32; \u00606a4c1e71\u0060 bitmap conversion: ARGB_8888 -\u003E RGBA_1010102 -\u003E rgbaFloat32; \u006050e2929e\u0060 stream image bytes instead of custom fetch (at that commit the files were still \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/fetchers/ThumbnailFetcher.kt\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/fetchers/TiffRegionFetcher.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/decoding/ThumbnailFetcher.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee61fc1af342deda9822cb4b81ff0c290572f9909946e8173817c394e1bf6ab"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RegionFetcher.kt \u2194 TiffRegionFetcher.kt: \u0060android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/decoding/TiffRegionFetcher.kt\u0060 change together 62% of the time (8 of the 13 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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006095d411da\u0060 bitmap conversion: ARGB_8888 -\u003E rgbaFloat32; \u00606a4c1e71\u0060 bitmap conversion: ARGB_8888 -\u003E RGBA_1010102 -\u003E rgbaFloat32; \u006050e2929e\u0060 stream image bytes instead of custom fetch (at that commit the files were still \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/fetchers/RegionFetcher.kt\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/fetchers/TiffRegionFetcher.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"675207c553f2c3189ef62bc44a25104e479ca2b183d595f35d01bf04e6bd49cd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PixyMetaHelper.kt \u2194 ImageProvider.kt: \u0060android/app/src/main/kotlin/deckers/thibault/aves/metadata/PixyMetaHelper.kt\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt\u0060 change together 60% of the time (6 of the 10 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060a5719afb\u0060 removed support for Android API \u003C 24; \u0060dcd42b70\u0060 #1471 check file length after metadata editing via PixyMeta; \u0060ffa23f44\u0060 minor \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/PixyMetaHelper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bee2f5f3ebdbb8eaf0fbc9f038347df1c232a91e19a89a585089b96b2fe154"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: entry_set_action_delegate.dart \u2192 album_set.dart, entry_info_action_delegate.dart, single_entry_editor.dart: \u0060lib/widgets/collection/entry_set_action_delegate.dart\u0060 changes together with 3 other files \u2014 \u0060lib/widgets/filter_grids/common/action_delegates/album_set.dart\u0060, \u0060lib/widgets/viewer/action/entry_info_action_delegate.dart\u0060, \u0060lib/widgets/viewer/action/single_entry_editor.dart\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc2bfc1399a23a6c8c3fb0d2594e94039d3e9a0c9e95e60afe4ec0f356dcaaa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AccessibilityHandler.kt \u2194 SettingsChangeStreamHandler.kt: \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AccessibilityHandler.kt\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/platformtodart/SettingsChangeStreamHandler.kt\u0060 change together 55% of the time (6 of the 11 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060bb5bbcc0\u0060 #1378 accessibility: apply system \u0022touch and hold delay\u0022 setting (at that commit the file was still \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/SettingsChangeStreamHandler.kt\u0060); \u0060ef2d0eef\u0060 removed pre-kitkat code (at that commit the file was still \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/SettingsChangeStreamHandler.kt\u0060); \u00603141e0ba\u0060 android lint (at that commit the file was still \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/SettingsChangeStreamHandler.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/AccessibilityHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"789b5adf918c639af66762167f0f585d62d73bd0859e8bd1fb030df8a9f88010"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ImageByteStreamHandler.kt \u2194 BitmapUtils.kt: \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ImageByteStreamHandler.kt\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/utils/BitmapUtils.kt\u0060 change together 54% of the time (13 of the 24 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u006095d411da\u0060 bitmap conversion: ARGB_8888 -\u003E rgbaFloat32; \u00606a4c1e71\u0060 bitmap conversion: ARGB_8888 -\u003E RGBA_1010102 -\u003E rgbaFloat32; \u0060d432d8a3\u0060 fixed decoding of streamed original bytes (at that commit the file was still \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/ImageByteStreamHandler.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/channel/streams/darttoplatform/ImageByteStreamHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6e8ba627e620c31aea710dd538eb1867b629dd8b4e4392f31158c47a735922"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DeviceHandler.kt \u2194 PixyMetaHelper.kt: \u0060android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/DeviceHandler.kt\u0060 and \u0060android/app/src/main/kotlin/deckers/thibault/aves/metadata/PixyMetaHelper.kt\u0060 change together 50% of the time (5 of the 10 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060a5719afb\u0060 removed support for Android API \u003C 24; \u00605e7a6013\u0060 upgrades, static analysis; \u0060dfcaf4d3\u0060 upgrades \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/DeviceHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ec8d55bba49103b693133b868435fc74d3dacd85746d3ecf64bdad301c8265"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: trash.dart \u2194 vaults.dart: \u0060lib/model/source/trash.dart\u0060 and \u0060lib/model/vaults/vaults.dart\u0060 change together 50% of the time (5 of the 10 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00602082e4b1\u0060 #2246 improved logs; \u0060ffbf0bd8\u0060 improved error reporting; \u006030602538\u0060 #971 duplicate detection \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/source/trash.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b73da03e9298fe98bac1f96cd7e205fe91d562d20041841fd9d62ddc5a4d4fb"}},{"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":"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":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch gradle/gitsubmodule: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060gradle\u0060, \u0060gitsubmodule\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b563c59748580d9931728564a9b6d9e5c3023a62c9a924e4dc9142d45465cf53"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060doExport\u0060 is async and calls listSync \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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccbe03556d4f593a0e00dad1e60ca70eaa243d68b5d5d83d2030ac68d43fac3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060doQuickMove\u0060 is async and calls listSync \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":"lib/widgets/common/action_mixins/entry_storage.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"56223ad6c800828da7b01da728d829effe73bf2901e182d9a6e719acc0de605b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_buildAlbumPath\u0060 is async and calls listSync \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":"lib/widgets/dialogs/filter_editors/create_stored_album_dialog.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b53c765bc5f1aae3d701193c7a167abeafd9491caa086c3cfc18d7ce6165d55"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository runs an HTTP server that is not bound to the loopback interface alone \u2014 or binds it at an address its source does not spell out \u2014 and nothing in its Dart source secures the transport: no \u0060HttpServer.bindSecure\u0060 or \u0060securityContext:\u0060, no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: pubspec.yaml:148 \u2014 depends on \u0060shelf\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Dart server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: pubspec.yaml:148 \u2014 depends on \u0060shelf\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"S1","level":"note","message":{"text":"No inbound request validation detected: No handler of this repository\u0027s Dart server answers 400, 413 or 422 (\u0060Response.badRequest\u0060, \u0060HttpStatus.badRequest\u0060, \u0060statusCode = 400\u0060) and no validation package (luthor, acanthis, ez_validator, json_schema, \u2026) is imported \u2014 nothing shows inbound requests being checked, and refused, before a handler acts on them. A check that answers its failure with 200 and an error body is not seen. (\u22122.0 on this card.) The server: pubspec.yaml:148 \u2014 depends on \u0060shelf\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0ffa303f3c9cef4b4c2cf028a78ce2f3c83f6078f80716eea7362fad047265eb"}},{"ruleId":"X1","level":"warning","message":{"text":"\u0060async\u0060 callback passed to \u0060forEach\u0060: \u0060forEach\u0060 takes a \u0060void\u0060 callback and never awaits what it returns, so the Future each \u0060async\u0060 call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that \u0060await\u0060s around this loop still returns early, and a resource it closes next is closed under the work), and an error is never handled \u2014 it surfaces as an uncaught asynchronous error, which terminates a command-line program and reaches only the zone\u0027s error handler in Flutter. Iterate with \u0060for (final item in items) { await \u2026 }\u0060 when the work must run in order, or \u0060await Future.wait(items.map((item) async { \u2026 }))\u0060 when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback\u0027s whole body a \u0060try { \u2026 } catch (e) { \u2026 }\u0060 that handles the failure, so it cannot escape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/aves_map/lib/src/marker/generator.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86afff718473c72dfb0a491b4f6a9d6dc4ce1c93bc2741cd9a1421ac68af253"}},{"ruleId":"X1","level":"warning","message":{"text":"\u0060async\u0060 callback passed to \u0060forEach\u0060: \u0060forEach\u0060 takes a \u0060void\u0060 callback and never awaits what it returns, so the Future each \u0060async\u0060 call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that \u0060await\u0060s around this loop still returns early, and a resource it closes next is closed under the work), and an error is never handled \u2014 it surfaces as an uncaught asynchronous error, which terminates a command-line program and reaches only the zone\u0027s error handler in Flutter. Iterate with \u0060for (final item in items) { await \u2026 }\u0060 when the work must run in order, or \u0060await Future.wait(items.map((item) async { \u2026 }))\u0060 when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback\u0027s whole body a \u0060try { \u2026 } catch (e) { \u2026 }\u0060 that handles the failure, so it cannot escape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/debug/os_storage.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9993343b9ce63bcd9699b55b23058528b343c93f381d05a99468d6922348bd77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!settings.useTvLayout \u0026\u0026 device.canRequestMediaManagementPermission\u0060 appears character-identically in 2 files \u2014 lib/widgets/settings/privacy/permissions/permissions_page.dart, lib/widgets/settings/privacy/permissions/permissions_tile.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":"lib/widgets/settings/privacy/permissions/permissions_page.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d93a905996ba167f57fe7b2c5f0245f49151b147d5e6c1f640ca18af4ff8da1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!snapshot.hasError \u0026\u0026 snapshot.connectionState == ConnectionState.done\u0060 appears character-identically in 2 files \u2014 lib/widgets/aves_app.dart, lib/widgets/viewer/info/location_section.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":"lib/widgets/aves_app.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e225284df254722455662a5bd4e2c879bca46f6c5e762d4baba738717744aaf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!vaults.isVault(dirPath) || !vaults.isLocked(dirPath)\u0060 appears character-identically in 2 files \u2014 lib/model/vaults/vaults.dart, lib/widgets/common/action_mixins/vault_aware.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":"lib/model/vaults/vaults.dart"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf1890fb3c5d93e7e8b21b4d7c25aa5f061fcb28cf2cade6d440be7296c77da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!isSelecting \u0026\u0026 hasItems) || (isSelecting \u0026\u0026 hasSelection)\u0060 appears character-identically in 2 files \u2014 lib/widgets/collection/entry_set_action_delegate.dart, lib/widgets/filter_grids/common/action_delegates/chip_set.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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b8ba346f679926b852f395c5715f055a7bc481a08208b89d92dbf37961e179"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060appMode.canEditEntry \u0026\u0026 !settings.isReadOnly\u0060 appears character-identically in 2 files \u2014 lib/widgets/viewer/action/entry_action_delegate.dart, lib/widgets/viewer/action/entry_info_action_delegate.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":"lib/widgets/viewer/action/entry_action_delegate.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7048859e1ee1a83388971f6ea37268cabbd8486bc65560a5121c5248b63351"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.entry.uri == entry.uri \u0026\u0026 c.entry.pageId == entry.pageId\u0060 appears character-identically in 3 files \u2014 lib/widgets/viewer/multipage/conductor.dart, lib/widgets/viewer/video/conductor.dart, lib/widgets/viewer/view/conductor.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":"lib/widgets/viewer/multipage/conductor.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39fd0a1089ceec697bbecc56cf106c25f2cdfbca413b0d760b238703f46889c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canNavigate \u0026\u0026 enableBottomNavigationBar\u0060 appears character-identically in 4 files \u2014 lib/widgets/collection/collection_page.dart, lib/widgets/explorer/page.dart, lib/widgets/filter_grids/common/filter_grid_page.dart, lib/widgets/navigation/nav_bar/nav_bar.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":"lib/widgets/collection/collection_page.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"880ab946a48bda99b73e9baaab647e4fa0e6d779fbca1f5b6c5f041a511f8fec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contextualMenuActions.isNotEmpty \u0026\u0026 contextualMenuActions.last == null\u0060 appears character-identically in 2 files \u2014 lib/widgets/collection/app_bar.dart, lib/widgets/filter_grids/common/app_bar.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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b69857e22fd428f2f45b17aab01f72e1580b87ec3cf9a130d7a51fcdd8b9075"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentFilters == null || currentFilters.length \u003E 1\u0060 appears character-identically in 2 files \u2014 lib/widgets/navigation/drawer/app_drawer.dart, lib/widgets/navigation/tv_rail.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":"lib/widgets/navigation/drawer/app_drawer.dart"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a9794ab29b402ac6cc60e64c5edeacae3528a9ad53d3668c60765a6007049"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060eq.equals(t1.$1, t2.$1) \u0026\u0026 eq.equals(t1.$2, t2.$2) \u0026\u0026 eq.equals(t1.$3, t2.$3)\u0060 appears character-identically in 3 files \u2014 lib/widgets/filter_grids/countries_page.dart, lib/widgets/filter_grids/places_page.dart, lib/widgets/filter_grids/states_page.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":"lib/widgets/filter_grids/countries_page.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2522f24f06a1c9d46ddf360b9c5493ed2ef4d6eb12dbcccce25b9adfa730c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event is PointerUpEvent || event is PointerCancelEvent\u0060 appears character-identically in 2 files \u2014 lib/widgets/common/behaviour/eager_scale_gesture_recognizer.dart, plugins/aves_magnifier/lib/src/core/scale_gesture_recognizer.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":"lib/widgets/common/behaviour/eager_scale_gesture_recognizer.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3207dd2678a12adcd73c6c64da918c630f93dd6bbc4d0f346e83ddd710ccf0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter is StoredAlbumFilter \u0026\u0026 vaults.isLocked(filter.album)\u0060 appears character-identically in 2 files \u2014 lib/model/covers.dart, lib/widgets/filter_grids/common/filter_tile.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":"lib/model/covers.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7d28cd2ba6e4152f5ad2c40342ce4a77dc4e8050bd10af4164a29f2e3df287"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isMain \u0026\u0026 isSelecting \u0026\u0026 !settings.isReadOnly\u0060 appears character-identically in 2 files \u2014 lib/widgets/filter_grids/common/action_delegates/album_set.dart, lib/widgets/filter_grids/common/action_delegates/tag_set.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":"lib/widgets/filter_grids/common/action_delegates/album_set.dart"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0f5e0a7a30fd66eb94ce936af0c1c08c20284cdf972585f8bf207f5f081b24"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isSelecting \u0026\u0026 selectedItemCount == itemCount\u0060 appears character-identically in 2 files \u2014 lib/widgets/collection/entry_set_action_delegate.dart, lib/widgets/filter_grids/common/action_delegates/chip_set.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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9bcbbe29501cf956fe270b00dfef7b8b1dc40ed85db1d7f297bed1a76294f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060jsonString == null || jsonString.isEmpty\u0060 appears character-identically in 3 files \u2014 lib/model/grouping/common.dart, lib/widgets/navigation/nav_item.dart, plugins/aves_map/lib/src/style.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":"lib/model/grouping/common.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"390863818bec3d136125c49776aca9722f034fde1b2b579a106bfdd53b665b8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060latitude \u003E= -90.0 \u0026\u0026 latitude \u003C= 90.0 \u0026\u0026 longitude \u003E= -180.0 \u0026\u0026 longitude \u003C= 180.0\u0060 appears character-identically in 2 files \u2014 lib/model/media/geotiff.dart, lib/model/metadata/catalog.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":"lib/model/media/geotiff.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed37136f887d84fcd591595184545766883ea6f0a90bcb179d27f9d7dee204f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nativeA?.month == month \u0026\u0026 nativeA?.day == day\u0060 appears character-identically in 2 files \u2014 lib/locale/calendar/ops/hijri.dart, lib/locale/calendar/ops/persian.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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c0bb50caa158a4ff96ca964487cf28778682a2bee3cf32e8a9feab090e8816"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nativeA?.year == nativeB?.year \u0026\u0026 nativeA?.month == nativeB?.month\u0060 appears character-identically in 2 files \u2014 lib/locale/calendar/ops/hijri.dart, lib/locale/calendar/ops/persian.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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22c92b3b8efe1c628abd97effd3ac26260e2ed2bcd2b5666d4c7091ea91b906"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nativeA?.year == nativeB?.year \u0026\u0026 nativeA?.month == nativeB?.month \u0026\u0026 nativeA?.day == nativeB?.day\u0060 appears character-identically in 2 files \u2014 lib/locale/calendar/ops/hijri.dart, lib/locale/calendar/ops/persian.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":"lib/locale/calendar/ops/hijri.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1f593bc908ec6398fcecdcfc5773de356554fc8d33be74903de6a5eabc8d63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newTags.length == currentTags.length \u0026\u0026 newTags.every(currentTags.contains)\u0060 appears character-identically in 2 files \u2014 lib/widgets/collection/entry_set_action_delegate.dart, lib/widgets/viewer/action/entry_info_action_delegate.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":"lib/widgets/collection/entry_set_action_delegate.dart"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b946fd7fc4cc98dd1e9065e5b29df3bbb23761e54a1254c33d78117dcf44c2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pinnedMapEntries.isNotEmpty || unpinnedMapEntries.isNotEmpty\u0060 appears character-identically in 3 files \u2014 lib/widgets/filter_grids/countries_page.dart, lib/widgets/filter_grids/places_page.dart, lib/widgets/filter_grids/states_page.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":"lib/widgets/filter_grids/countries_page.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"31012fc6589f7ae38f6694a60c11ae4148d8762f3701cf9465e44791cbd821dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060progress.total != 0 \u0026\u0026 sourceState != SourceState.locatingCountries\u0060 appears character-identically in 2 files \u2014 lib/services/analysis_service.dart, lib/widgets/common/bars/app_bar_subtitle.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":"lib/services/analysis_service.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5d3c18a562c0a684f94aa55b855ed2ba34becbf80d4088cf0b484f407e9dbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selection == null || !selection.isSelecting\u0060 appears character-identically in 2 files \u2014 lib/widgets/collection/collection_grid.dart, lib/widgets/filter_grids/common/filter_nav_page.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":"lib/widgets/collection/collection_grid.dart"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"1056bf8c9e85746012344ff8fe13a3714b381e6e5350c0ff5b6080e7df004611"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060snapshot.hasError || snapshot.connectionState != ConnectionState.done\u0060 appears character-identically in 2 files \u2014 lib/widgets/about/policy_page.dart, lib/widgets/welcome_page.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":"lib/widgets/about/policy_page.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3a17ddb3d44173ecf40d0c15c1c44e54330e3050fc7804aa9fe8e2e4c0d7dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v == null \u0026\u0026 (prev.isEmpty || prev.last == null)\u0060 appears character-identically in 2 files \u2014 lib/widgets/collection/app_bar.dart, lib/widgets/filter_grids/common/app_bar.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":"lib/widgets/collection/app_bar.dart"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dce126732c413f2d1911f250294ab410ef8a635ab9ebb7b61ff3ac18ba7f00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060year != null \u0026\u0026 month != null \u0026\u0026 day != null\u0060 appears character-identically in 2 files \u2014 lib/model/media/video/metadata.dart, lib/utils/time_utils.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":"lib/model/media/video/metadata.dart"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7d63ff57a51cc9a1ad9991e7886894e589f3f4f75cc0d8406790f6335bb6fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Build.VERSION.SDK_INT \u003C Build.VERSION_CODES.Q || context !is Activity\u0060 appears character-identically in 2 files \u2014 android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt, android/app/src/main/kotlin/deckers/thibault/aves/model/provider/MediaStoreImageProvider.kt. 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/ImageProvider.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafcee52c9fb29f5d254dfc7fe8d35faded482204f473636e2b7f0711a822acb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allowUnsized || entry.isSized || entry.isSvg || entry.isVideo\u0060 appears character-identically in 2 files \u2014 android/app/src/main/kotlin/deckers/thibault/aves/model/provider/FileImageProvider.kt, android/app/src/main/kotlin/deckers/thibault/aves/model/provider/UnknownContentProvider.kt. 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":"android/app/src/main/kotlin/deckers/thibault/aves/model/provider/FileImageProvider.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b17f4b8b9d67150f7159fe6d14247fff6b2009c17e27bca1568f6b9c96d608"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it is ExifDirectoryBase \u0026\u0026 it.tagCount \u003E 0\u0060 appears character-identically in 2 files \u2014 android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt, android/app/src/main/kotlin/deckers/thibault/aves/metadata/MultiPage.kt. 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/MetadataFetchHandler.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"47abb39a0cadfd30052b0a2f0a868a3acd6d0c7fa27222c34dba2d4e91a84d7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mpEntries != null \u0026\u0026 pageIndex \u003C mpEntries.size\u0060 appears character-identically in 2 files \u2014 android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt, android/app/src/main/kotlin/deckers/thibault/aves/metadata/MultiPage.kt. 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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/EmbeddedDataHandler.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b65ab68fe90d86249af3f03cf5dfc06c32a093380fa132f8033e8a2da5be6dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pageId != null \u0026\u0026 MultiPageImage.isSupported(mimeType)\u0060 appears character-identically in 4 files \u2014 android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt, android/app/src/main/kotlin/deckers/thibault/aves/decoding/ThumbnailFetcher.kt, android/app/src/main/kotlin/deckers/thibault/aves/glide/AvesAppGlideModule.kt, android/app/src/main/kotlin/deckers/thibault/aves/utils/MimeTypes.kt. 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":"android/app/src/main/kotlin/deckers/thibault/aves/decoding/RegionFetcher.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0c8ef16bdcf22eaf6082ddb593d8c2dc6e07bfd9a69a97af95aba82c0c43ac"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060jpegLength\u0060 is read from the bytes being parsed at line 6049 (\u0060getInt\u0060), then used to size a \u0060new byte[]\u0060 at line 6052 \u2014 and nowhere in its scope is \u0060jpegLength\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an \u0060OutOfMemoryError\u0060 or, negative, throws \u0060NegativeArraySizeException\u0060 out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060jpegLength\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/exifinterface/src/main/java/androidx/exifinterface/media/ExifInterfaceFork.java"},"region":{"startLine":6052}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6dfc4d89ebf435d31aa93845cf4ecf81ac4d7888f08c745bae2b823d9123a5"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060ExoVideoController\u0060 carries a disposal duty \u2014 it declares its own release \u2014 and it creates \u0060_eventStreamController\u0060 itself (line 15, \u0060StreamController.broadcast\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_eventStreamController.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController.broadcast\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_eventStreamController.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/aves_video_exo/lib/src/controller_video.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6f404595aa3d9b86a046d2c8c70b5cadf30b15ee90b58f70afde935f5ecb52"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_EntryGoogleMapState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_markerBitmapReadyStreamController\u0060 itself (line 42, \u0060StreamController.broadcast\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_markerBitmapReadyStreamController.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController.broadcast\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_markerBitmapReadyStreamController.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/aves_services_google/lib/src/map.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"10986817b42acf99bbccd0ce282f0de6b6ab3bd8a7975acc79b98db3876a87aa"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_ViewerDetailOverlayState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_detailStreamController\u0060 itself (line 39, \u0060StreamController.broadcast\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_detailStreamController.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController.broadcast\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_detailStreamController.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/viewer/overlay/top/details/details.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77abb4c579bce44fbc7e1018b025b13098dca8bb46982ba845c3b5218dbd94b"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060MultiPageController\u0060 carries a disposal duty \u2014 it declares its own release \u2014 and it creates \u0060_infoStreamController\u0060 itself (line 17, \u0060StreamController.broadcast\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_infoStreamController.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController.broadcast\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_infoStreamController.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/viewer/multipage/controller.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ba8b88ce4220ee437864470c3bc030f419d41d1ada9b05ca713bd56aa3eb11"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_ExplorerPageState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_draggableScrollBarEventStreamController\u0060 itself (line 42, \u0060StreamController.broadcast\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_draggableScrollBarEventStreamController.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController.broadcast\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_draggableScrollBarEventStreamController.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/explorer/page.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31ec2ffa4c0a7caeb10c973d628989b07f61fc2b324d7aee649b7866e20fb69"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060TransformController\u0060 carries a disposal duty \u2014 it declares its own release \u2014 and it creates \u0060_transformationStreamController\u0060 itself (line 23, \u0060StreamController.broadcast\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_transformationStreamController.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController.broadcast\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_transformationStreamController.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/editor/transform/controller.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf56ea2ea9b95c904f6db3580e0e8b8284e28cc19972de1f9bde2796071b8ff"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060TransformController\u0060 carries a disposal duty \u2014 it declares its own release \u2014 and it creates \u0060_activityStreamController\u0060 itself (line 27, \u0060StreamController.broadcast\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_activityStreamController.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController.broadcast\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_activityStreamController.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/editor/transform/controller.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"478b9f9500a81700e421930368bcc4f905a91e6c785a30f7816f8a4539edd1d3"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060ChooserQuickButtonState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_moveUpdateStreamController\u0060 itself (line 28, \u0060StreamController.broadcast\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_moveUpdateStreamController.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController.broadcast\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_moveUpdateStreamController.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/common/action_controls/quick_choosers/common/button.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db87c9618cfbea56b8b498497423b8d75a2898f20021d2c437502232309a40f"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060_CollectionPageState\u0060 carries a disposal duty \u2014 a \u0060State\u0060, so the framework calls its \u0060dispose()\u0060 when it leaves the tree \u2014 and it creates \u0060_draggableScrollBarEventStreamController\u0060 itself (line 50, \u0060StreamController.broadcast\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_draggableScrollBarEventStreamController.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController.broadcast\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_draggableScrollBarEventStreamController.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/widgets/collection/collection_page.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4ba8e195a680bd54f06030e9f0e6e7ca7df62b8a9153c70189333959db0332"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060Query\u0060 carries a disposal duty \u2014 it declares its own release \u2014 and it creates \u0060_enabledStreamController\u0060 itself (line 9, \u0060StreamController.broadcast\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_enabledStreamController.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController.broadcast\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_enabledStreamController.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model/query.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c482c7794b74d9f0ae5842f6462faa25cf441cd540ce2bcc637e1a704b04037"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error)\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":"lib/widgets/viewer/debug/utils.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f6208ae2dcdd169be9e9ff8c799a5f17f713a463058843a611fd9e009ead93"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error)\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":"lib/widgets/dialogs/entry_editors/edit_location_dialog.dart"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b0d1ae0f107c343ee36cfb212c65fadf4810c0e31952dcc6117302ccd43d19"}},{"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":"lib/model/filters/covered/location.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"617e011e160608cec7ed91008d4ea65486a36ac8264d6feefcb734221f06d949"}},{"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":"android/exifinterface/src/main/java/androidx/exifinterface/media/ExifInterfaceFork.java"},"region":{"startLine":5775}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca349dcf15770838770e23f1588b473b2f57a4f66c38feebcc8dfc036816f3e6"}},{"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":"android/exifinterface/src/main/java/androidx/exifinterface/media/ExifInterfaceFork.java"},"region":{"startLine":5802}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92c9a21bb490d79bc9c6fe0c37609890df616dbec5876e295cf3c20dd693a2d"}},{"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":"android/exifinterface/src/main/java/androidx/exifinterface/media/ExifInterfaceUtilsFork.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fabd541fac0d5bba4b2da55777597ed3c4f9dfbad46eea753e9d164348d612"}},{"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":"android/app/src/main/kotlin/deckers/thibault/aves/storage/StorageUtils.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce7dd1e2567e7ea3de779c754a608c50026b69bcc04d8e0fb0bee26a240a9dc"}},{"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":"android/app/src/main/kotlin/deckers/thibault/aves/model/SourceEntry.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"449b60947001a3b9a46392ed7c37d868cb6c55f9c99d4748ddc85b8613f381ac"}},{"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":"android/app/src/main/kotlin/deckers/thibault/aves/model/SourceEntry.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca59cf408626a9c12fa94320552088546f0934bea9113b091c8be33958a56c8"}},{"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":"android/app/src/main/kotlin/deckers/thibault/aves/model/SourceEntry.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a641c10c6ba8a793da477b5f2eea35a42a30bfc9f60f56ddfc354b07d80fd2"}},{"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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/Metadata.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"23eca86b40d8ec073ff3de27645f58aabcfe60f04b3b55ee308fa6c29fc904e7"}},{"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":"android/app/src/main/kotlin/deckers/thibault/aves/metadata/metadataextractor/MetadataExtractorHelper.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"45664c303e4133ed9eff4b3dafeadd7cfdb8c34c03ddaea135d9bd657b8e39a6"}},{"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":"android/app/src/main/kotlin/deckers/thibault/aves/glide/VideoThumbnailGlideModule.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c4bca12447adc16ad80c580cebd61f39a4bb4f2feb9e2aac381542c50e56e1"}},{"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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/DebugHandler.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f44f8257a02bcf2adff60281e8da2944db476794d702026af34c72261aac81"}},{"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":"android/app/src/main/kotlin/deckers/thibault/aves/channel/calls/StorageHandler.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7dd89aa52c1003920ab8078f4c17a620a27c5c61d1a5ab917a6db5f36a5510a"}}],"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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.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-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.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-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"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":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_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-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-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":11,"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."]}]}