{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"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":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"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":"ImageUtil.chooseBackground (cyclomatic 71): ImageUtil.chooseBackground has cyclomatic complexity 71 (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":"core/common/src/main/java/tachiyomi/core/common/util/system/ImageUtil.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d031db28a0a8515d2b21376f3feeed0997b53dbb1844c67a911a1d22dab3918b"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerControlsKt.PlayerControls (cyclomatic 46): PlayerControlsKt.PlayerControls has cyclomatic complexity 46 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1fda16144e3822b052be9e19bdd7072b9405a2b4d9a1c50d2d75c77fd6b27e"}},{"ruleId":"D1","level":"warning","message":{"text":"GestureHandlerKt.GestureHandler (cyclomatic 40): GestureHandlerKt.GestureHandler has cyclomatic complexity 40 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/GestureHandler.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b77f3fda933146c7cbe11c4f975a7279d8c329866b7c3d75795dcd9c8cd1361"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerViewModel.handleLuaInvocation (cyclomatic 37): PlayerViewModel.handleLuaInvocation 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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef7a3d15c60706bddcefa0561cd9fd11eabcefba15e8c44f67de7298ef6839e"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeScreen.Content (cyclomatic 32): AnimeScreen.Content has cyclomatic complexity 32 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc48eab9953b3f86623be1a342b0f7171aa54ccc5fcfa1aab6d0483298a3809d"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationReceiver.onReceive (cyclomatic 29): NotificationReceiver.onReceive has cyclomatic complexity 29 (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":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"57270703facfbce4fce37937151b57a2a8238d1231dce65edd9dd45afec5379a"}},{"ruleId":"D1","level":"warning","message":{"text":"MainActivity.handleIntentAction (cyclomatic 29): MainActivity.handleIntentAction has cyclomatic complexity 29 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"deaad9b45936d151e079d376097b6e138d82c91177b78114e106605bfd442a43"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncEpisodesWithSource.await (cyclomatic 28): SyncEpisodesWithSource.await 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":"app/src/main/java/eu/kanade/domain/items/episode/interactor/SyncEpisodesWithSource.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5809ad7acf7c50bca27f29c10a405827a83d37119a3824923b62fc5ef97e619a"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncChaptersWithSource.await (cyclomatic 27): SyncChaptersWithSource.await 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":"app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabe98dc76f0cdcdd746737d7b9b6d10c956c96069b135248ec76b669e2627f8"}},{"ruleId":"D1","level":"warning","message":{"text":"MainActivity.onCreate (cyclomatic 27): MainActivity.onCreate 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":"app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abfb8cfe05ecf7ce73931469b1f46d0cfebc97660139b14d4f0d5cb5039638c"}},{"ruleId":"D1","level":"warning","message":{"text":"PagerViewer.handleKeyEvent (cyclomatic 27): PagerViewer.handleKeyEvent 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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6682eced3159707186ea1f84d847858704a5d6027ca2b505167649eae80598"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeLibraryScreenModel.applySort (cyclomatic 26): AnimeLibraryScreenModel.applySort has cyclomatic complexity 26 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcdc860bdc58af2047894d57180d9b35af0c6296706c365ed5c491d9c39a0d7"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeScreen.Content (cyclomatic 24): HomeScreen.Content has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"695f462395b138f30f5f559f15c6606aa2c3718ce04a2748524745f19f3ebc60"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeInfoHeaderKt.AnimeContentInfo (cyclomatic 22): AnimeInfoHeaderKt.AnimeContentInfo has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6c7decaabd29332b15d438af75ddea24e0e50f7112d0573347c1616306bd62"}},{"ruleId":"D1","level":"warning","message":{"text":"PreferenceItemKt.PreferenceItem (cyclomatic 22): PreferenceItemKt.PreferenceItem has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8318e5b9332919e0270af3fc6e2aa97528069fd7dc9c17f60956405ae66c02c3"}},{"ruleId":"D1","level":"warning","message":{"text":"MangaScreen.Content (cyclomatic 22): MangaScreen.Content has cyclomatic complexity 22 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3ca8d15fc4d5b5f89f9af19c770a5b8c23888aedc19d1cc59319c860c48aa1"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeExtensionLoader.loadExtension (cyclomatic 21): AnimeExtensionLoader.loadExtension 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3de7ca56087c96a145a081b73ac8418bc43e6f36d748dc6cea59e21a7314d2"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadsTab.Content (cyclomatic 21): DownloadsTab.Content 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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5c2a7ad8ed7f9c474734bbd980611e1ab10f9acde840de8df0259eda6a36a9"}},{"ruleId":"D1","level":"warning","message":{"text":"Detector.onTouchEvent (cyclomatic 21): Detector.onTouchEvent 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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonRecyclerView.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddf020a7e541662d09c28a35c090dbc7d8781c7af87a0f89cd8feee1ea89831"}},{"ruleId":"D1","level":"warning","message":{"text":"WebtoonViewer.handleKeyEvent (cyclomatic 21): WebtoonViewer.handleKeyEvent 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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"214e80315aeca69ea4affdf1abce4c65f51399788acca748d2589e872c711921"}},{"ruleId":"D1","level":"warning","message":{"text":"EntryBottomActionMenuKt.EntryBottomActionMenu (cyclomatic 20): EntryBottomActionMenuKt.EntryBottomActionMenu 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":"app/src/main/java/eu/kanade/presentation/entries/components/EntryBottomActionMenu.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5865a286b98e6a94a96c3df7d320bf3131dd7e891f392a32b901ed32c03473c7"}},{"ruleId":"D1","level":"warning","message":{"text":"MangaInfoHeaderKt.MangaContentInfo (cyclomatic 20): MangaInfoHeaderKt.MangaContentInfo has cyclomatic complexity 20 (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":"app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"318faaa4c7c16f7b4016cef423e98504e870dba9ed30f07e102bb7e63525551d"}},{"ruleId":"D1","level":"warning","message":{"text":"MangaLibraryTab.Content (cyclomatic 20): MangaLibraryTab.Content 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa149d824f2b3bb4af5280d4816d28d93a3e7757e5b103f9faab60db4ccdc0e"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeExtensionsScreenKt.AnimeExtensionContent (cyclomatic 19): AnimeExtensionsScreenKt.AnimeExtensionContent has cyclomatic complexity 19 (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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d982ba442ff4279a0313222c9c666d78402afc030020023ed2b7ff8645aaf00b"}},{"ruleId":"D1","level":"warning","message":{"text":"MangaExtensionsScreenKt.ExtensionContent (cyclomatic 19): MangaExtensionsScreenKt.ExtensionContent has cyclomatic complexity 19 (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":"app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd16a3d42e48351c6a980ca1d8e5d15c5f6d2de25c160b3d68862a183a1f312d"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerSettingsTorrentScreen.getPreferences (cyclomatic 19): PlayerSettingsTorrentScreen.getPreferences 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsTorrentScreen.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e275882fa6a0ab46734bdb640502017e76f26f4997ee44d9f9144616156fcda8"}},{"ruleId":"D1","level":"warning","message":{"text":"PreferenceRestorer.restorePreferences (cyclomatic 19): PreferenceRestorer.restorePreferences 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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/PreferenceRestorer.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"582b508b0c17d0dd85bfecc44c5515095658728bdc05e3cf563bba439ac2f856"}},{"ruleId":"D1","level":"warning","message":{"text":"MangaExtensionLoader.loadMangaExtension (cyclomatic 19): MangaExtensionLoader.loadMangaExtension has cyclomatic complexity 19 (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":"app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bcbdd505691daa6b0be9d32a7264f12e4e383a29d8aa727586bdaf434f0d02"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeScreenModel.toggleSelection (cyclomatic 19): AnimeScreenModel.toggleSelection 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb156233da4568639113f4cb1c497ca6414bcc8a72ff6edfeaf5e5caa01817f"}},{"ruleId":"D1","level":"warning","message":{"text":"MangaScreenModel.toggleSelection (cyclomatic 19): MangaScreenModel.toggleSelection 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acfb41ddc4d0b5f5280d7a5057cee8622f974f13c7e6e13f80812e6ff8a8705"}},{"ruleId":"D1","level":"warning","message":{"text":"MangaLibraryScreenModel.applySort (cyclomatic 19): MangaLibraryScreenModel.applySort has cyclomatic complexity 19 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb02c13dfeec39a496fa32cd2416fd87016c341be1e3156a6e34b59fc3fb7a3"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeScreenKt.AnimeScreenSmallImpl (cyclomatic 18): AnimeScreenKt.AnimeScreenSmallImpl 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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2dae185e4fcd613cba4cd6f3884f12234a5266d722e12e060b4affc6b796d4"}},{"ruleId":"D1","level":"warning","message":{"text":"TriStateListDialogKt.TriStateListDialog (cyclomatic 18): TriStateListDialogKt.TriStateListDialog 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/widget/TriStateListDialog.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2331516f6e4e252b371225305cacdbf518f0e5e6766deaaaeb44f9219d9df736"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeLibraryUpdateJob.addAnimeToQueue (cyclomatic 18): AnimeLibraryUpdateJob.addAnimeToQueue 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f21020d16c40524235d95629f0afc21417ebb0d657c24451ecc80a48ac4076"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeLibraryTab.Content (cyclomatic 18): AnimeLibraryTab.Content has cyclomatic complexity 18 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"67098a2b86ea511bbb3d2bab440e668062b8821a35f4d33502774ec313f50473"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupRestorer.restoreFromFile (cyclomatic 17): BackupRestorer.restoreFromFile 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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/BackupRestorer.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6c1d0dbbec9c8eb555df0d36ccf8504ec51998f3aa1e252011cde9c382fed3"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrateAnimeDialogScreenModel.migrateAnimeInternal (cyclomatic 17): MigrateAnimeDialogScreenModel.migrateAnimeInternal 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"409873b431817f701e9f8fbd4b8a6ce9d5371ef3115a5726e43b063d1f682acf"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowseAnimeSourceScreen.Content (cyclomatic 16): BrowseAnimeSourceScreen.Content has cyclomatic complexity 16 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4eaba5684b6bee07112188dae5245319f0417ed57f1efb3ccfbfe8654a30f9"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrateMangaDialogScreenModel.migrateMangaInternal (cyclomatic 16): MigrateMangaDialogScreenModel.migrateMangaInternal 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaDialog.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac08fd0fdcf2ea34eb781c7079d031b61cfb8e734115a328d283eab5bf53b790"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowseMangaSourceScreen.Content (cyclomatic 16): BrowseMangaSourceScreen.Content has cyclomatic complexity 16 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5d41839c0b20919a1dc0bd3ddfc325613ee7f4d14afd0a931798dc6c69b949"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderActivity.initializeMenu (cyclomatic 16): ReaderActivity.initializeMenu 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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bf251055564be4ce34bbc2e827f515da1407113396488c88c3f88b9167f209"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimeUpdatesScreenModel.toggleSelection (cyclomatic 16): AnimeUpdatesScreenModel.toggleSelection 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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"5585777bf142958278a2ddaa1bf662bbe49718088b98c688d75ffbdaff162ceb"}},{"ruleId":"D1","level":"warning","message":{"text":"MangaUpdatesScreenModel.toggleSelection (cyclomatic 16): MangaUpdatesScreenModel.toggleSelection 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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa800ff23972509294a994f33589705949fedabc656c52551da31de47d720bd"}},{"ruleId":"D1","level":"warning","message":{"text":"ButtonElevation.animateElevation (cyclomatic 16): ButtonElevation.animateElevation has cyclomatic complexity 16 (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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Button.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28bebd02d72a9cbcdea4161f09be7f962f000aee0af6b888c57cc27160f04e2"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageUtil.chooseBackground (cognitive 108): ImageUtil.chooseBackground has cognitive complexity 108 (threshold 15). Drivers by points: if/else 28 (61 pts), boolean chains 30, match/switch 6 (14 pts), loops 2 (3 pts) (nesting depth added 42). 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":"core/common/src/main/java/tachiyomi/core/common/util/system/ImageUtil.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"269ed1abcb1fb446051bc87787322b6762d85377e871a47887486aa93393c3ba"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerControlsKt.PlayerControls (cognitive 68): PlayerControlsKt.PlayerControls has cognitive complexity 68 (threshold 15). Drivers by points: if/else 50 (54 pts), boolean chains 12, match/switch 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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"462c7ccb438cd89c7d448999279e85afcd45178f104506db8bd9ec99de2c7fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"GestureHandlerKt.GestureHandler (cognitive 59): GestureHandlerKt.GestureHandler has cognitive complexity 59 (threshold 15). Drivers by points: if/else 38 (49 pts), boolean chains 10 (nesting depth added 11). 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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/GestureHandler.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd19fc0c803ec042ff061afcd333e3cc16d4c84d3dd04368d76373b46b7c4c86"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncEpisodesWithSource.await (cognitive 52): SyncEpisodesWithSource.await has cognitive complexity 52 (threshold 15). Drivers by points: if/else 22 (44 pts), boolean chains 7, loops 1 (nesting depth added 22). 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":"app/src/main/java/eu/kanade/domain/items/episode/interactor/SyncEpisodesWithSource.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"297f8f4eedae1925d733682efe02cf3ff446bb2a8de797fd12f95440d7e4c034"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncChaptersWithSource.await (cognitive 45): SyncChaptersWithSource.await has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (36 pts), boolean chains 8, loops 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":"app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21f175e914326777ea4754d10ce9099c737e1f2518f8f36342836c5dc64b617"}},{"ruleId":"D2","level":"warning","message":{"text":"PagerViewer.handleKeyEvent (cognitive 40): PagerViewer.handleKeyEvent has cognitive complexity 40 (threshold 15). Drivers by points: if/else 20 (37 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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"3070d55feee001a89243ce25c7509fe9b50709eef0d023cd25dce4f616da559e"}},{"ruleId":"D2","level":"warning","message":{"text":"Detector.onTouchEvent (cognitive 37): Detector.onTouchEvent has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 4, match/switch 1 (nesting depth added 18). 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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonRecyclerView.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"615a5e909358494ad5400ad88a3bf7ac5ed534f8f5db55c7e006ecff368711d9"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadsTab.Content (cognitive 31): DownloadsTab.Content has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (25 pts), match/switch 6 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"406f6a379ab661c827a8c06a5a42b21cb77970e9f7afbba127570ced69b933f0"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeScreen.Content (cognitive 31): AnimeScreen.Content has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 6, match/switch 2 (4 pts), error handling 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8241854f41891a70a5f492290b61ac99c69f78c8b5849d200070597b221fa2f"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeScreenModel.toggleSelection (cognitive 31): AnimeScreenModel.toggleSelection has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 5 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb6ec82a6f49ce8a888b8d97daf5afc64cf85ef6df57e3ff9fba491949bd205"}},{"ruleId":"D2","level":"warning","message":{"text":"MangaScreenModel.toggleSelection (cognitive 31): MangaScreenModel.toggleSelection has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 5 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"02502ac95eeafb49964cfe027c7fcd3505cb61b229fc45d65c237f2a09ea8efc"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.loadHosters (cognitive 31): PlayerViewModel.loadHosters has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 1, error handling 1 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"984759771132493b4b319151296d0891e47aa5640498273fb0d26a83d815818c"}},{"ruleId":"D2","level":"warning","message":{"text":"EntryBottomActionMenuKt.EntryBottomActionMenu (cognitive 29): EntryBottomActionMenuKt.EntryBottomActionMenu has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22 (27 pts), boolean chains 2 (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":"app/src/main/java/eu/kanade/presentation/entries/components/EntryBottomActionMenu.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8be4cac864b13ad7b93cd7db1986ad8f86550da6ed8d26269b3b76a6be7ee3"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivity.onCreate (cognitive 29): MainActivity.onCreate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 12, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1280d5e2d41118888cba052600dfbb9284f102b51e0174f354de2483c90174e4"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeLibraryScreenModel.applySort (cognitive 28): AnimeLibraryScreenModel.applySort has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (22 pts), match/switch 4 (6 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d39e2b13fdc3eff003daa31c069a42ad7b9341b30c17acd7b8effdeff2e64e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeUpdatesScreenModel.toggleSelection (cognitive 28): AnimeUpdatesScreenModel.toggleSelection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (26 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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20754e598183dcad2c789ca2bc511b259456a85f14167139cf4e55c2c63fa12"}},{"ruleId":"D2","level":"warning","message":{"text":"MangaUpdatesScreenModel.toggleSelection (cognitive 28): MangaUpdatesScreenModel.toggleSelection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (26 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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c7bd9c702ed1497609d2b74a7b7cf71dbfd659e7f6ed87b4907c04e754cf5d"}},{"ruleId":"D2","level":"warning","message":{"text":"HighlightKt.toAnnotatedString (cognitive 27): HighlightKt.toAnnotatedString has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 3 (6 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 18). 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/codeeditor/Highlight.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adfd4ce55e4c0b0a8e17936fe5c32656b00f4d07f5a12034187cca0d32cff2f"}},{"ruleId":"D2","level":"warning","message":{"text":"PreferenceRestorer.restorePreferences (cognitive 26): PreferenceRestorer.restorePreferences has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (24 pts), error handling 1, match/switch 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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/PreferenceRestorer.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc793bf5ce6c1f88c0cd1b4a9701543e43a053bb4fa61424dae116cd0d0ce92"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.handleLuaInvocation (cognitive 26): PlayerViewModel.handleLuaInvocation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 7 (13 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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a912a74084027a29b11f86704cbecd1340b59c61c9a104907de51f1d97cddf"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeScreenKt.AnimeScreenSmallImpl (cognitive 24): AnimeScreenKt.AnimeScreenSmallImpl has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 3, match/switch 3 (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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ea4c33521c28402713e136a989e8eb5f5c3271626db323393c187d9bc999bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChapterNavigatorKt.ChapterNavigator (cognitive 24): ChapterNavigatorKt.ChapterNavigator has cognitive complexity 24 (threshold 15). Drivers by points: if/else 22 (24 pts) (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":"app/src/main/java/eu/kanade/presentation/reader/components/ChapterNavigator.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7a4ed0b6e6d227d214fd57d6accfaa25ae557225c90dc6319bc1488e0368a5"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrateAnimeDialogScreenModel.migrateAnimeInternal (cognitive 24): MigrateAnimeDialogScreenModel.migrateAnimeInternal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaea8531eeed06107cddf081edb9c1711b2d88c8727b2f0d8fe28f9b81e2b07"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowseMangaSourceScreenModel.searchGenre (cognitive 24): BrowseMangaSourceScreenModel.searchGenre has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95c9376c16aea2fa5dd08aca409f484d83bae74dc86bf9c01eb1fb537c6d22d"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeScreenModel.toggleFavorite (cognitive 24): AnimeScreenModel.toggleFavorite has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"691882c7f94b769b8bdcad5fc60f52ffe860cd49917e9705a668ff20c5f69ab0"}},{"ruleId":"D2","level":"warning","message":{"text":"MangaScreenModel.toggleFavorite (cognitive 24): MangaScreenModel.toggleFavorite has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"02336ba6026bf8d7df689f3a55426325698d4c81cdae5ad08f1c81d3cf8e7f34"}},{"ruleId":"D2","level":"warning","message":{"text":"WebtoonViewer.handleKeyEvent (cognitive 24): WebtoonViewer.handleKeyEvent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2, 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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a577884b5ce63b3334c9c9feb8c0bbff09d6ad0e6cb562bb6d4538a89679f36"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeInfoHeaderKt.AnimeActionRow (cognitive 23): AnimeInfoHeaderKt.AnimeActionRow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19 (22 pts), match/switch 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0286e924a5f05a6b98cceae778dacda70ec61607dbea6f11feb368bea9868d"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeExtensionLoader.loadExtension (cognitive 23): AnimeExtensionLoader.loadExtension has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10, error handling 4 (5 pts), boolean chains 4, match/switch 3 (4 pts) (nesting depth added 2). 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4704d54359fc3a564aff78b66e147b8b00d6722a36b689440f1218691671d8c"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowseAnimeSourceScreenModel.searchGenre (cognitive 23): BrowseAnimeSourceScreenModel.searchGenre has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8059d848f4e53d7117def796bc7a76bcd65ab23d796ae610540664a6675b9182"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrateMangaDialogScreenModel.migrateMangaInternal (cognitive 23): MigrateMangaDialogScreenModel.migrateMangaInternal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaDialog.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5e59ba5008c42f35c509255b4b4ddf16961fcb924686fd0efde3130249e7e3"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeScreen.Content (cognitive 23): HomeScreen.Content has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 7, match/switch 2 (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":"app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d022fd0ad911e98f10c4da4d25361032ced2fe9e89a2ef0c0598db7d45dae881"}},{"ruleId":"D2","level":"warning","message":{"text":"MangaLibraryTab.Content (cognitive 23): MangaLibraryTab.Content has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4, match/switch 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, 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e4c4022933d59c00221d2ede56bcf34e74d3f9001838533ea76a7645f0c52f"}},{"ruleId":"D2","level":"warning","message":{"text":"ItemsDialogsKt.SetIntervalDialog (cognitive 21): ItemsDialogsKt.SetIntervalDialog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 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":"app/src/main/java/eu/kanade/presentation/entries/components/ItemsDialogs.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d702bf855592bf4773a38fdca8248fb29adba421a5c0d738b0f1824df30a0f3d"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeDownloader.getOrDownloadVideoFile (cognitive 21): AnimeDownloader.getOrDownloadVideoFile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (3 pts), error handling 1, match/switch 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"517a9658380001f29095d6667b2dba05f8d328604866a4242e3b0192d1f40421"}},{"ruleId":"D2","level":"warning","message":{"text":"MangaExtensionLoader.loadMangaExtension (cognitive 21): MangaExtensionLoader.loadMangaExtension has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, error handling 4 (5 pts), match/switch 3 (4 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ec068744bd8b3ee7106f7a8303ea6628a722b979e71f98348a57f77092800e"}},{"ruleId":"D2","level":"warning","message":{"text":"EpisodeListDialogKt.EpisodeListItem (cognitive 21): EpisodeListDialogKt.EpisodeListItem has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20 (21 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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/dialogs/EpisodeListDialog.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fc470097bc7c6ddc725cc5932183fb5b840110203f547503152919e228de99"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupRestorer.restoreFromFile (cognitive 20): BackupRestorer.restoreFromFile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18 (20 pts) (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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/BackupRestorer.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cd5f8ae1346b8fe40d4b3a9b21a9d4372e4c43bfeaef0205d138d9af7ced7c"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeLibraryUpdateJob.addAnimeToQueue (cognitive 20): AnimeLibraryUpdateJob.addAnimeToQueue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, match/switch 2 (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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58082aabd93ebed906375c0384c2f5ff6b80a481d3858c9588d050d428e908f"}},{"ruleId":"D2","level":"warning","message":{"text":"MangaScreen.Content (cognitive 20): MangaScreen.Content has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af87fcc138d89b532eec9bb23b0082b5dda0ce7159c1df3db0395f1f485b6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ChapterUtils.mergeChapters (cognitive 20): ChapterUtils.mergeChapters has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, boolean chains 8. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/utils/ChapterUtils.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a21953d1f008ebc2d9742b297f40d7a6558e2ebe4e9400ca8c9f05c38b37e36"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeScreenKt.AnimeScreenLargeImpl (cognitive 19): AnimeScreenKt.AnimeScreenLargeImpl has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 3, boolean chains 2 (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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"3253d6025deaa86879c56d0380211d4ca2688eeadafbfb5a9b4829c781fee649"}},{"ruleId":"D2","level":"warning","message":{"text":"MangaInfoHeaderKt.MangaActionRow (cognitive 19): MangaInfoHeaderKt.MangaActionRow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, 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":"app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de23889ff8321489cb40ba9f83bc5e8893ea6574cacd8387d0b390e596c847b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditTextPreferenceWidgetKt.EditTextPreferenceWidget (cognitive 19): EditTextPreferenceWidgetKt.EditTextPreferenceWidget has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/widget/EditTextPreferenceWidget.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01a4453e1effa5d175fbc0b45a4c9d07ff3b905dfb445c79bced5e19f1b0350"}},{"ruleId":"D2","level":"warning","message":{"text":"ScaffoldKt.ScaffoldLayout (cognitive 19): ScaffoldKt.ScaffoldLayout has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 2 (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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Scaffold.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3120d2060cd449b90ae0e426c7d4ff4bafe1d25a28fe9167524359625fc60f21"}},{"ruleId":"D2","level":"warning","message":{"text":"RateLimitInterceptor.intercept (cognitive 19): RateLimitInterceptor.intercept has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 2 (4 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (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":"core/common/src/main/java/eu/kanade/tachiyomi/network/interceptor/RateLimitInterceptor.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c0fbe860b27399d57b8afcdfda2c17d18ed655a71902d4d414725abfd85e44"}},{"ruleId":"D2","level":"warning","message":{"text":"PreferenceItemKt.PreferenceItem (cognitive 18): PreferenceItemKt.PreferenceItem has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (nesting depth added 8). 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":"app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf6841f17349ecb3822843d8faf7a8102d8401e1d2e8bd47a74addd4b4f1028"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivity.handleIntentAction (cognitive 18): MainActivity.handleIntentAction has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 2 (4 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":"app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6bf89f05d076e33f73f01e96aaf3279792ef88a4b94dbe678954bad41f3fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerActivity.setVideo (cognitive 18): PlayerActivity.setVideo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cac257c8d4c4d614b418294a36f279260f4911c194c391c2223442a8d782b14"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationReceiver.onReceive (cognitive 17): NotificationReceiver.onReceive has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (nesting depth added 8). 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":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"af20aaa95b67f0f53fce11eaae8f7a9c230081f7148990249c67a4d56644c1ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeLibraryTab.Content (cognitive 17): AnimeLibraryTab.Content has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 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, 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced23fe2707652a495f69648cf5646cd4378a06220f6695a1448d172353eee2d"}},{"ruleId":"D2","level":"warning","message":{"text":"MangaLibraryScreenModel.applySort (cognitive 17): MangaLibraryScreenModel.applySort has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 3 (4 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f75ab02fbb516bcfee90ccdd3556c6e92e20ad8274122656c6e14952d624285"}},{"ruleId":"D2","level":"warning","message":{"text":"AniyomiMPVView.onKey (cognitive 17): AniyomiMPVView.onKey has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/AniyomiMPVView.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e385e4d5a6503f5411bed9e19cefe887c1c9ee44453144b3d3ef0ba4aea0f735"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalIntents.onActivityResult (cognitive 17): ExternalIntents.onActivityResult has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 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, 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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/ExternalIntents.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ee3b6e6e1de08a9e16f8bea2c95c8a203254d9178d92efdd88b918819cce2f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerViewModel.updateSeekPos (cognitive 17): PlayerViewModel.updateSeekPos has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 1 (3 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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"689f76eae32d8c54b05b2bb22b88fe84a65bd244480b239994328a29f25d2ceb"}},{"ruleId":"D2","level":"warning","message":{"text":"VerticalFastScrollerKt.VerticalGridFastScroller (cognitive 17): VerticalFastScrollerKt.VerticalGridFastScroller has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 4. 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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb1b2baf6b72ca97b7529e1fba533c441565763091193832af53a231773e2f0"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollbarKt.onDrawScrollbar (cognitive 17): ScrollbarKt.onDrawScrollbar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/util/Scrollbar.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eef248cd71c5051860380ffde61661a9a5b5a9a1e5eefb3570a923ab826b0f8"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncSeasonsWithSource.await (cognitive 16): SyncSeasonsWithSource.await has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/entries/anime/interactor/SyncSeasonsWithSource.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa9ffac84c3dc29974c07299acd8024b4ab3cbd802904c0e8ca73280ac87fab"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLanguageScreen.getLangs (cognitive 16): AppLanguageScreen.getLangs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 2 (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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/appearance/AppLanguageScreen.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1d2c17ddf33ab809aa3293d1ca9d227544b4d85928f7843e87ade437913c20"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerSettingsTorrentScreen.getPreferences (cognitive 16): PlayerSettingsTorrentScreen.getPreferences has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 5, 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsTorrentScreen.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aea260f88aba9a4eee847a0fdbd30a30e89a7140f0472db1606ac08bbb9c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimeLibraryScreenModel.applyFilters (cognitive 16): AnimeLibraryScreenModel.applyFilters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 7. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35a5497995edb392e4001fbe496a8779a0ca6cf038d725a354781d4a66ea5b7"}},{"ruleId":"D2","level":"warning","message":{"text":"MangaLibraryScreenModel.applyFilters (cognitive 16): MangaLibraryScreenModel.applyFilters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 7. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79a897e170d8bd532291a9b33e56db94f8b55a00dea6d3b86bb2f3c1969c678"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayerViewModel: TooManyMethods \u2014 116 methods. The bar is 30 methods; this is 86 over it, 3.87\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"97346dc6b5bc260c8efda2668a5dd35d5fd43bb4aeb02dfe28009d9d9231bb6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/PlayerViewModel.kt: FileTooLong \u2014 1398 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 898 over it, 2.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06282a2106f65497b2fe5585ae33ac966a6ce20f8da250a7616997c75d2e4b4b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnimeScreenModel: TooManyMethods \u2014 82 methods. The bar is 30 methods; this is 52 over it, 2.73\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b93a8d19d179e6193d2290bbcb318f755e7f3ecc05993dacfdeca5f2223ae8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimeScreen.Content: MethodTooLong \u2014 Content runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8623e63b9f720fc5ad43e0ff0757d61ca9afebd3a05f89438a9152696049e119"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnimeScreenModel: ClassTooLong \u2014 933 significant lines (blank, comment-only and punctuation-only lines excluded), 82 methods. The bar is 400 significant lines; this is 533 over it, 2.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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"187a1ad56dd54a07c3cd39716246d2ca5c241bc5095b47a87594537f4d7f797e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anime/AnimeScreenModel.kt: FileTooLong \u2014 1061 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: AnimeScreenModel (115-1740). The bar is 500 significant lines; this is 561 over it, 2.12\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cc37879e705010efc146d0fa02c0cf79e45ecdef20ea5470c17c658c5471cb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlayerActivity: ClassTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 427 over it, 2.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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4293d33c7fe1fab09e53bfc4ed2f1ffb6f61b854161a6ad6fadc4d1ee9d07653"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubtitleSettingsTypographyCardKt.SubtitleSettingsTypographyCard: MethodTooLong \u2014 SubtitleSettingsTypographyCard runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/panels/SubtitleSettingsTypographyCard.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"960537b4f0ab446fdc20e46b56afdb6e98cde6bc2a54e13cd0da3aa73e5511ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anime/AnimeScreen.kt: FileTooLong \u2014 931 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 431 over it, 1.86\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3916f75601cbd344b088983aa3dc6cfa1130dc82b2a333430f0f17e0c0f92f78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/PlayerActivity.kt: FileTooLong \u2014 918 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: PlayerActivity (116-1413). The bar is 500 significant lines; this is 418 over it, 1.84\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f43bd0efb1216517e7d5020795131110e5b926725dfba1b730b047369c7655"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MangaScreenModel: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb81e71b1f64db8f50a55fc4af829a9179ba9bdad76c184d1793e5a149a7f7b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DomainModule.registerInjectables: MethodTooLong \u2014 registerInjectables runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"app/src/main/java/eu/kanade/domain/DomainModule.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"493aca8d2ecb0682f41cc8f8eae317d2a87ddea332a0a5f298aa19380d169b52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GestureHandlerKt.GestureHandler: MethodTooLong \u2014 GestureHandler runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/GestureHandler.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2e3cc2df599edf074a06c99d2a2ae03b2eb0b468f589362d70e2ee8d565af9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnimeHttpSource: 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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/AnimeHttpSource.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"053272b0b5b2beef52d8229b52598e112f15d61c04efec5b9d0ceff931718eee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowseMangaSourceScreen.Content: MethodTooLong \u2014 Content runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40164f2105de1a870df23e4fc14aa5fe25e274cb5aec08eb4a85eba9c001d20"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MangaScreen.Content: MethodTooLong \u2014 Content runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"82325a9ba46067eb41f2b70a77e01507f8710bf9271c3e0dfd1eb6b196a77d5d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowseAnimeSourceScreen.Content: MethodTooLong \u2014 Content runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cc0ef6961a22e989c26bf00b113d8d24e2fdeb7a7c96172870f4804d919e98"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MangaScreenModel: ClassTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 400 significant lines; this is 265 over it, 1.66\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c661ab0fc4361e731b92624e1547e32fa5f02ed923e5b122da3259fe1341c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MangaLibraryTab.Content: MethodTooLong \u2014 Content runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3712fb67df4e86d1be195fabbbef8d63813440c7004acaf78efe8f2eecbe238d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlayerActivity: 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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63fe6db013e82ff78b181a9f29b55af102c1f7dc19fc8deec71d8e062877390"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: manga/MangaScreenModel.kt: FileTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: MangaScreenModel (94-1223). The bar is 500 significant lines; this is 272 over it, 1.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f9c811fab8e3958ff2b84e71d14400a67e4ac47929d6adb68a3dec0147a7ca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReaderViewModel: 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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec36118a0945497aa54da150f2cb9a6d9e558655dd50aa8db5b3b932f3eb71e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimeLibraryTab.Content: MethodTooLong \u2014 Content runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced18c9ce9532a1f819026fd8369b38a4ab41d84a7985ec4a0bf60f7fd51a570"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DownloadsTab.Content: MethodTooLong \u2014 Content 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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df186611c5113dd206d264b7689889168791d1c4f6b78948766447185be3db6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntryBottomActionMenuKt.EntryBottomActionMenu: MethodTooLong \u2014 EntryBottomActionMenu 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":"app/src/main/java/eu/kanade/presentation/entries/components/EntryBottomActionMenu.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6326d9f67ec69d28d00569466269f52169ffeda48c0637282c80c1c79ac75426"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PreferenceItemKt.PreferenceItem: MethodTooLong \u2014 PreferenceItem runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"961dab8fe0b8a16862811c6c0dbdc3ec6eaf7b6942cda653359deae3b59cde6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: manga/MangaScreen.kt: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 165 over it, 1.33\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":"app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e815f8bc41c2529940cc1b6193cf510ef4427ecd211ee2be9b5dea72df0363"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReaderViewModel: ClassTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 110 over it, 1.28\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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"993392564a321e8bcebdbb16de22ade3493188339c95f4b9861399bef7031988"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnimeDownloader: ClassTooLong \u2014 497 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 97 over it, 1.24\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b002cc75e29dadb8a1610dacd42e93c592b695b47b43872138312e703b75f20"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SyncEpisodesWithSource.await: MethodTooLong \u2014 await 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":"app/src/main/java/eu/kanade/domain/items/episode/interactor/SyncEpisodesWithSource.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7148b01c9236ab1ac81dc066ada64fd9b233b5318336293d358894c78f157984"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpSource: 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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/online/HttpSource.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4b1a4c597315e5040de34c9956a35784c8f2a03928063222f5e08878a4835a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MoreSheetKt.MoreSheet: MethodTooLong \u2014 MoreSheet 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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/sheets/MoreSheet.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c1c8dcbabe68937d794a6dc0e6ebda26de622a4af44cbbc2753f9554156a58"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReaderActivity: ClassTooLong \u2014 480 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 80 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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8d1bb2b33d367440889f492ff9d43cc4bbed8b15436f6d915ae2c327cd1bc6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReaderActivity: 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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c63278f3a087c692685a61a08a430dee6fd294e9bc65ba8d861eabf8d90aa80"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppModule.registerInjectables: MethodTooLong \u2014 registerInjectables runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/di/AppModule.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47f5aaade212e8bdc4231a54f7eaa72d0bb9819f7bd8300567520b2cccbf447"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReaderActivity.initializeMenu: MethodTooLong \u2014 initializeMenu runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8fe1e7f8f107d9d73b51c8b7f743f2c4aea5cad4011c85f61c2b3a655d9d52"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotificationReceiver: ClassTooLong \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 79 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":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b44ec7ea0c0cc7839a2e6bc282f39b2bd6af50d90829021ca2ac6766aa8172"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: track/AnimeTrackInfoDialog.kt: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 98 over it, 1.20\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ad47778c1fcffa27ae7216d5555457941d41a5c8c66da4466b1742e95dedd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: track/MangaTrackInfoDialog.kt: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 98 over it, 1.20\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a621703dee5f2c9ca7b6a8d393a1930e0dc2e7cf9fedb6fc6a5ba9c9ed3eac85"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimeImagesDialogKt.AnimeImagesDialog: MethodTooLong \u2014 AnimeImagesDialog runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"29306cf973558158f9b8fd970510ef72368e5d654494812d9a126ed96f409daa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reader/ReaderViewModel.kt: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: ReaderViewModel (87-997). The bar is 500 significant lines; this is 91 over it, 1.18\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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"207f612cf40a28668e53e852704ff9aed49af9be49dacde750cd707c5436cba4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainActivity.onCreate: MethodTooLong \u2014 onCreate 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":"app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbe2bd35060285bcb9e5963c1cbe16e0fddbeabbcf42278aef0cf47be73e45b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnimeLibraryScreenModel: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded), 27 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"912d089cd26d7d4fae208e0e32e112606b2c263eac99f09a8ef4b41201ecc1ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SyncChaptersWithSource.await: MethodTooLong \u2014 await 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":"app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"05089a7bfea3e3be8808d68cab2fc8c905f00787119f77af6e64efd671f28a8b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsTrackingScreen.getPreferences: MethodTooLong \u2014 getPreferences 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsTrackingScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"865979d7a7474c9161da2377f2ac0545e20ce608bd4a0f3c564ef75ad2f0f25a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Anilist: 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"195922525ae634a77e6adac70bbdb0434f92cbb85fbade5f09527bd20c226849"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MyAnimeList: 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17c54df251edfa30de71428481f12e5be26b43e2c00535b57b79fd2d08f5a66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reader/ReaderActivity.kt: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: ReaderActivity (104-974). The bar is 500 significant lines; this is 81 over it, 1.16\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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3d8dca955811504185384f4798d7609c90307c62096942fb13ad997904e81f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MangaLibraryScreenModel: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 57 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b964980212a526d717c337911a1305e7a6e3f0c54d30e34ebbef4455b2f8e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anime/AnimeDownloader.kt: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: AnimeDownloader (83-944). The bar is 500 significant lines; this is 69 over it, 1.14\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef37dd5f2ef756c1906fa4c9cb25c7d89788251a143c8c58ff1ee01cf87448f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnilistApi: ClassTooLong \u2014 454 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 54 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e7d208d1b02bdefc660242f2ad1cfeb10fc05378efd90cb4b6b8ed9fedb65b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimeEpisodeListItemKt.AnimeEpisodeListItem: MethodTooLong \u2014 AnimeEpisodeListItem runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeEpisodeListItem.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a205d630906101e6124890cc5bc1bbc1eb132a2fb2ab5f1cb534658a9abd8e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/AnimeInfoHeader.kt: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 64 over it, 1.13\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bc82f9a6f314f00e816a56c941028fe83c37094b0c833ca24c4e5a5772aa86"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Kitsu: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c09e0f487908e67ec67b5844e730ead38a1f624acb0db04e467b75a1b1e1705"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Shikimori: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"63245477cc2c28210c9b7cc1b8d8673cc1b88d2513c6b78c94301646d77c71b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsLibraryScreen.getGlobalUpdateGroup: MethodTooLong \u2014 getGlobalUpdateGroup runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"df206bcee87719760ab562f635f6e4ff9a061b72dfda21bbe10064275a15ff0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anime/AnimeLibraryScreenModel.kt: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: AnimeLibraryScreenModel (84-812). The bar is 500 significant lines; this is 45 over it, 1.09\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0697e6fdfdbf62fdfd81dc79c59ad5e347065dda9974adb05fb1600bef838f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimeInfoHeaderKt.AnimeContentInfo: MethodTooLong \u2014 AnimeContentInfo 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7feda84853655aca0bb29d98728892bb329266dcaf24fdcba0ce3f95208c300"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimeExtensionDetailsScreenKt.DetailsHeader: MethodTooLong \u2014 DetailsHeader runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3764e700bb7f334f1f5ee97cf96e2a9c67bb481c1be110f8cd060ba08c2f3bc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: manga/MangaLibraryScreenModel.kt: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: MangaLibraryScreenModel (82-797). The bar is 500 significant lines; this is 32 over it, 1.06\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f88f9fb884d2c0bde2d3858d907a3582512f9532863a09f34c5631dcb2b746"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controls/PlayerControls.kt: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: LocalPlayerButtonsClickEvent (92-672). The bar is 500 significant lines; this is 32 over it, 1.06\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06608e56694636614dea292d4e22f6ed7b6da56df75dffbce216f247c16b911b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/MangaInfoHeader.kt: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 30 over it, 1.06\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":"app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0360e391b51c97c3f56d5d7e20beb2493f758a5e88b4bb14fda56b71252296a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MangaInfoHeaderKt.MangaContentInfo: MethodTooLong \u2014 MangaContentInfo runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c21d12da847ffe01ad2eda1a1a5d0ae8cddc38e2d73b3ae2542016ad80364f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: notification/NotificationReceiver.kt: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: NotificationReceiver (53-999). The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf91d93ca5d6684861f8090ee064c3b3b8d6d3094fe750ad2b0aa7c6697d9893"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MangaExtensionDetailsScreenKt.DetailsHeader: MethodTooLong \u2014 DetailsHeader 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":"app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba14995cafef1a11b432257e7d6f394be9c1f08e26ba4dbd2a0f9b8d44898c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MangaChapterListItemKt.MangaChapterListItem: MethodTooLong \u2014 MangaChapterListItem 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":"app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaChapterListItem.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fd5815cb40471df7a71b1e48bfe8faca08072231d57028b24f26bef08aae9f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimeTrackerSearchKt.AnimeTrackerSearch: MethodTooLong \u2014 AnimeTrackerSearch 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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69c6550ac9c0626576ce9f82c733f4c8dd1f2fab71513d10ee1be2e90188532"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MangaTrackerSearchKt.MangaTrackerSearch: MethodTooLong \u2014 MangaTrackerSearch 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":"app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearch.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0669a134eb5a419c08552f52a9c0ef8c9bd0f1cc4ae275d0df1d73faa9e0280"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Bangumi: 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b7b9129747371973da1468c0a5a142ee72edaf6b16edb2ac50ec7b61d17f9a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnimeUpdatesTabKt.animeUpdatesTab: MethodTooLong \u2014 animeUpdatesTab 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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesTab.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e00e4d24ad56e5769b71c45aab6beaeb08d41be38f05d93990860ea34e7356b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anime/EpisodeOptionsDialogScreen.kt: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02\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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c13abdbb9b9cc114b3c4a829d86b8d4b746f1535251d83e5821d3423652ea3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlayerSettingsTorrentScreen.getPreferences: MethodTooLong \u2014 getPreferences runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsTorrentScreen.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0af5c9f065ebee6acb027f81cb180472224490ad95b06f88fea18c9352a5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 37 shared lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1374-1431 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:976-1033 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:304-361 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:271-328 \u2014 These 4 members are variants of one another: a block of 37 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 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea1ae9f102072db62222dfe310a63392f4a89af6e585a7619f71208c18facc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 27 shared lines): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt:30-58 | app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceCompactGrid.kt:30-58 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceComfortableGrid.kt:30-58 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceCompactGrid.kt:30-58 \u2014 These 4 members are variants of one another: a block of 27 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 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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9332825277450ee4ed4ab48ce62a15454d0ffcee428b9f34e29a9b0b592913"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (104 shared lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:82-322 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt:82-324 \u2014 These two members are variants of one another: 104 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1123a28624b439413d5730bf9d852bb48008726a51762e5f49f95ce95602fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (84 shared lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt:93-299 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt:92-320 \u2014 These two members are variants of one another: 84 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b653e26ef7f59029f928d6b68618980afd9cc1303cb778f4d177a2a6bdc3c991"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (70 shared lines): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:237-318 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:237-318 \u2014 These two members are variants of one another: 70 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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce34ac5c9c9cccc4bb38968a7823c8cb3c86bf1408a08cfe24f970b04cb06f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (67 shared lines): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:169-273 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:135-221 \u2014 These two members are variants of one another: 67 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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fcd3641276166ac82f3e1603e3ddb8e95c9d2fa49c8b9451ebaf9b54bb3227"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (67 shared lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:153-276 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:148-271 \u2014 These two members are variants of one another: 67 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da3f5257c9f3606f323506f9cdd73c2579b64f17760b0ee73be69a635137f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (67 shared lines): app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt:159-263 | app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesUiItem.kt:152-243 \u2014 These two members are variants of one another: 67 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":"app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4505595a1f309eacc56c13faf26528924f1850692b632c0f6813e503fa49f913"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (64 shared lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:440-514 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:411-485 \u2014 These two members are variants of one another: 64 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cdd757d37357b7f32351c301813d18b3cc2adcabc79bb7fa974e3bde0cc6aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (63 shared lines): app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt:48-128 | app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchToolbar.kt:48-128 \u2014 These two members are variants of one another: 63 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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8e33926d7fe95e7f5d655685d2570984c995f024d775c935f72a196edd9608"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:125-179 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:129-183 \u2014 These two members are variants of one another: 46 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2c3a5568406b853fb655f006fa1de55a0dab39cdfe0cb85b41bdb783d24999"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:181-243 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:175-234 \u2014 These two members are variants of one another: 45 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf464e0dfeadd510edb95067853c23ae68c43a2319f3ddf01b75b76d56a6c3ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (40 shared lines): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:81-160 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:81-161 \u2014 These two members are variants of one another: 40 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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc56f4ae13712a438968b2cef5206b6843c3883e1536800cd4fdc8a116d2cb60"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (34 shared lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:210-304 | app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:307-407 \u2014 These two members are variants of one another: 34 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec983ad9773b6c566b3fd18cc9a5069590e1255e698fc38f862720cd78f0eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt:171-194 | app/src/main/java/eu/kanade/presentation/history/HistoryDialogs.kt:78-101 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt:99-122 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresDialogs.kt:109-132 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/custombutton/components/CustomButtonDialogs.kt:222-245 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/components/EditorDialogs.kt:114-137 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/components/EditorDialogs.kt:143-166 | app/src/main/java/eu/kanade/presentation/updates/UpdatesDialog.kt:16-37 \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":"app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0195c6f494238da204b48f2677536ec86e9a25a16b4d3e12db3681b55942a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryTab.kt:49-187 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryTab.kt:47-184 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt:92-320 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesTab.kt:44-187 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesTab.kt:40-161 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryTab.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5eaf45a756b8525803ad277bf2fd05bed0cee164d3c5715b4c3fa34de6439d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt:33-60 | app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSearchScreen.kt:25-53 | app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt:33-60 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSearchScreen.kt:25-53 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed16e1bc9903683727dcfc8be5c1068a79916b69db56108504d08c421237f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:276-310 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:241-267 | data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt:104-138 | data/src/main/java/tachiyomi/data/entries/manga/MangaRepositoryImpl.kt:100-126 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"6478530e88d745fa8b4485e664dcf300174b41764f0c08049629708dac10be31"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:657-671 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:722-736 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:749-763 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:776-790 \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":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab568f8f5c36e7f4c683e876ccad767633716d2d60df120afdfc40c54b81155"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:280-298 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:169-187 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt:113-131 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt:133-151 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69a7228f456314e64c4a7aaed116e4d4a8cda601330bb0d0d90600415a26c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:598-657 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:779-847 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:598-657 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:779-847 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"0902e5e9383ebc516e30601da2c6a39fa8c62d2d440245e38e647ddc43b02392"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (272 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:337-627 | app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:691-962 \u2014 These two members are one piece of code written twice and then edited apart: 272 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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9549fcafe44de2bdc733c77673574bc280cafb9ecb70163608c7630f706994"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (179 corresponding lines): app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt:55-233 | app/src/main/java/eu/kanade/domain/items/episode/interactor/SyncEpisodesWithSource.kt:53-241 \u2014 These two members are one piece of code written twice and then edited apart: 179 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":"app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5172de37f4403d0d44e0dd9d13762eb63964b5f65cbb36e3850833301b663e33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (135 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:443-579 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:426-560 \u2014 These two members are one piece of code written twice and then edited apart: 135 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd07e35f2146a4f14d9d94538e9bd2591450eaf24a5c1690a7baaedced9e3a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (197 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:271-470 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:520-716 \u2014 These two members are one piece of code written twice and then edited apart: 197 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":"app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37b40c58e0efd3ec24ff98cc323e8f62c2fa388d140da76f9eaa2c39cb73895"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (122 corresponding lines): presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:75-196 | presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:242-382 \u2014 These two members are one piece of code written twice and then edited apart: 122 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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d12586cce26ec86ccb536544b5337418949522321b285771d26c98c8c8b92d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (124 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:242-370 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:246-369 \u2014 These two members are one piece of code written twice and then edited apart: 124 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3895e1fc7cf339f56ac46fc1eee310d1af543af8eda132a0c47eba5043a6140"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (146 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:226-376 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt:227-372 \u2014 These two members are one piece of code written twice and then edited apart: 146 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8413ad3feff343cd1134eec217d52b86862da3c665796dc0404a25dd783622eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (132 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt:76-236 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaCoverDialog.kt:66-197 \u2014 These two members are one piece of code written twice and then edited apart: 132 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"925dcb7fafa94790ba51bc6d80edd930f270750e51847cad207571189c10cb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/AnimeSourceSearchScreen.kt:49-142 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MangaSourceSearchScreen.kt:48-140 \u2014 These two members are one piece of code written twice and then edited apart: 93 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/AnimeSourceSearchScreen.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c45d6d61a023cf302351a860b911c41e4d5be1d53b68f25949d13933849c71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:259-340 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:256-327 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e356f1e8523918032823ce1e222029262482d9f346d1d2580d5771829ecaef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:181-254 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:178-251 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"22baf18dac3ee8cbb159985e5dccdfc6ccb52878ca4133e954ecf35ce4c49c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (98 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt:54-151 | app/src/main/java/eu/kanade/presentation/browse/manga/BrowseMangaSourceScreen.kt:54-151 \u2014 These two members are one piece of code written twice and then edited apart: 98 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":"app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9c76b3f4822a026ac5baf95f405403a094ad1ff263d6b412d7c7aa8e5a21f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:152-253 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:157-239 \u2014 These two members are one piece of code written twice and then edited apart: 83 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"26825af352c7f5420230d52d152c78b72f6ac48af99f0782570e3493c6bca812"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (97 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt:258-363 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaDialog.kt:212-308 \u2014 These two members are one piece of code written twice and then edited apart: 97 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad96fe413a38b8fe735e9eb6099dffb99685bb0cc5402772d977b27a5a09869"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:69-181 | app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt:62-152 \u2014 These two members are one piece of code written twice and then edited apart: 91 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e11f3f948631ba46ad531d639e87d4189dea08e643ede6be08f23739f527294"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:329-409 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:333-409 \u2014 These two members are one piece of code written twice and then edited apart: 77 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4d7fa7d2b07ed70745c5515b155b6b42169ecab9fa1c3da0bdf54343b0aeba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt:70-132 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.kt:80-142 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11728bfe4065bc5e4eed9743b2357441bc37879cfd9709f7c500c2098729cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:257-350 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:244-333 \u2014 These two members are one piece of code written twice and then edited apart: 90 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fee87086910c7c80353e486b95760e5b0819b5f1abb3ce1c7189c3f56af12e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsMainScreen.kt:79-164 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsMainScreen.kt:79-170 \u2014 These two members are one piece of code written twice and then edited apart: 86 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsMainScreen.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3044fba236d01ef0ddd3b3cb1c17c642063f0098b7179bee5b1390d655370e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:591-682 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:568-640 \u2014 These two members are one piece of code written twice and then edited apart: 73 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"27973004bd2d126a28f4488e418094a882373eba0ded8c617ee2c3480e2dd842"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/SourceFilterAnimeDialog.kt:80-164 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/SourceFilterMangaDialog.kt:80-164 \u2014 These two members are one piece of code written twice and then edited apart: 85 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/SourceFilterAnimeDialog.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eb1071028d8a1df9f87a52b4fcae42e1ec09080f53adcc5d53a940d0134597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsTab.kt:31-109 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/MangaExtensionsTab.kt:31-105 \u2014 These two members are one piece of code written twice and then edited apart: 75 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsTab.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb0590355491e65f6c4a49a53da2cc37df2855d8dc5f358907f2140bff8b25e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:263-345 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:249-330 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ddc09673a78de8fe1c1cd9b121b74e143287cc02d54b1484cfa1d46956e941"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:98-182 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:98-182 \u2014 These two members are one piece of code written twice and then edited apart: 85 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcad75a31156fbb019ffec4d11fde0e9074aa41d2c694de0b3a972c21fb4649"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt:298-376 | app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt:382-460 \u2014 These two members are one piece of code written twice and then edited apart: 79 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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ad970bdff0929b2d4927c322c790044286df254646db2ca649de86093a0c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:118-189 | app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt:117-188 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7f3cd6719d104626610dbad22abd60a8f148c21893651b2b3ffb7421f4ecf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsAudioScreen.kt:27-101 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsSubtitleScreen.kt:23-83 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsAudioScreen.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2e63e3720a622beb4cd190b89ef40db2feb91bd18db7e0a27687dc3190e45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:1059-1138 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:771-840 \u2014 These two members are one piece of code written twice and then edited apart: 70 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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c9d0d788aa9898aa620db34a2c929143b4a6a15f6f980ca32a457e80167bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:78-153 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt:79-154 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e07ee83a8a24f2e47729e6b7ecd85550b7ba6f3ebaec43f61d2cc12c035936c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/DuplicateAnimeDialog.kt:41-122 | app/src/main/java/eu/kanade/presentation/entries/manga/DuplicateMangaDialog.kt:41-122 \u2014 These two members are one piece of code written twice and then edited apart: 82 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":"app/src/main/java/eu/kanade/presentation/entries/anime/DuplicateAnimeDialog.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a832940e556abfb8759a47a577e82ac7330bcb639bebb965fc1609bd6ee48b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryContent.kt:49-119 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryContent.kt:49-119 \u2014 These two members are one piece of code written twice and then edited apart: 71 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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryContent.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5504ea736607ae1f7a37e948c53d15ca583119e65380f84e9df4fd8ba3b7a024"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:166-225 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:167-225 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede1506b01a3f93380687a408aa408f14d5b85e321faa952ce6910ea829838af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreen.kt:35-93 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadQueueScreen.kt:35-93 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreen.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0efade1a1d813bd027116554d37904ae47ad4db4f87e8fb3abad8f2f64cd138"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt:52-119 | app/src/main/java/eu/kanade/presentation/entries/anime/SeasonSettingsDialog.kt:69-151 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"397c62e91642bfc8c630d3dc9afeb59a4443e35be7687ba561b3645ce632173f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryPager.kt:45-123 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryPager.kt:45-123 \u2014 These two members are one piece of code written twice and then edited apart: 79 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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryPager.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c100f674987542eba1d091a41d07b9ea20384242d21106d5ac202bcb85ae1d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeSearchScreen.kt:17-76 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaSearchScreen.kt:16-74 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeSearchScreen.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47b251ad043baa6923a9e5aab213c030723bbc4fe1be90c119d3e17404180ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:346-430 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:341-401 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8d9ccebeaf517a2735c153dad3d8120fbe4e74e0169dc3d677cd45aef600b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/UpdatesAnimeWidget.kt:37-98 | presentation-widget/src/main/java/tachiyomi/presentation/widget/components/manga/UpdatesMangaWidget.kt:37-98 \u2014 These two members are one piece of code written twice and then edited apart: 62 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":"presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/UpdatesAnimeWidget.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2799e27c57eb232cc109f696fbc4f1443835acb82f9f73c0cf19d75b5395401a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt:46-109 | app/src/main/java/eu/kanade/presentation/history/manga/components/MangaHistoryItem.kt:45-108 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2ae353390afb8becade40613815df4207f6397d646d61a7556ffb41e9d9dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt:87-144 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSourceScreen.kt:87-144 \u2014 These two members are one piece of code written twice and then edited apart: 58 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":"app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4d9949d0327f05bd6e978d064b44f3719256e502a99f963ba30ec53e768301"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesTab.kt:28-86 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/MangaSourcesTab.kt:28-90 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesTab.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"96aa48875a3927695f0a54400aec5a764e7457e37e9146fa9da62199d8fcf997"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt:262-316 | app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:1459-1526 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"592959ada7016a90e07f346b3accf75aa78a9674ab682f609c9b760df2f27921"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/GlobalAnimeSearchScreen.kt:26-81 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/GlobalMangaSearchScreen.kt:26-81 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/GlobalAnimeSearchScreen.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bd1f9adf71d3fb6fa4a3cc85d8f1ba9e792e92a89c1609d81a82489d2eb4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt:83-138 | source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/manga/LocalMangaSource.kt:83-143 \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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbc21d40e3a1886274137b4f65448c1456d25476c95875ee9b9eb6a4ad66e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt:53-95 | app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt:107-151 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb70b730296a4486d192b843cfcd383fe25f5482e9d51790093d2368188e8b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt:82-144 | app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesUiItem.kt:76-137 \u2014 These two members are one piece of code written twice and then edited apart: 62 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":"app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bdc65d2c3350d3f648611dbfc0698d348299f994a0334b25ffc1e2e9b91054"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:158-205 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt:158-205 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe7178ad86f99b8992fc872b01240e3817632f96240c748af5e12b8aff682a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:394-456 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:317-380 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d358a33f4957ae4e61cc1a261397c943f04530549c9f5a5bb9efe04e7140c22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt:15-56 | app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionsByType.kt:15-59 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f050fae69fa51b1a729d714f970258529e95aad93b72e5d7fa40ff899f309a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt:153-205 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSourceScreen.kt:153-205 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb57fd34ebe7b7ec4e12b1bd78fd55441bf9eb22d33995da9941bf66281eb5a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt:123-179 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/MangaSearchScreenModel.kt:124-180 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80c9c92977febe2d2d9fb799b8b1717b23a402fe62fa7bd0cdc54f7e8f93de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt:133-177 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt:180-224 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"91dcca3c9598366c4c030922e359500e12f1c05fffe822fb0ea22be0e44e9c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:342-374 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:329-360 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7eec2d164f1920b176c1d0d1f7c90c70499b01a8a2b64d49f6b932e23c514e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:191-245 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:173-227 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92726b867d8d89978b767f6a30caa48043c6e62e27e1a2e50cfd01249e31b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 56\u002B corresponding lines): app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt:45-100 | app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt:108-164 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt:32-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 56 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":"app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b645edf00ec6ac100c6385cd35a6a3a7fc484c90ec8b3ac059e6ac20076697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:290-336 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:287-327 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53804e1e0f861fd1579ae43e4efe292b53e84b27625e5b929ab3aed1f9b9f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesScreen.kt:52-112 | app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesScreen.kt:48-106 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesScreen.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"184b4ac4fb7e907d1282f934be92fc675c2d0e369b0807767f8d6729d5142162"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearchPreviewProvider.kt:81-103 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearchPreviewProvider.kt:81-103 \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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearchPreviewProvider.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ee0eb66d27c0199c569aefe232c3ae67feea2c1efa468204493ffe79d940dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:201-247 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:208-251 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"e423dbf94c75e0ef3f1043c8556f009d551238b962374dc5c0500aa53bd46bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): app/src/main/java/eu/kanade/presentation/player/components/PlayerSheet.kt:202-250 | presentation-core/src/main/java/tachiyomi/presentation/core/components/AdaptiveSheet.kt:214-259 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/player/components/PlayerSheet.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"903e787978a8ddde8b4edfb9f6a93233d1347de160a7abdf32784a73fc6e4c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:455-499 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:442-486 \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"60218c0aef5f1e57fd1f1fcace5d8f58672b666bf4e18d6cf54cc72a5687345a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:400-452 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:361-413 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f969755ac8a97a188a4238da22dedcc56670014d645c33019d71866e446550c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:65-114 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:69-118 \u2014 These two members are one piece of code written twice and then edited apart: 50 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a8a8be2b44b70210603c1c2766dc06d3227f6741cee8f527809719348b18bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:178-218 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:184-227 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3384a0d3986b9f5e9c7294c60b593b7592db336907fb48323cba8e290713da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:247-308 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:229-294 \u2014 These two members are one piece of code written twice and then edited apart: 62 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb28e6326f1a7f4019a027c1f3dca7d86a812a13b2587be65dd41b2433b7cf4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:868-910 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:754-795 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d48692e8244f9f901f020071591257ed51653da644fe7aab1861aba342c803"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresContent.kt:70-127 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/manga/MangaExtensionReposContent.kt:65-120 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresContent.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1811d90a34cb3a337502759ff39ee125f66ac56ef65543da34043bb21de21d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): app/src/main/java/eu/kanade/domain/track/anime/interactor/AddAnimeTracks.kt:32-79 | app/src/main/java/eu/kanade/domain/track/manga/interactor/AddMangaTracks.kt:32-79 \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":"app/src/main/java/eu/kanade/domain/track/anime/interactor/AddAnimeTracks.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"275059b9e292a4bb7bd47018860a8bf5299291b43f9f59aad4db542a7332f52a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeBackupCreator.kt:29-74 | app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/MangaBackupCreator.kt:29-79 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeBackupCreator.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f766ab55129040963cc5ef7286a603194de6f6f446be47d13b3ff7b19f204216"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt:116-156 | presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/manga/BaseMangaUpdatesGridGlanceWidget.kt:116-156 \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":"presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3247bfef115e14970eeb6be4710805422c3fb3638afb8cc30f1349fa6e40198d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): domain/src/main/java/tachiyomi/domain/category/anime/interactor/DeleteAnimeCategory.kt:17-59 | domain/src/main/java/tachiyomi/domain/category/manga/interactor/DeleteMangaCategory.kt:17-59 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"domain/src/main/java/tachiyomi/domain/category/anime/interactor/DeleteAnimeCategory.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"34af63b392c2e5e20ae4bab3d1df229af11f58f4179433c1de810e224c0c6c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/dto/KitsuListSearch.kt:16-48 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/dto/KitsuListSearch.kt:50-82 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/dto/KitsuListSearch.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c61004b2bac6fd73bc6ddcffe07bc77e527db4d6d4b0e746ec07737a99ce15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesScreenModel.kt:53-89 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/MangaSourcesScreenModel.kt:71-107 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesScreenModel.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedb8990b7e10267749a3a38411dcce39b96ceca99fd88bfe099d5247829222a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterSorter.kt:10-30 | domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeSorter.kt:10-30 \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":"domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterSorter.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47a213ec2210cda6e493c1fe1403f85628f64b3a6f598498b3ee903ca60d412"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt:73-124 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadNotifier.kt:73-119 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3159f4823f0cac75c52c64460114d3fc13dd4c39163627ce49761035d9a15c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:87-122 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt:87-122 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9267fa84d8bc049ec913bb2f2b39dedadf680c90373717972b34fcaaf0f005"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:287-339 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:282-334 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ba4608fb7b39c34d2e35c553bcfa57a32c105f8eaee83f71c177af03d7c7e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt:75-111 | app/src/main/java/eu/kanade/presentation/category/MangaCategoryScreen.kt:75-111 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ed09be54eb72ad7bb57c17aaec8c972be79abe2b3a3e1b27926d1370b39c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/api/AnimeExtensionApi.kt:37-79 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/api/MangaExtensionApi.kt:72-110 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/api/AnimeExtensionApi.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3762af2b1c3597b67e9d3190680beb980ed4f089e7bac8a2ba8fa5e789e32d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:93-131 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:94-137 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71f0877e98b7774a69a9b77ff8a026dfa66f9b0d326d4f0e9353f5bc1bfadd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:379-416 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:365-402 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"5970abed774375d12865c591adfd8bcf2f4720863fe5e1072f37b8ecdb7f131a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt:90-116 | app/src/main/java/eu/kanade/tachiyomi/ui/stats/manga/MangaStatsScreenModel.kt:90-116 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cb3cc2ab7af001e05562db9b6f2c29dc62ef0ce18f570d309937904785b368"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/anime/DeepLinkAnimeScreen.kt:27-71 | app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/manga/DeepLinkMangaScreen.kt:27-71 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/anime/DeepLinkAnimeScreen.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be2bcd4edfa5778680979b4c693463db7fa5470062b7f9ecade25011918b838"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt:68-110 | presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/manga/BaseMangaUpdatesGridGlanceWidget.kt:68-110 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"627ce8a2c5af32f14ba0ed82e210c2bf9e744a1c610eff5b5df122234cba23b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 44\u002B corresponding lines): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt:30-73 | app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryCompactGrid.kt:31-74 | app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryList.kt:34-84 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt:30-73 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryCompactGrid.kt:31-74 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryList.kt:34-84 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 44 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba05713f40709d6eb4ce4155f48a24213778abf843296ae601c94ff64a13155b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:48-93 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt:49-94 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdd161a4c226b66066248626c304784896c341905240c02a7156ad470f659f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/domain/source/anime/interactor/GetEnabledAnimeSources.kt:18-41 | app/src/main/java/eu/kanade/domain/source/manga/interactor/GetEnabledMangaSources.kt:18-51 \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":"app/src/main/java/eu/kanade/domain/source/anime/interactor/GetEnabledAnimeSources.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcee914cbbc49b0aedbdbb977e087a8fbca4a26ce8ee806d37b2c757d8649dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:93-138 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:88-133 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35ea1f86d29ef2d36850d1a465495644ea9375dd8f7c72837ef8ac6371be114"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:171-212 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:147-187 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3830761a6b2527553cfe14f8d4e8991ffb09910c8dcb3f02bded9a8275815e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt:46-79 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallReceiver.kt:46-79 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be29a0a720bef4d93a583356645cf9a8c148e523c7e8dfdc879d23098b143c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:50-88 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt:50-88 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc6fb7e685e70e1270ce3317e00e930ba7d3b4c57b5d67f566f85db72da17f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/eu/kanade/domain/track/anime/interactor/TrackEpisode.kt:25-58 | app/src/main/java/eu/kanade/domain/track/manga/interactor/TrackChapter.kt:24-60 \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":"app/src/main/java/eu/kanade/domain/track/anime/interactor/TrackEpisode.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1603399f8cf0c20a8e30232b4a0096f68cf36b3760a10c8abd175c750f3b2545"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:45-88 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:90-133 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"453adf290538aeb95d23a1ec5c75e0078c66644e91050ee702cc1db80e99e2dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:156-186 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:188-218 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2ad6029d538047bda7faa77308ea7e8c70e2510ce32f00f0b2626905a2f2b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:116-166 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:111-160 \u2014 These two members are one piece of code written twice and then edited apart: 50 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b835401605faf863907a943c6fc7723ecc3619bab446e5e02bf6d255b99af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:631-659 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:616-644 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72b430fb3802337a22f5cf922d5ef5b0232d46a6ed8828bebaddfea4cf1c12e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:200-234 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:195-229 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ea6b99f9254877cdbe1e6c830ed711e784db157f5d9ed85f1d03b74bca11ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): presentation-core/src/main/java/tachiyomi/presentation/core/components/SettingsItems.kt:307-352 | presentation-core/src/main/java/tachiyomi/presentation/core/components/SettingsItems.kt:415-460 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/SettingsItems.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd2a7423efc900b06eb92ce8c2b58e384744ba1cdced7cf6ef746d5714ad544"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt:181-206 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt:208-233 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"031419e918a4720eea0078a37c2e38ebcbf2d59343f8f7e83e9298938dba81d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt:188-225 | data/src/main/java/tachiyomi/data/entries/manga/MangaRepositoryImpl.kt:148-177 \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":"data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ed7153c5603154b364f6ff110e8e60a336801237d3a141e0f3c522412c772a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt:36-65 | app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreen.kt:35-64 \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":"app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d6e973afe7f5af47c80ab3c3371acc4a232e10d18623de9f33ae12fbf7b2b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt:355-391 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsPlayerScreen.kt:300-330 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be04a964416aca7f16a3833ea2a38ccaee3e469fe9a45fc25d3b489f5cb13b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt:31-67 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceList.kt:31-67 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e857bc2ed3677f1a5d35a63e847895435bba80b0867565144d4f734fb52143"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:362-398 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:321-359 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98aff598ac2349cbeb9a8eeffab14d2fa32e334383711a83682cdf50f3eda32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeEpisodeListItem.kt:266-297 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaChapterListItem.kt:194-219 \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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeEpisodeListItem.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cca69473af2d232f4c3ab793185cc535c6fb1ff4994ef6ba42b4651c63ad673"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt:33-69 | domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt:40-80 | domain/src/main/java/tachiyomi/domain/items/season/service/SeasonRecognition.kt:39-79 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 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":"domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4faa88d4baab44bba0f350617ffe65466336df651131d51f72922983e7fa16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeCategoriesRestorer.kt:16-41 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaCategoriesRestorer.kt:16-41 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeCategoriesRestorer.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc656b2c2aee2428c601934b26e39b329de780c602a7c0d972933edd21e58a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:46-80 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt:46-80 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db6a2a67856f40fade0cb542cb47bd266033fa8fc1955b3ca543ab94c9d4074"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt:62-91 | app/src/main/java/eu/kanade/presentation/more/stats/MangaStatsScreenContent.kt:58-87 \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":"app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a6abc245c99635718c489db9d53411de860df2bd0e7b6ed57f956773e3e12a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreen.kt:21-57 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaExtensionDetailsScreen.kt:21-57 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05a39e1f5d68528bebb7c25e66b1c4a15c8610981d4125bbcf775d88a4fe548"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:425-458 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt:421-454 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"518a63a579f5aa902061582bb1d7a034c5925649bab080ed3a9c9ad2d1d1408d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:687-716 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:687-716 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f452eb1f0703c4e0652a54373b8314adec226092629920e7bb04d59c13606a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt:212-256 | app/src/main/java/eu/kanade/presentation/entries/manga/ChapterSettingsDialog.kt:235-269 \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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2576c84e3a8dcd6701d812bf5f8d86b47f2b659372fdd58399ed86edf3b00d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/eu/kanade/domain/track/anime/service/DelayedAnimeTrackingUpdateJob.kt:26-60 | app/src/main/java/eu/kanade/domain/track/manga/service/DelayedMangaTrackingUpdateJob.kt:25-53 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"app/src/main/java/eu/kanade/domain/track/anime/service/DelayedAnimeTrackingUpdateJob.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d038fe1d37653a1978f85fa14883b1f4ba5fe58054d13bdee89f3ab07491891"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): app/src/main/java/eu/kanade/presentation/player/components/SliderItem.kt:54-90 | app/src/main/java/eu/kanade/presentation/player/components/SliderItem.kt:103-139 | app/src/main/java/eu/kanade/presentation/player/components/TintedSliderItem.kt:53-90 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 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":"app/src/main/java/eu/kanade/presentation/player/components/SliderItem.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a09bda59a4ee6117ba82662fc811883f07c5160093598de80db6166b750fcb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:135-165 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:167-197 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc2d47a721a86ab85739e8c41e956f42952bd272148710d315c1b1842db1d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt:71-105 | app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt:71-105 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5dd0a736775e5987b58b4731e768408300b044debd1b3db2482ee96a9c4fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/eu/kanade/domain/items/chapter/interactor/SetReadStatus.kt:29-61 | app/src/main/java/eu/kanade/domain/items/episode/interactor/SetSeenStatus.kt:29-61 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/items/chapter/interactor/SetReadStatus.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25dcd2d07abcd5b5e43c466042c50fdb126871ecfac2824e3570781c6257bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt:119-148 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt:150-179 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d39d90780ea87edf5847a2fa19b96213c441403920502ee9e7afee72f485f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:1847-1877 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt:804-843 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"a790af85e016f753ed359ecaada31054620dd1098b4ebf8e6d9d7f4cc3825b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:196-225 | app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt:195-224 \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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb369582f1ba1a51274ed657164c04ae41ae6fcedaa7df8415dcda09054e3d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt:134-163 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt:134-163 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3299d6a4d08a607b8c9bf866989dbd83abc59d1dab1ad4fa94886eace90fb57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt:193-222 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt:198-227 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96a56efba955f589539008c7918d8316d5c6dbcc0fe6310833bed76aabbd507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/AnimeWidgetManager.kt:22-42 | presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/manga/MangaWidgetManager.kt:22-45 \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":"presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/AnimeWidgetManager.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd55edd1dea8880f5ad05200054c598eabba40e8cf705d57663ccb6c680d22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadStore.kt:93-115 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadStore.kt:93-115 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadStore.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"65876e3f4e61402ef3631768ec8b99d30cd12ca4666eb36c8d04ae9406657acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:212-235 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:237-260 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cf08b5f7ee8bf9924c7590284cfad924c5da2774f6ed317ed5640ea6cea4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt:38-64 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallService.kt:38-64 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cab9250d436a19fb8e70fbf8c5e3fc53d0de1dbce23fba4c7fbaca68ad7ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/mihon/domain/source/interactor/UpdateAnimeFromRemote.kt:61-87 | app/src/main/java/mihon/domain/source/interactor/UpdateAnimeFromRemote.kt:114-140 \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":"app/src/main/java/mihon/domain/source/interactor/UpdateAnimeFromRemote.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f2970f38e064e91397d0d73c557e5acdb93e9e61ffafcbdf367eb2603a0b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/sources/MigrateAnimeSourceTab.kt:23-52 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/sources/MigrateMangaSourceTab.kt:22-51 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/sources/MigrateAnimeSourceTab.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"307ed5faec2b7948508758b509fba75367ec0d1e4f193807d0b81fc293d1302e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 44\u002B corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresScreen.kt:35-80 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/manga/MangaExtensionReposScreen.kt:35-78 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/custombutton/components/CustomButtonScreen.kt:45-88 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 44 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresScreen.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc4245bf1927c0d0c6a526bbfed3acfe9eb2862c4d41a530c9de80510cfe914"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt:96-136 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt:101-144 \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cb992ea889877f5411849d8fc71068020ef428f5fd470f76a4f149c97fc331"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:198-234 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:202-238 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21c30cceb62e649110476764a283d20b124f831269528494c69e9d07857face"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/MigrateAnimeScreen.kt:25-54 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/manga/MigrateMangaScreen.kt:25-54 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/MigrateAnimeScreen.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c44af7af59106f1e3857677fdb0e710fa855e25257d410df58ee32aebd5ab30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:360-388 | app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:398-431 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:343-371 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:381-414 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"289b4bb3676002c74b2340c6cf56a139a26e8856a00a294c4ae4681088170ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:186-210 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:212-236 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a7e7a0ab5c854d4cfbed0fa755bfdde77aadcd4e4e4fd3f1fde831ea7b924f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:247-279 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:255-288 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8149946b05e852f4723cbb815f9fc55bf2f46dc97776cadb3731bee3f57f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:780-804 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:669-694 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c8a2e7c92e6253ba4dcabaa82488f16907e4f7fbda437d9e4bbe3cc48ba189"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt:176-200 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadNotifier.kt:172-196 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd25f9ef668a8e71dc2249ca3ef91f54d880c299f489778adb95573c04db96ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:609-640 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:533-564 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32295af25f1f5ed65be3ccf704b0375eb72b4b084bd93c9caf5d38a93e51ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:81-115 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:174-208 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccccc5db243d5a82df747aecfb11669ce4490cd194bb421518e6b40eac58304b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:695-718 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:680-703 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f35936d7d360b13f495b3784d63c82725b3d1f8c6f77d47d665f89699e60509"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): domain/src/main/java/tachiyomi/domain/library/anime/model/AnimeLibrarySortMode.kt:99-122 | domain/src/main/java/tachiyomi/domain/library/manga/model/MangaLibrarySortMode.kt:97-119 \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":"domain/src/main/java/tachiyomi/domain/library/anime/model/AnimeLibrarySortMode.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9550f20aae27d4d25a24851a646df1bdc43f6a1e6538955505a13131b5beba12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/eu/kanade/domain/track/anime/interactor/AddAnimeTracks.kt:81-107 | app/src/main/java/eu/kanade/domain/track/manga/interactor/AddMangaTracks.kt:81-107 \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":"app/src/main/java/eu/kanade/domain/track/anime/interactor/AddAnimeTracks.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c20d278603d3304b388928d080c811f97460419a57200249a4232d75554f58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/domain/track/anime/interactor/RefreshAnimeTracks.kt:25-45 | app/src/main/java/eu/kanade/domain/track/manga/interactor/RefreshMangaTracks.kt:25-45 \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":"app/src/main/java/eu/kanade/domain/track/anime/interactor/RefreshAnimeTracks.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbde664a13a464f6c66fb49caae22e1eb5e5d7c9550e654186de68a5d395af86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:384-397 | presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:409-423 \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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdc86549db27f57461b4023e926261001ad6d4f6214221c1ff13e49e56ceff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt:61-94 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesFilterScreen.kt:61-94 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d37e2a829615ff2745bcb3e264a0489d68c228b1e397830826ec6e746f95ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt:129-157 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadNotifier.kt:124-152 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f09f099d9c451b530dba33cb4569ac3720874aafbacaf79d599f46ca6934e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:298-319 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:327-348 \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":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d41fdc3483d34f93413e535d8a4f54d451131210aa53e4e32e5049fba2cb7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:809-833 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:161-189 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80d5cb8e15d53a41a7e8f03cc079057f53aa4f089c09390947554242bb7e800"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/mihon/feature/upcoming/anime/components/UpcomingItem.kt:29-54 | app/src/main/java/mihon/feature/upcoming/manga/components/UpcomingItem.kt:29-54 \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":"app/src/main/java/mihon/feature/upcoming/anime/components/UpcomingItem.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c52640c826bc7a749498c9f2913fb5f0a2336b993636e851d4e180a54fd1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:138-161 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:120-143 \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07a9a4a96d18fe0ed57055c60ab64421401298c5c90ebd41be06d51114f5408"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): domain/src/main/java/tachiyomi/domain/category/anime/interactor/ReorderAnimeCategory.kt:18-46 | domain/src/main/java/tachiyomi/domain/category/manga/interactor/ReorderMangaCategory.kt:18-46 | domain/src/main/java/tachiyomi/domain/custombuttons/interactor/ReorderCustomButton.kt:17-44 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"domain/src/main/java/tachiyomi/domain/category/anime/interactor/ReorderAnimeCategory.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"badaa4448e3e5b0de26ec26956e030a7ad47d232488128dd2511a0f4152bff6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:338-360 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:297-319 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e4da731d9972f98b85ef972237e48ad6151bb6fa7ff49a19fab5c0747ecfc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:42-68 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:83-109 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"101b6a081b15891a3685f3ee157e1c5b0645cb367fed3a6e7ba6730e8e374a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt:271-294 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt:276-300 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"219da641ea06c385e845fe784224155023873b01cbffeb5dc951ff2860aab1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): domain/src/main/java/mihon/domain/items/chapter/interactor/FilterChaptersForDownload.kt:52-67 | domain/src/main/java/mihon/domain/items/episode/interactor/FilterEpisodesForDownload.kt:52-67 \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":"domain/src/main/java/mihon/domain/items/chapter/interactor/FilterChaptersForDownload.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f16223b40d3ea3a7ed363d643374065675ff83ad693a12fcc7eb081f2d7c7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt:205-230 | app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt:233-258 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a758bcade64c324e644556cb6e94bf6c4339154f0785ba2b693da128762c11d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeBackupCreator.kt:78-103 | app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/MangaBackupCreator.kt:83-102 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeBackupCreator.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eaee72dbc6d4933f835e880513546d9ba3bf26444afda3784d31b690805941"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt:210-236 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadNotifier.kt:206-232 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df5d85cdf8b613f4758f055a34148951094b49a041a914fd5eb3e240e9e0cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:119-142 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt:120-143 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"175107be83e455934f55c979d426b65461a472bc784ba34aa1ba032bbdefce11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:226-250 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:230-254 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a03b391bac7d376b332f3a8b27374284a51dba30765c4c3903d765e60a4964"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesFilterScreen.kt:20-47 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/MangaSourcesFilterScreen.kt:20-47 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesFilterScreen.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5de17aa161ab9e31f9e4bdc036586b296b9d1b0b318ad58d9020ad85581cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:569-593 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:493-517 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"358f2e7c05344fc37e7207693de0034e4e77affde1cb98c046ae788fd4fe3d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:676-689 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:661-674 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee26fa5b2a0313ed1c1c357719c0745101acb5a10ee6ba136a2624262d589a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): domain/src/main/java/tachiyomi/domain/category/anime/interactor/SetSortModeForAnimeCategory.kt:20-37 | domain/src/main/java/tachiyomi/domain/category/manga/interactor/SetSortModeForMangaCategory.kt:20-37 \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":"domain/src/main/java/tachiyomi/domain/category/anime/interactor/SetSortModeForAnimeCategory.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"18478b06da7bd6ddb655089e8bfc55c9c3c00410a01c202024c29346076a6092"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt:52-75 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSourceScreen.kt:52-75 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28d0beeb5b75529bda9b715901472ec0af1ee631962391638cc1e3f3ad6ebed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuInterceptor.kt:20-46 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriInterceptor.kt:20-43 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuInterceptor.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ae883d38e6a8cc124261a92c0fe7d1aa0384710623cdc29ecf57a8f175d5ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:189-215 | app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt:160-186 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7e0500dfa0310ba6f805d76b3669cb188c0bb75e85368f0af731a9fc1b8705"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:45-79 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:138-172 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"56537ca95eb210fe8f32766d17536fe1b14386823f906a4197bbe1eafc958639"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt:65-90 | app/src/main/java/eu/kanade/domain/entries/manga/model/Manga.kt:50-70 \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":"app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8516bd390f18a03fb36f60282c866b17df5c2abe5978ce6766452ca919a73dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt:51-78 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt:51-78 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8832f99d594b94b610cb18e43d29ace315a4ad512f97dde88f38fdfeb3462cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:387-406 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:385-407 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"81324fde670e817e341c49bc035baa80d274ddb33b2c6c4156abefa6662d9243"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeImageScreenModel.kt:115-135 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaCoverScreenModel.kt:92-112 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeImageScreenModel.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50a8fa5d841c019e6610d1a7e76430871f0d2fdba6f3619a67d08186b703e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:57-82 | app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt:56-81 \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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83b9641c4aa17977eae62f227e3c3719f94759f2656a3b4e51bf1f285cca529"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/about/OpenSourceLibraryLicenseScreen.kt:33-68 | app/src/main/java/eu/kanade/presentation/more/settings/screen/debug/BackupSchemaScreen.kt:35-76 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/about/OpenSourceLibraryLicenseScreen.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4354ac2bc5c0c9375f3ab80c2754b4c8585dd07282a41855bb8843ef829bf8e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): data/src/main/java/tachiyomi/data/items/chapter/ChapterRepositoryImpl.kt:16-42 | data/src/main/java/tachiyomi/data/items/episode/EpisodeRepositoryImpl.kt:17-48 \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":"data/src/main/java/tachiyomi/data/items/chapter/ChapterRepositoryImpl.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a04dd9b16011a0766c6d14ff042a9bff3fda62d494dd42c3787fd3f5c1b3a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueTab.kt:20-44 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadQueueTab.kt:20-44 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueTab.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5560fdb0f81104041da239623e5eefe6a2638f83bd1900d50a3cfa564d8d223"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/java/eu/kanade/presentation/library/components/CommonEntryItem.kt:83-119 | app/src/main/java/eu/kanade/presentation/library/components/CommonEntryItem.kt:189-229 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"app/src/main/java/eu/kanade/presentation/library/components/CommonEntryItem.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd806b56921914eb70a49ffb868277a768027d981bf64c0d88a974abd62db7dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALAnime.kt:24-48 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALManga.kt:24-47 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALAnime.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"83aa1004d242614aa36f13ae82f32020f9184e092b82591d1b8226090917054a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/dto/KitsuSearch.kt:40-56 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/dto/KitsuSearch.kt:58-74 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/dto/KitsuSearch.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1455481b6d5fdf93b3d8b7e33ee2bc8b3f09cc5f5a9ad25be8a63581739a5bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionFilterScreen.kt:21-49 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/MangaExtensionFilterScreen.kt:21-49 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionFilterScreen.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00a56af118695560828f09b9f44620aaf9a450b5333105f51a3fab42fef433f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/domain/items/chapter/model/ChapterFilter.kt:16-36 | app/src/main/java/eu/kanade/domain/items/episode/model/EpisodeFilter.kt:16-38 \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":"app/src/main/java/eu/kanade/domain/items/chapter/model/ChapterFilter.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c590a284a257efdc768a2af9c7ee652a8d61ccc50e2d9e3f49d881b8385801a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): app/src/main/java/eu/kanade/domain/items/chapter/model/ChapterFilter.kt:42-52 | app/src/main/java/eu/kanade/domain/items/episode/model/EpisodeFilter.kt:44-56 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1682-1699 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:1205-1220 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 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":"app/src/main/java/eu/kanade/domain/items/chapter/model/ChapterFilter.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e0a47cca26110d3c0b24d2c1e1601252241e677c4ea238ba05667d048525b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:172-191 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:167-186 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"826cda64d91327a9e1f58becd12bc9492f4018579d8d01166ac9a1b0d9ceecfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt:67-91 | app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt:93-117 \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":"app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"434bb21e51e73f53076afc5a50c2a2af50cb188cd2c2c1da9e42141ed46d0e2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt:90-112 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt:130-152 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb0ce3c9dcdfb04942fb0add51597620cfa2979182c67210dbda6a770de58f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:107-130 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:103-126 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad06265e80e9d25c7dfffd66ba833f27001a1bc619509dd8c144d61e3987ec6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/eu/kanade/domain/source/anime/interactor/GetLanguagesWithAnimeSources.kt:16-33 | app/src/main/java/eu/kanade/domain/source/manga/interactor/GetLanguagesWithMangaSources.kt:16-33 \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":"app/src/main/java/eu/kanade/domain/source/anime/interactor/GetLanguagesWithAnimeSources.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0167b929a1fa73ba834fdad02668b54c03cccf59567a49aec926aaf731efb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/eu/kanade/presentation/reader/OrientationSelectDialog.kt:58-83 | app/src/main/java/eu/kanade/presentation/reader/ReadingModeSelectDialog.kt:60-81 \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":"app/src/main/java/eu/kanade/presentation/reader/OrientationSelectDialog.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec6f7e2ae02abd6590270ed5650864508c4f5a61f134450c9c820871aa5d760"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:359-377 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:352-370 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0a43724ed930b393f605f98a1f01a5576fbb63855b70f6a280fc620949c940"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:408-427 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:409-429 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8925b63762784430b36d9ce8799b2dbdd62f848018c25df535a798f4ab7e0d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt:46-78 | data/src/main/java/tachiyomi/data/entries/manga/MangaMapper.kt:34-58 \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":"data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c33cd87819da5f61f4bda22392addddb1ec17c00dff8aedcb9820b0a76076fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:64-82 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:63-81 \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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5004d97f82457951a5528af1b314bdd5da2f9b50a62ba90a006973e0f8b634c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:129-156 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:158-184 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6b005d20299fd2118466c3012280d396f261d3fe6b8bc1861685ea3aa1b7b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:125-145 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt:125-145 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af44ffd7c4a9edd49c4526d96254af79d35ec702bb7936e5abe980583ea60ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/dto/BGMSearch.kt:31-44 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/dto/BGMSearch.kt:46-59 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/dto/BGMSearch.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cd83d92fc2165563faef32277615b7e45d8fe30cb5701f33f4645bdd4bd879"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:113-134 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt:113-134 \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":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9784cc2269fa625278ac03b1e0fce188f6fd0933addb82e69e8746c4ba959e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/BrowseSourceDialogs.kt:15-40 | app/src/main/java/eu/kanade/presentation/entries/components/ItemsDialogs.kt:41-67 \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":"app/src/main/java/eu/kanade/presentation/browse/BrowseSourceDialogs.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf58afa24109c0688e510b78b1f4fe75843171b41ae1c7001f088528390e087"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt:130-155 | app/src/main/java/eu/kanade/presentation/more/storage/StorageItem.kt:146-181 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4355e440919dc72669e639dfff95429a56cf418389d33462c8d209c966479f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:348-369 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:348-369 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd6159bde8e636f5cefd177a42d5ed79dac7328c94520fbc1908506f4239189"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionSources.kt:13-30 | app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionSources.kt:13-30 \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":"app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionSources.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f896d4fb5118d2c9352de2a84766f63789224b701672a725e7f5da54585687ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:43-59 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:61-77 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a984f2b1339bcffb851ad7e6df01cfde253d138d14c5ad71d76148b49b0b902"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateNotifier.kt:119-145 | app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateNotifier.kt:152-172 \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":"app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateNotifier.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdc5af5c746aff189dacffcb54aa688c7896629acdd9c466376ca09a9932173"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenModel.kt:44-60 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenModel.kt:44-60 \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":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenModel.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb4a9b6c9afb34afacb7f883b290dcfe86e4e4357fa1e80474c2b55967a8037"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:734-754 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:734-754 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cc3e9df7b87f5a453039e0867a0e7ac7dc2c284e4b8274058da7ac11c1685f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:528-553 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:514-538 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98f02534b9130f16f1b43ab31336a07d859b220ceeb32680dea6a8291db8a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt:21-34 | domain/src/main/java/tachiyomi/domain/entries/manga/interactor/MangaFetchInterval.kt:21-34 \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":"domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5d45565ceaef7a1fceb88e1bc9b193d5fd5b6d4e42d5c9282bc584507ce9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchCardRow.kt:33-54 | app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchCardRow.kt:33-54 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchCardRow.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba64eb064348c80624b214a2057e3f4ea512f98098234240c45b044be4132df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerTransitionHolder.kt:118-138 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonTransitionHolder.kt:120-139 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerTransitionHolder.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01c84ea708168f9dd4825edf1d04249c793c535809a51d039ecba0ceafa11aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt:228-249 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaDialog.kt:178-202 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eae6be1c04a1e809d62ee6879d1041fc3738baf945c49d056fc1d193b1f019c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsTab.kt:17-42 | app/src/main/java/eu/kanade/tachiyomi/ui/stats/manga/MangaStatsTab.kt:17-42 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsTab.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c6216c9c7f7eae5abf764f8d99381b4d33a42bc8164889ab101ada0ce6ddbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): data/src/main/java/tachiyomi/data/track/anime/AnimeTrackRepositoryImpl.kt:51-71 | data/src/main/java/tachiyomi/data/track/manga/MangaTrackRepositoryImpl.kt:51-71 \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":"data/src/main/java/tachiyomi/data/track/anime/AnimeTrackRepositoryImpl.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20f0109b77abcec9266f659a8ad0199cd37c583dec4dba38bb6747a67e6f3a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): domain/src/main/java/tachiyomi/domain/entries/anime/model/Anime.kt:315-347 | domain/src/main/java/tachiyomi/domain/entries/manga/model/Manga.kt:105-129 \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":"domain/src/main/java/tachiyomi/domain/entries/anime/model/Anime.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"425d884d0001cc132ff4fafe087f2607688749c67c41f028b6ed92a91615de19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreenModelStateProvider.kt:89-107 | app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreenModelStateProvider.kt:89-108 \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":"app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreenModelStateProvider.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d387433ea45c48224bda4c6fb8788a25cb8a92a533c3d23a7c1714152226cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:661-674 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:646-659 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4d5623bb91a159de1645189b1245e510da3962326fe07b9118422e063dccdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/mihon/core/migration/migrations/PlayerPreferenceMigration.kt:15-33 | app/src/main/java/mihon/core/migration/migrations/SplitPreferencesMigration.kt:14-27 \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":"app/src/main/java/mihon/core/migration/migrations/PlayerPreferenceMigration.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f4dcd420fcba1208d42f456fb7dc25900d6df52ac692a4b613256721b84045"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:311-330 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:332-351 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:353-372 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:374-393 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e18d3bc259a02887dc8c01af6672bea98f3a4a84fae461dcb2a216b1bf51d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:249-278 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:280-309 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"774c7724f79d1b879daa96ac2c05d74d33f1d32fac5439f5ef971476f260e1a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeBackgroundManager.kt:27-46 | source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalEpisodeThumbnailManager.kt:28-48 \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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeBackgroundManager.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6f88fd5e63978784f39ac2f064e20b0e338f66671abf2855b4aa10013a2d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:141-160 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:142-164 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8ea734b95ff7d45c34d1f5d069a1c5c08b5bbebeaa601c501187267b68ad2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt:47-72 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt:53-78 \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05e8c3bf6dfdac488b73ca1b7da6744c2b1223782bface40679548220142131"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:223-234 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:243-254 \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":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"21865a123f846e9af7cfb81aa69515f970e391c0128cd33b317754c1fcc410ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 56\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:231-291 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:293-348 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:350-429 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:431-505 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 56 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5ce513e3a16e89be7a8f2f3833937d02fa22a90f3ce882cd28031c9cad0117"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt:251-267 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt:269-285 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"129ba1717382197ed24b2f5098d7ae239264be19b8c31b8ce5c03165ce633029"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:510-521 | app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:531-542 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bcc3cf2b4e9da90f7daec562fff12e274f57f52ef583291c5819d8a0da0831"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt:681-703 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt:720-740 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6e92f14a3cc63d81b27f6c55b5f0524f350fcfb1734e3a0a1eb5effe917a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:269-290 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:264-282 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8eb7aee5a264dc6897c7fda618987d9968326c5e12032f29d5099ef8557dd77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt:142-158 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:143-159 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"08728f95136252f26bdc7083280bbd370b11bb0677dc71abd13c5fa5767075df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:485-503 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:471-489 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6341da546da6e4418b2ba7dc81d47a89097027d5ca1c733187b65f83d0feb65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:145-159 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:141-155 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75fed1f589cd1fa5cb90cd69cc10074c577b2af92bb84a63f052672be5eb6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt:81-98 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt:100-117 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"670b6f5ebe2c4bf94fd738eb0d23e03f91fb38b33871ff0a407edcb92fa9e1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:225-245 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:234-253 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"143d9b095cec28b9fedefbddf338dff61cedf2534e62177329c82ad9ed7ee465"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:89-109 | app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:232-251 | app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt:88-108 | app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt:231-250 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"689639bcadd6cad7652c2b9bd9b3de17efecc5e58f249eb70754689ef4071685"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt:121-164 | data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt:206-248 | data/src/main/java/tachiyomi/data/entries/manga/MangaMapper.kt:92-126 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 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":"data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"35946d27f72d88579b9c746dfea15ed5a4ed47b177aa5f94e99e7093a9e664ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): domain/src/main/java/tachiyomi/domain/category/anime/interactor/CreateAnimeCategoryWithName.kt:21-39 | domain/src/main/java/tachiyomi/domain/category/manga/interactor/CreateMangaCategoryWithName.kt:21-39 \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":"domain/src/main/java/tachiyomi/domain/category/anime/interactor/CreateAnimeCategoryWithName.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"126d4857bf480c3e5d203180b3f14fe523aae91544439b6045e6e79882b3a31d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:227-238 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:227-238 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8695edbb6d87952a5b702c1ab422eac929eaca8e1e7b7f74c4a0d7fe1752574d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/ControlsButton.kt:58-92 | app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/ControlsButton.kt:101-130 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/ControlsButton.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67da47a8a8404ff5c8ee3aef1e0a3b74091545792e749487613095cedc37577"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreenModel.kt:103-122 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaExtensionDetailsScreenModel.kt:103-121 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreenModel.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"543e0f5a1db131e38eaebe416a7da651cfe86e89a0c9168b6167184125fe8209"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:269-282 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:247-260 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4608cd26c72b2ae514bf153e8d0a9b6cdeb98d0841dd666149e528404eaf3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): data/src/main/java/tachiyomi/data/source/anime/AnimeSourcePagingSource.kt:40-58 | data/src/main/java/tachiyomi/data/source/manga/MangaSourcePagingSource.kt:43-61 \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":"data/src/main/java/tachiyomi/data/source/anime/AnimeSourcePagingSource.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e4a3949eb40eaa1f3738351ec08ccf98325a3c738af8e4b2282f1e736590ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): domain/src/main/java/tachiyomi/domain/entries/anime/model/AnimeUpdate.kt:39-71 | domain/src/main/java/tachiyomi/domain/entries/manga/model/MangaUpdate.kt:29-53 \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":"domain/src/main/java/tachiyomi/domain/entries/anime/model/AnimeUpdate.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90a4b0ac1586bb830bef73ae20c28256255b24a6f3306f098dc502abdbea417"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:300-318 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt:84-104 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt:106-126 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt:168-184 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt:186-202 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 17 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b37ed3b8b7d8a370a023b6911eedbcf7514094ab7d2579481d8ac102fdce95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:423-436 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:409-422 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc377592b8f99cdc2d98c4a33a23b6961004ca759062ef30ef4f0e37e2fc891e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/eu/kanade/presentation/reader/ChapterTransition.kt:148-171 | app/src/main/java/eu/kanade/presentation/reader/ChapterTransition.kt:177-203 \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":"app/src/main/java/eu/kanade/presentation/reader/ChapterTransition.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4cc621b9a422fe9ed7433ade03271ea40079921dc43ec834e53dc4ad54e3cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:344-356 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:305-317 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:327-339 \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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eb378f0a56df538cd443e83e5cf33b2f87b53adf7efd81489d84323c6871f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:250-262 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:228-240 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"df914d428c40f93ffd8b77336a7e52b433eee0b51dad43a67a232a8a5a6a8fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): domain/src/main/java/tachiyomi/domain/history/anime/interactor/GetNextEpisodes.kt:33-51 | domain/src/main/java/tachiyomi/domain/history/manga/interactor/GetNextChapters.kt:33-51 \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":"domain/src/main/java/tachiyomi/domain/history/anime/interactor/GetNextEpisodes.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"05289021c10397e56ae1149b9ae76e82d3d32b80630a7f2c578637fcc44c0638"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHeaderItem.kt:36-49 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadHeaderItem.kt:36-49 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHeaderItem.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80530e38f9d8637f512198d7b5947a3b4f220077cc44f985fe86c69ba630e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:595-607 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:519-531 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"958f8ed0d0254a4e8c68aacae27db88473fe058e7afea92ad46d66d8af680291"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/player/utils/AniSkipApi.kt:46-65 | app/src/main/java/eu/kanade/tachiyomi/util/AniChartApi.kt:51-76 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/utils/AniSkipApi.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66cd41026eefc52cc58ea5ca0d3da69a2c135c0bddd4bb463fe191e0064ddc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt:287-303 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt:305-321 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"96309eace9cd814b4329f6554e1a53aed7d26794e79edf80872abe43524bb226"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt:159-172 | app/src/main/java/eu/kanade/presentation/entries/anime/SeasonSettingsDialog.kt:205-221 \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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd6bd0e06491e12cb7e4e357cd22b607041807aa117afa9b2569b8e978a9f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:189-207 | app/src/main/java/eu/kanade/tachiyomi/data/track/simkl/Simkl.kt:64-81 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"103adfcc08ad4655b063202983381b65714dc1bf9a686607fa5b2da915e798c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:835-847 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:721-733 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c7aa8c81aa847f3b9c517dc0786b19157f74a1a9d33d1f0e74d59e99e5a21a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:268-278 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:268-278 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49000929dbdb89a3ed9beeeb2aeeed3d88eb5105701bf557a692d1d186e74cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/storage/anime/AnimeStorageTab.kt:15-34 | app/src/main/java/eu/kanade/tachiyomi/ui/storage/manga/MangaStorageTab.kt:15-34 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/storage/anime/AnimeStorageTab.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3332b80703777ab18695ec8a607cce42bba32d5b926516f88805644f944375"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): domain/src/main/java/tachiyomi/domain/entries/anime/interactor/SetAnimeEpisodeFlags.kt:56-79 | domain/src/main/java/tachiyomi/domain/entries/manga/interactor/SetMangaChapterFlags.kt:47-70 \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":"domain/src/main/java/tachiyomi/domain/entries/anime/interactor/SetAnimeEpisodeFlags.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b25a9630a48e863613b0ce6bb97237da2a107a2626efe4e2137d68a9215b0a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:213-234 | data/src/main/java/tachiyomi/data/items/chapter/ChapterRepositoryImpl.kt:52-73 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e148a3c9daedfc949da8594daf6ea46b1bdadd425870e5874168825f17d6d72f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:399-407 | presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:425-434 \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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e88b6e14f48b62a8b57edfcde0bcfdd51026e0afbc11f025f07b862352d1c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/mihon/core/migration/migrations/RemoveOneTwoHourUpdateMigration.kt:14-26 | app/src/main/java/mihon/core/migration/migrations/RemoveQuickUpdateMigration.kt:14-26 \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":"app/src/main/java/mihon/core/migration/migrations/RemoveOneTwoHourUpdateMigration.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13a6102f565e33edad0d00fc0b91d238a13bf7c0df11c0b0a8d3a99ee2b6757"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/database/models/anime/Episode.kt:35-58 | app/src/main/java/eu/kanade/tachiyomi/data/database/models/manga/Chapter.kt:33-51 \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":"app/src/main/java/eu/kanade/tachiyomi/data/database/models/anime/Episode.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a517fc38304b31d8bf93cd1ed596f6527b4e0dd27f81cb230b126762731fd93a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:158-176 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:162-182 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9173ced783456fc07d0f032222a5a37d765d79909b96fea3adac4250bea1bac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/BackupRestorer.kt:164-180 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/BackupRestorer.kt:185-200 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/BackupRestorer.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7879eee26cd6ca455db011576c5e47dd8819723f05d4f28a104f5566e8001377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:163-176 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:167-182 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb0a126b03d0a230b9679d2a19aae018ebf41c6edac430a506dbaefafd9ffa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHolder.kt:38-57 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadHolder.kt:35-54 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHolder.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"190dc040c3960e6dbc2217a2250ec96b26dd73b292f6b1f30432d9ab147cd3d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt:476-496 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt:359-379 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4558896c8cefa3310ab05e8b9bd27278875308414a542d206c2c9e4da68be9fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerTransitionHolder.kt:82-97 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonTransitionHolder.kt:83-99 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerTransitionHolder.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e8771d6a2df4c55a1b058e4440ad4db38162bfd75ca7190ecaeaca0bbeadb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/Video.kt:214-234 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/Video.kt:237-258 \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/Video.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd799dea2da116091e273a391be4b26f87a88f4e0d1e623e7ceb9bd4fcd468a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/core/util/CollectionUtils.kt:10-21 | app/src/main/java/eu/kanade/core/util/CollectionUtils.kt:28-39 \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":"app/src/main/java/eu/kanade/core/util/CollectionUtils.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ff83cca97d2dbff4a468f7ce703fb5c702cfb52f70c1f665113724500b840d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 18\u002B corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt:65-82 | app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceCompactGrid.kt:65-82 | app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt:76-95 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceComfortableGrid.kt:65-82 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceCompactGrid.kt:65-82 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceList.kt:76-95 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f6528b4c351044c4a81d8b5fbb8b0bbb65dc23722f65a3b0ebd5fbf6836b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreenModel.kt:165-178 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadQueueScreenModel.kt:171-184 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreenModel.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"27835240ff25ecd7e866de61c015f6546b5aa9f3a3147712d8ae5f399b8e4c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeImageScreenModel.kt:59-85 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeImageScreenModel.kt:87-107 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeImageScreenModel.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d146940764ad247c0da3048d9310fe3bb29cde4241d27ab75ca38076d84828"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): domain/src/main/java/tachiyomi/domain/library/anime/model/AnimeLibrarySortMode.kt:125-141 | domain/src/main/java/tachiyomi/domain/library/manga/model/MangaLibrarySortMode.kt:122-137 \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":"domain/src/main/java/tachiyomi/domain/library/anime/model/AnimeLibrarySortMode.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b20517d5a8bd7d720f9b23f24d46b711cd12463ae82930b5635863a4aa2487"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt:40-54 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt:40-54 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"198e72c6f6309af54a818befe77c74a9f982fb256d0ad3619a85b759cf86e4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:209-223 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:225-239 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa2e310cfb011ee8d247e725d9b2b2c8109b95c04c044898a7d072097767781"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt:93-104 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt:93-104 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:405-417 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:372-384 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9379f5d0341659373ae2308c466a0be5f31d27a506dc83350cb55f1186318df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 24\u002B corresponding lines): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionFilterScreen.kt:24-47 | app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt:29-53 | app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt:24-49 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionFilterScreen.kt:24-47 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesFilterScreen.kt:29-53 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaScreen.kt:24-49 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionFilterScreen.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f01db525d0c292f0eabfe244a1b3c907648939cb2a595a06675bb2362a91b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt:131-152 | app/src/main/java/eu/kanade/presentation/entries/manga/ChapterSettingsDialog.kt:143-163 \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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"747fa68174443f6d3512457397d103477785fef937a3370b38ad77987f559635"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:299-313 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:291-306 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc03186d7f66f27ff6cbbd655e6c4293379fa660aa944a003010c1c9f3498e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:503-521 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:491-509 \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"151e5df2615fd81fdd7690f0aa32f031b8ec6e4d2ebf88a6f7fb20a6ff41b3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:124-138 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:140-154 | app/src/main/java/eu/kanade/tachiyomi/data/track/simkl/SimklApi.kt:142-156 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c981b061e5607581a754f28317580fcb617d445ab1e114fc17045b558a7b735"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt:455-469 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt:338-352 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"18753b6e42dbfacc38d0d44a6bbd293e8ba131ab08f73664a893f58260e20d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:370-386 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:293-309 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d8420634fda83d400a3ccd060b488426dbd57bedfa9df8e77ccd387028f5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:796-810 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:781-795 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"7904aaa7c83544568b2e43e6e736a17ff268cec39ab4166560dde2a1e63c92ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt:96-113 | app/src/main/java/eu/kanade/presentation/more/stats/MangaStatsScreenContent.kt:92-109 \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":"app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1fea3632e67ba31b2e46d855d566a3ea1ab42a77ba1f8b0006ae148f91593c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt:57-73 | app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesUiItem.kt:54-67 \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":"app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d187519145a032e22a83dcf615f1e8dfd4e2aab8f9c5f33e1aa85d8b04008130"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:147-161 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:142-156 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5ea564404af3652e07994266d59c0b43b934fbb07cd396110212fab5e08156"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:107-121 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:93-105 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4519d786ab93e01ad43d088963cc65dc3eb736e14aba4cca690ac73ff92e7ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:142-153 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:144-157 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cc10761a8edd9c56c92e6ab773045d0532451f481d446e61fd553ea934caa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:880-893 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:709-722 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"f656f09d260ae8a9f5f93e27c0901490ffbdd32798b315cb0c60989ea351ad26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:631-644 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:696-709 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:798-809 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:817-828 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf401ddde9ccb40095b015dbabd5a0eab2b7efae4199ccebcb618a669969efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionLanguages.kt:13-27 | app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionLanguages.kt:13-31 \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":"app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionLanguages.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0185fd3a012b6e6287efc5384a1a6c83874762c3c7771f4e616e9d699348ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresContent.kt:40-60 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/manga/MangaExtensionReposContent.kt:39-57 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresContent.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c6ff3ccf883e5219e095e25685b3fcf084349912fa80ed3e5a376b99239415"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:283-291 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:282-290 \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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce1db5da8093961c3e3274c25b3f87f127ea608268125187433c9ad5a1cbce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadProvider.kt:38-52 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadProvider.kt:38-52 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadProvider.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7b505b8901ba275002d3376d0d3ce2b62c65a71a76ba2acc608ca27ae06476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/dto/SMUserListEntry.kt:17-28 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/dto/SMUserListEntry.kt:30-41 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/dto/SMUserListEntry.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"87aa3d93340f605e844f1cb39e77ac0fa307edeccb47d0dfccb46fe49c6ffdf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:100-112 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:97-109 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c221e20692aab8278db20d170251078f2a3560028b59f35067b601b5156c7b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeIncognitoState.kt:22-32 | app/src/main/java/eu/kanade/domain/source/manga/interactor/GetMangaIncognitoState.kt:22-32 \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":"app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeIncognitoState.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"55774f65b004afd13cf8342805f0a152a0f8b9081c28ae9330c7b07e6a8e94d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:258-270 | app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:278-292 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:262-274 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:282-296 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"de85f3d4fb176fe28a22b266ab0dc2a9eaaf546418a698dba79b9fbacad3d550"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt:327-336 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt:341-350 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"73442cfa70e0efab3835b2ed89cb756572251d7b3eea397cfb5386f9b2a48d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/domain/items/episode/model/Episode.kt:23-35 | domain/src/main/java/tachiyomi/domain/items/episode/model/Episode.kt:30-41 \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":"app/src/main/java/eu/kanade/domain/items/episode/model/Episode.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3ad6bc188538fc6818e89d8535200a8f767ad5b723e81662db2ed8c958051a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt:118-135 | app/src/main/java/eu/kanade/presentation/more/stats/MangaStatsScreenContent.kt:114-131 \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":"app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cc24b1465f6be202485dd0f47663be74e6e8ff58b4cca81037df05b4a1404a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALSearchItem.kt:20-31 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALSearchItem.kt:33-44 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALSearchItem.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"af996662547ffd0de15b973f45941e639be57ec249e88fba68d9893b23fa8c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:855-861 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:741-747 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba1f31119ef719d17d968c9e8274360ce1cb4e5641038eeec5eaaa3d7f27990"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:914-931 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:240-260 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:799-816 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:240-260 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"758587e84fc053eb4235f373468feac8ad27a0e6944c2337938e2121115eaced"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/src/main/java/aniyomi/util/DataSaver.kt:65-81 | app/src/main/java/aniyomi/util/DataSaver.kt:99-111 | app/src/main/java/aniyomi/util/DataSaver.kt:151-163 \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":"app/src/main/java/aniyomi/util/DataSaver.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f41e3a28c978a87ff6eb57cd751fb473c03c6e0c9f9d588f3cb8d46c64cab07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt:49-63 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/SAnime.kt:54-69 \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":"app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"147a93c940950c139fc8b089e8552c32330034a5c17c5d54e25e0e0cbaba7e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt:179-191 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt:184-196 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76d061ae003d0486baa9263f4c4cb13cb252c5b66771a023ad3d2365f8e6ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:459-464 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:445-450 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"d956d64a21b99f79da2ebf27b63e3f3bdd4ebdd949f977bfc9dc578ebe3e290f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/presentation/reader/OrientationSelectDialog.kt:34-52 | app/src/main/java/eu/kanade/presentation/reader/ReadingModeSelectDialog.kt:36-54 \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":"app/src/main/java/eu/kanade/presentation/reader/OrientationSelectDialog.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"316522f8e7d723a1617681db1947a5dabfa4c82530632d94979e30ceb99fcc53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt:124-140 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:125-141 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt:77-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 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa32a0e550989c8e2050d645c0c08ba81a6411fffda58e8f57eee0df7246d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/dto/SMEntry.kt:23-36 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/dto/SMEntry.kt: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":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/dto/SMEntry.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9079821a3d3b54afc0fe6042d9aaf93c6274cd00a80baf279367a70c08b5475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:84-92 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:83-91 \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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b2202823d51fa5dee508cfde98f25bc2ed8c592e490aa8709e251992840593"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:262-269 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:271-278 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d6b7d3f91edc63004717ee848aeabeea67da58ae07a8fe8ec15c88d5076095"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:130-142 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:125-137 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e086fcb3a6baee971985b048e5210b30ff58aef10f1ec65ecb7dcced50303505"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): domain/src/main/java/tachiyomi/domain/entries/anime/interactor/NetworkToLocalAnime.kt:12-28 | domain/src/main/java/tachiyomi/domain/entries/manga/interactor/NetworkToLocalManga.kt:10-26 \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":"domain/src/main/java/tachiyomi/domain/entries/anime/interactor/NetworkToLocalAnime.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b51564ba9e0695276c7d60ea59f5d97d783768c3e48863f682153247f9601ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt:76-84 | domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt:87-95 | domain/src/main/java/tachiyomi/domain/items/season/service/SeasonRecognition.kt:86-94 \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":"domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc8ecc925da2bacbdc42526f88c4eeeb98263d213e6dedd1f87f30e323339c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/AnimeHttpSource.kt:685-699 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/online/HttpSource.kt:410-424 \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/AnimeHttpSource.kt"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a802a9573745a94eba66f4d0b1e5587383dd665ca165f9f0bfbac131c14d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:291-301 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:286-296 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"8539962ccf8a59b547dc42742ec504d460ca48ffbaf0e94c5009626f98566d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt:293-306 | app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt:98-110 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"09da475731bacf920c5a54737f1670e37c107914e9799d1d47d9db956d8749f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeSourcesWithFavoriteCount.kt:18-28 | app/src/main/java/eu/kanade/domain/source/manga/interactor/GetMangaSourcesWithFavoriteCount.kt:18-28 \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":"app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeSourcesWithFavoriteCount.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda10faba02d55b53fe8aaa84fa0120c70fe73a4bb6aed3e965b9390e83b3762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:47-56 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:45-54 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8ab2de2471d9c09d9e2c06e32dcc24c74d869842eece1f6a4b9318edb945ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:117-136 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:210-229 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73347a6ccca14a4eda3bc08c25632d20f8c49050fe64aca367930f73e0983fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt:1229-1238 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt:736-745 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b74544c4fe4762a4cb49d66b59c433670acc7549867411137f24b390321ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Button.kt:310-321 | presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Button.kt:367-377 \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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Button.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d4a0953fd76b4e2b8f0d2e7c441c785e26c0802e40c54c31508ed33c572744"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:437-450 | app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:452-465 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:431-443 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:445-458 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc30944a48b675a4eedb3d773774d19e25e3bd1dd401903d82448c9b63dc8b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:221-231 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt:221-231 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0356e345f0d66aa6cfe967195d34a9fdb48c39022cf69a7c57103ca3c166be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt:277-291 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.kt:242-252 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5787cfa0b62f631193a6bcaa1d91a88ef67f4f1fdd88b90f453bd012c0c9e034"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/stats/StatsTab.kt:37-55 | app/src/main/java/eu/kanade/tachiyomi/ui/storage/StorageTab.kt:37-55 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/stats/StatsTab.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e3bb60c5d6d75a02bd3d21e4e9c78261f882b86a39f8dce34157db1224421e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:171-179 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:170-178 \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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85fafc6e648b3a429e88e60347cba8cdf8e7b6ce664ac78651ae9f60070a800"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:252-267 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:253-270 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb451551eec3b077ceb7b5cb4219633a1163c0b2dea8b4751b7a6bb9fe65cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt:70-82 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt:91-103 | app/src/main/java/eu/kanade/tachiyomi/data/track/simkl/Simkl.kt:50-62 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b96bdaf9a0af65d872d20bfbc04aa14859bfc1bd122cb0ee7fc3811f10ad425"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/ParsedAnimeHttpSource.kt:31-43 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/ParsedAnimeHttpSource.kt:72-84 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/ParsedAnimeHttpSource.kt:113-125 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/online/ParsedHttpSource.kt:23-35 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/online/ParsedHttpSource.kt:61-73 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/online/ParsedHttpSource.kt:99-111 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/ParsedAnimeHttpSource.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a46eed5216d1e20d1be4996f2bebea1e2e1fea43249cfd02b9a7e169ae0d8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt:92-110 | app/src/main/java/eu/kanade/domain/entries/manga/model/Manga.kt:72-86 \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":"app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3916ac19568e6ca2f7b67d700465ad1727040939261b05af0c27ae32bd4b240d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/PlayerSettingsEditorScreenModel.kt:66-76 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/PlayerSettingsEditorScreenModel.kt:78-88 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/PlayerSettingsEditorScreenModel.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1106db956014eafee5eba859cd2426560a501c88faa2b06a7647439dd16a6b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/jellyfin/JellyfinInterceptor.kt:44-49 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/AnimeHttpSource.kt:101-105 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/online/HttpSource.kt:87-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 5 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/jellyfin/JellyfinInterceptor.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4bd12fcf0f7971ee217b9560dc2c577e5e5b419defed53ce7f9dfdf78d2870"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt:67-76 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallActivity.kt:67-76 \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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4736f144a6cd80300bb16d9f92b58ce1369d1817ba8f3987d409039c2428424a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt:507-519 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt:390-402 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bd196c6238b7d5dcc3f6955d35c8335948e816a205ee74011188ab334839ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1445-1455 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:1047-1057 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7156af86986f2bf685bf637969e7404ff859bbab3c9e07747024a6615fb9b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:363-374 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:376-386 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:330-341 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:343-353 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"2773a93585a5bf378d17a403271b3324b3ac0fa2484eeab4a46b3c9de9a7e1b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/src/main/java/mihon/core/migration/migrations/CombineUpdateRestrictionMigration.kt:15-29 | app/src/main/java/mihon/core/migration/migrations/DOHMigration.kt:15-29 | app/src/main/java/mihon/core/migration/migrations/RemoveReaderTapMigration.kt:13-25 \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":"app/src/main/java/mihon/core/migration/migrations/CombineUpdateRestrictionMigration.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7b59ba933a662ee6a69b6a3fdb5757f96fe1c830375e5c279e05a08d9acfaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt:38-55 | data/src/main/java/tachiyomi/data/handlers/manga/MangaTransactionContext.kt:38-55 \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":"data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"06386ef76feeb8cf83b9becd23f31c7032042bc5da1a89847861a2180e3cbb07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:317-325 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:303-311 \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"343e41b02f5d9cabc5f39c485dd524ad53fbec15b054a6305b5306679d06cb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreenModel.kt:185-202 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadQueueScreenModel.kt:191-208 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreenModel.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeddfb2eadbeebf20a803acb4dee057912e4f2914dfe5392913d6e7aae3f877c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:566-578 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:551-563 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b65c0a27af32ab9ff3b2b31ab46d2b4914026cea3a53aef067977afee2093a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:110-120 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:113-123 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a4037264a69d0dc4e8d92f98a012b3b6ffeff2cb446f2c5bd08d60f21f521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/mangaupdates/MangaUpdatesApi.kt:149-173 | app/src/main/java/eu/kanade/tachiyomi/data/track/mangaupdates/MangaUpdatesApi.kt:175-191 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/mangaupdates/MangaUpdatesApi.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad6d150073d3bbc553f42ee2ab6c7727aa47ac923a493f263bfd344a8c2d685"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/model/AnimeTrackSearch.kt:51-62 | app/src/main/java/eu/kanade/tachiyomi/data/track/model/MangaTrackSearch.kt:51-62 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/model/AnimeTrackSearch.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe3e2a1754e9f5fe2ad9a22a7bd81f85b53ed99e5905705ef0003fd15f1760b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/source/anime/AndroidAnimeSourceManager.kt:106-115 | app/src/main/java/eu/kanade/tachiyomi/source/manga/AndroidMangaSourceManager.kt:104-113 \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":"app/src/main/java/eu/kanade/tachiyomi/source/anime/AndroidAnimeSourceManager.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7c3685bc1299bc25082a2a9673dbe1a8d071fe63eb721f26a9399cf856471e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:572-583 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:572-583 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d0914f3353f032119b03dd1121a61c63b61085cf13b2dbc4243ba6bc4bf7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt:76-91 | data/src/main/java/tachiyomi/data/handlers/manga/MangaTransactionContext.kt:75-90 \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":"data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faabb441f6a20622a25f2181a452ce0bf33ac38ac453b333d720151b0ac8ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/presentation/components/Banners.kt:128-140 | app/src/main/java/eu/kanade/presentation/components/Banners.kt:143-155 \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":"app/src/main/java/eu/kanade/presentation/components/Banners.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c624cd63ff75dfb841711828591a5cf2fa1094f33da3372cc6db8b9d77682b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt:37-57 | app/src/main/java/eu/kanade/presentation/more/stats/MangaStatsScreenContent.kt:35-53 \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":"app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c47a0727284a7c90e29e9354739af9ebaa0e9d1f315f38a451e744703519a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadProvider.kt:101-108 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadProvider.kt:101-108 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadProvider.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcda9d7132f3cc1345fc40bd72a1206222ffcc39e37449ec201360e6bce6c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeSearchScreenModel.kt:34-44 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaSearchScreenModel.kt:34-44 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeSearchScreenModel.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6d00a01ee08a49c767c880bb4bc1aa501c76ae4f5b0177f24b39eb741b67d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:458-472 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:382-396 | app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt:230-243 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt:235-248 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5a68569a0f539144480c50f7babee54d64f7f9cdde215b80ead9be293c90b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:1051-1065 | app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:1067-1079 | app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:1081-1095 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ca6ee687a0cc053f7c1809ca8e8362de018b3e5b2eea785c174e80546e6ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt:110-121 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerConfig.kt:140-151 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27648a81ff670bf8f53d1ec9f6348c8edd513480cc7a72c3cfbc899db9af2dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/presentation/category/components/CategoryFloatingActionButton.kt:20-28 | app/src/main/java/eu/kanade/presentation/components/FloatingActionAddButton.kt:20-28 \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":"app/src/main/java/eu/kanade/presentation/category/components/CategoryFloatingActionButton.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f973a00db600469e1d32b10f09e6bbd2d752c3346d4023d7b3f82a7be8dbd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/anime/DeepLinkAnimeActivity.kt:11-21 | app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/manga/DeepLinkMangaActivity.kt:11-21 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/anime/DeepLinkAnimeActivity.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9983012edd9499cfa316ed10d970ae37bf014266e7b6f23cd9a789b83a6b6599"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): data/src/main/java/tachiyomi/data/source/anime/AnimeSourceRepositoryImpl.kt:39-53 | data/src/main/java/tachiyomi/data/source/manga/MangaSourceRepositoryImpl.kt:41-55 | data/src/main/java/tachiyomi/data/source/manga/MangaSourceRepositoryImpl.kt:57-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 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":"data/src/main/java/tachiyomi/data/source/anime/AnimeSourceRepositoryImpl.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d7fc92bc03c1fd84aac63170d575450437b97d118e03960bd96c1f871e6e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): domain/src/main/java/tachiyomi/domain/category/anime/interactor/HideAnimeCategory.kt:14-27 | domain/src/main/java/tachiyomi/domain/category/manga/interactor/HideMangaCategory.kt:14-27 \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":"domain/src/main/java/tachiyomi/domain/category/anime/interactor/HideAnimeCategory.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18f97a961ca1bb7ade3ec53574b7d3f18b736c712dc87cdcc4029f437c2af4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/AnimeCatalogueSource.kt:43-47 | source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt:178-182 \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/AnimeCatalogueSource.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbde4f6af4e8152d841a03787bf5584672ea792cdd4f36bad1edbf00a8353e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/AnimeCatalogueSource.kt:55-59 | source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt:163-167 \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/AnimeCatalogueSource.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"23264a3164e235a9148d3476fc95edf9257c8320e02e270f0121bf2720b939f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeExtensionStoreRestorer.kt:13-24 | data/src/main/java/mihon/data/extension/anime/repository/AnimeExtensionStoreRepositoryImpl.kt:54-67 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeExtensionStoreRestorer.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d8641a21c7793c6b0eda26e23bf264938dfb0b67525ea225a9531030c0b75d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/model/AnimeDownload.kt:76-82 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/model/MangaDownload.kt:81-87 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/model/AnimeDownload.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f461a308b4f38175d83f4542d3f1a5c081e5faef1683b713ba68332a170880d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/MangaSearchScreenModel.kt:96-109 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt:96-108 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/MangaSearchScreenModel.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8b2caaa0305f522bc1998478f04818963238dbdb8145aae711d920d388788f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): domain/src/main/java/tachiyomi/domain/history/manga/interactor/GetNextChapters.kt:21-31 | domain/src/main/java/tachiyomi/domain/history/anime/interactor/GetNextEpisodes.kt:21-31 \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":"domain/src/main/java/tachiyomi/domain/history/manga/interactor/GetNextChapters.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce94a69187ffb9df4e6ba0210524065c57f0b3dc05173876411a7c767e2356c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/domain/track/anime/store/DelayedAnimeTrackingStore.kt:15-23 | app/src/main/java/eu/kanade/domain/track/manga/store/DelayedMangaTrackingStore.kt:15-23 \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":"app/src/main/java/eu/kanade/domain/track/anime/store/DelayedAnimeTrackingStore.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02aaf88cfc181763e216ba1f1dce6fe83436bc1532f3732d684e9d857658c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/src/main/java/eu/kanade/domain/track/anime/service/DelayedAnimeTrackingUpdateJob.kt:65-77 | app/src/main/java/eu/kanade/domain/track/manga/service/DelayedMangaTrackingUpdateJob.kt:58-70 | app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateDownloadJob.kt:133-150 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"app/src/main/java/eu/kanade/domain/track/anime/service/DelayedAnimeTrackingUpdateJob.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1dd8a425387aa318d3fe5359dc28cc08bc71200e11a198c995e4e71928dbfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/simkl/SimklInterceptor.kt:16-29 | app/src/main/java/eu/kanade/tachiyomi/data/track/mangaupdates/MangaUpdatesInterceptor.kt:14-26 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/simkl/SimklInterceptor.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3627f9dbc6de9e44aa398c57c2c1b865b1fbf52cafe737cbbf539fd12c34b342"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt:160-167 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt:191-199 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cda68307527d13ced295b78680a84f30787a18b93767341f16b0661fe8d81d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): data/src/main/java/tachiyomi/data/history/anime/AnimeHistoryMapper.kt:30-44 | data/src/main/java/tachiyomi/data/history/manga/MangaHistoryMapper.kt:33-48 | data/src/main/java/tachiyomi/data/updates/manga/MangaUpdatesRepositoryImpl.kt:56-74 \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":"data/src/main/java/tachiyomi/data/history/anime/AnimeHistoryMapper.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d08f7f08215a3da73d4f7f9a44f7611d06e6e5cce6e12dc230b49b8052ad96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt:169-176 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt:69-76 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt:201-209 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a725402df64a5b5fea48fe2086cd7f255ecc01a9b466489b934052c49f3a2a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeBackgroundManager.kt:19-25 | source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalEpisodeThumbnailManager.kt:20-26 \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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeBackgroundManager.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7258a688f904a702ccbc1de1c3adaab882f31acf64b6388fa6a77ba10c9175e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALAnime.kt:74-82 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALManga.kt:73-81 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALAnime.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71cd496edd48e0c55f553dab60d82cd82f2c3f842dd202372cabc1f16e590c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsScreenModel.kt:161-169 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/MangaExtensionsScreenModel.kt:162-170 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsScreenModel.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9297817454b8f2fb0e1b5f946516a042b446eff6fd164bed0a21659dce212b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:100-108 | app/src/main/java/eu/kanade/tachiyomi/data/track/simkl/Simkl.kt:105-112 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9594a594a1fb67edf6e2cd055d045955b98a93e7d371ba17c30667d92b2dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/common/src/main/java/aniyomi/core/common/torrent/bencode/BencodeValue.kt:13-21 | core/common/src/main/java/aniyomi/core/common/torrent/bencode/BencodeWriter.kt:58-67 \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":"core/common/src/main/java/aniyomi/core/common/torrent/bencode/BencodeValue.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"835f14f8f2a7c72987bd1de4ebf13acbd6ce3d7263028ea1aab3f20b2ea25324"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:286-295 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:267-275 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"192435e4219b182357312b9bfe085cbf957529ed971df4a676f86a06faf433a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt:113-123 | domain/src/main/java/tachiyomi/domain/entries/manga/interactor/MangaFetchInterval.kt:113-123 \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":"domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1763008342b9c5076bd757dd97d3c30004c26fe3d1f2b060d46d4546570234"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/SAnime.kt:49-52 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/model/SManga.kt:29-32 \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/SAnime.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8499c13a9cb1b21fa7e4d58fdbd7823e731e5625a8910d6c8291c172e5763cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/backup/create/BackupCreateJob.kt:68-78 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/BackupRestoreJob.kt:63-73 | app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateDownloadJob.kt:61-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 11 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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/create/BackupCreateJob.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"de16a4da7c457be2acb160381c671383915cbcd90d3dcdac16d4b4d53598aa78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): domain/src/main/java/tachiyomi/domain/entries/anime/interactor/GetLibraryAnime.kt:21-33 | domain/src/main/java/tachiyomi/domain/entries/manga/interactor/GetLibraryManga.kt:21-33 \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":"domain/src/main/java/tachiyomi/domain/entries/anime/interactor/GetLibraryAnime.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e007afcb15d06aa5466697763a3faf72aa7a3cf9ab6d07831aa33770b128e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadProvider.kt:170-173 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadProvider.kt:155-158 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadProvider.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb689fa938619f989a1597ed74a7be1212107554390e8db22c2325981bfd142"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt:85-94 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/MangaSearchScreenModel.kt:85-94 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"24578606c787200cf313d18cefa7a6f5eda40feb5af4f75a8afde22e037c0d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:596-604 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:581-589 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"e462f9f3d72236be422f4c5bb3dc2a7204eec74260192df75adc2caf09d56746"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:918-936 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:747-763 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5180b24bdfe1e4a63a09e10ecb1f06366d463574e0f04594a9144a03d01fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:315-318 | app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt:232-235 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcbc56457965c50be4ae76dbcf5d990c582ddc992f769be2d6db6fbc14d4da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data/src/main/java/tachiyomi/data/history/anime/AnimeHistoryRepositoryImpl.kt:63-74 | data/src/main/java/tachiyomi/data/history/manga/MangaHistoryRepositoryImpl.kt:62-74 \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":"data/src/main/java/tachiyomi/data/history/anime/AnimeHistoryRepositoryImpl.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec6aba38ba6a893d19ffaa05ea870cb7415bae6c77a5fe0c72fbb5124a14d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:860-868 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:860-868 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"f229c4ac81392a4e4b49e640d9a5b5aafe071390fd1b4007243fa1f1e58d4479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): domain/src/main/java/tachiyomi/domain/items/chapter/service/MissingChapters.kt:46-49 | domain/src/main/java/tachiyomi/domain/items/episode/service/MissingEpisodes.kt:46-49 \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":"domain/src/main/java/tachiyomi/domain/items/chapter/service/MissingChapters.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bffaad459c935f274bbee8bd7066ee6fcc5126147a62920453d055c5e501b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt:208-214 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt:246-252 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac59bbe153b7352262b8121f7f9718ef43d21030ca4a6a137ddc8ee76ce94846"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:310-313 | app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt:227-230 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"473ddadbe0ed36e80061bf87092c4f821f6bed617a8431c3546c6da23c6d8f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:394-396 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:389-391 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd82a0ec6a9ac3265e970d44f43053cdeac67188371b51806c57deffaeb0d1dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:1145-1151 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:847-853 \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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"674b263ef344a3881d96cb128663cf775908129934bdd4faa98e5d7ad9146b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (137 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt:99-235 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearch.kt:99-235 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearch.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 287 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. 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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57d0ad7bbeb7c74121ba22f1cdd9df2517dd0beb42c2258c3230e8b74981311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (113 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt:155-267 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.kt:165-277 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 171 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. 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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed55d520e7c75314e60d3ff609e5a4534f4b72824d7e03ec607b3f5b0c50606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (114 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt:243-356 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearch.kt:243-356 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearch.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 287 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060trackSearch\u0060 to \u0060AnimeTrackSearch\u0060 in one and \u0060MangaTrackSearch\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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe35547626e19edf1962ca426c8d471b224093be927568a0308a0022c31f33ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93\u201395 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:282-376 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt:280-372 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 266 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:282\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8bbcf7abe8287557c05149f1a17a8349e893c6463c5dc6e7bfeee57d89f6a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceToolbar.kt:46-126 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceToolbar.kt:46-126 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceToolbar.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceToolbar.kt\u0060 as WHOLE FILES: 89% 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. 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceToolbar.kt:46\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceToolbar.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c619223f3f7d05411035366edd3918a45729e85c4ad71130ae9a471227dce58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:444-522 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:427-505 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:444\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 first that the copies are not typed on the same thing: \u0060Brush\u0060 names \u0060androidx.compose.material.icons.filled.Brush\u0060 in one and \u0060androidx.compose.ui.graphics.Brush\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cd3d95d15b8bebc8647547e6d10c4c28b6d3737c782b6f87dfca0ac2964fe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:278-350 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:261-333 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:278\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc51fbb038c144ae2cd92d5b4d6a33a2e37ebfa33ea93672efdfba4b7b39f354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsMainScreen.kt:101-164 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsMainScreen.kt:107-170 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsMainScreen.kt:101\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsMainScreen.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6824492b88fa658a6d9525290b10bad4d1887c5b0197ef7bb1864cfb8b09bffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:109-169 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:108-168 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:109\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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a993c7c2c2aa089e3841e372ab7f94c6399a1063e8cbfdfee82276a894307caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/DuplicateAnimeDialog.kt:71-122 | app/src/main/java/eu/kanade/presentation/entries/manga/DuplicateMangaDialog.kt:71-122 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/DuplicateAnimeDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/DuplicateMangaDialog.kt\u0060 as WHOLE FILES: 92% 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 2 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. 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/DuplicateAnimeDialog.kt:71\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":"app/src/main/java/eu/kanade/presentation/entries/anime/DuplicateAnimeDialog.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2687946af5e9ffb041d7b6ae53e93c6c753ce48deaaa12fcad286943d81d60d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:166-216 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt:167-217 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 266 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. 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. Note first that the copies are not typed on the same thing: \u0060Settings\u0060 names \u0060android.provider.Settings\u0060 in one and \u0060androidx.compose.material.icons.outlined.Settings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa57801992ebc536ccef6a4465c45614ebf280f5145817377ec308cae22299a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:784-833 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:784-833 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:784\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e0f7dd01853950aff4f658f5426a8c398f0f03f6256d2cf1e11a9eb690d5bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:72-120 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt:72-120 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 140 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0de1dc49828b8cdc09f7dfc37db5ace8ef1658d5222765529faf760ca7cc48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesTab.kt:129-175 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesTab.kt:103-149 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesTab.kt:129\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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesTab.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15729023b6d02ad6d6376a2eb7863761eaf80641ea31b020563708c5ee0de6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt:88-133 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSourceScreen.kt:88-133 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 105 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt:88\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":"app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bad9ae3e500d3036de2fae27b82e23021d81ef546a5ee09c58c64912b1d8b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:599-644 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:599-644 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:599\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9cc4fbcb93dd96c7b1a2a4fe345d9c595e841cf34c7e274cd4412ab74f6527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt:161-205 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSourceScreen.kt:161-205 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 105 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt:161\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":"app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"294e8f1389740ff0434add9fd4fa74daee2e76e3a85878c5581f7f0b521c12d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt:44-87 | domain/src/main/java/tachiyomi/domain/entries/manga/interactor/MangaFetchInterval.kt:44-87 \u2014 before extracting anything, compare \u0060domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt\u0060 and \u0060domain/src/main/java/tachiyomi/domain/entries/manga/interactor/MangaFetchInterval.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 67 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. 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":"domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba554d936bf5d4024c249520b73f36a1214e38269d271844860c6214664eb051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:90-132 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt:91-133 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 266 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:90\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e1ba9c2f8758429fb3ea6d12ab455f7c676e31d2b44078297b551a3b6ac209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:582-624 | app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:915-956 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:582\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d005d79e21c3a911139bbe655b82dc6f124f708671e1946f1ae96dcb849681d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:539-580 | app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:873-914 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:539\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, \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:581\u0060 calls \u0060GridItemSpan\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:915\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5cf93aa995e32c0c55c24d0e160216e4e866ddfd6efe1ec763fe3eba42deac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:176-217 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt:176-217 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:176\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 first that the copies are not typed on the same thing: \u0060Listing\u0060 names \u0060eu.kanade.tachiyomi.ui.browse.anime.source.browse.BrowseAnimeSourceScreenModel.Listing\u0060 in one and \u0060eu.kanade.tachiyomi.ui.browse.manga.source.browse.BrowseMangaSourceScreenModel.Listing\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5cd2265e4e8d79fae2a5c51135700178aee0164c93ef4a70bb066e4d8b358a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt:51-90 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/PackageInstallerInstallerManga.kt:66-105 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/PackageInstallerInstallerManga.kt\u0060 as WHOLE FILES: 95% 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 2 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. 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1060bb77a0b384e65b0d4a62689d4cb2e90b7b5ff63304ff3fa1030db0bd7f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/UpdatesAnimeWidget.kt:38-77 | presentation-widget/src/main/java/tachiyomi/presentation/widget/components/manga/UpdatesMangaWidget.kt:38-77 \u2014 before extracting anything, compare \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/UpdatesAnimeWidget.kt\u0060 and \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/components/manga/UpdatesMangaWidget.kt\u0060 as WHOLE FILES: 89% 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. 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 \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/UpdatesAnimeWidget.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/UpdatesAnimeWidget.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a43e25a55cd7c1506ba837bdb0c2be57451ed17c202cd842b9d615c925c1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt:83-119 | app/src/main/java/eu/kanade/presentation/browse/manga/BrowseMangaSourceScreen.kt:83-119 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/BrowseMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 79 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt:83\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":"app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddc3e7fd0632229eb64ab19536de94768f8021f058fb3130bc378012e8fe7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt:160-195 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaCoverDialog.kt:124-160 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaCoverDialog.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 94 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt:160\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, \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt:196\u0060 calls \u0060HorizontalPager\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaCoverDialog.kt:161\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e910085b2cd200fe46e3621c2984f0d8b72ece92b6f9441119aa509290fa00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsAudioScreen.kt:41-77 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsSubtitleScreen.kt:35-71 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsAudioScreen.kt:41\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsAudioScreen.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d1feef9479632a0ab2bb7ba9db6a72f5d33a7c24eb8cf89806f56c747ab421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/storage/StorageScreenContent.kt:119-155 | app/src/main/java/eu/kanade/presentation/more/storage/StorageScreenContent.kt:160-196 \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":"app/src/main/java/eu/kanade/presentation/more/storage/StorageScreenContent.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3031b913143c44a0661a70912689254a2fc197ad032f55f447fd15d8ca240e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/SourceFilterAnimeDialog.kt:41-77 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/SourceFilterMangaDialog.kt:41-77 \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. Note first that the copies are not typed on the same thing: \u0060Button\u0060 names \u0060androidx.compose.material3.Button\u0060 in one and \u0060tachiyomi.presentation.core.components.material.Button\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/SourceFilterAnimeDialog.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9af31f17a44faccb5a4536e5f45b9d43a32e92ce7839c92067b3e4520e5097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesScreen.kt:61-96 | app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesScreen.kt:55-90 \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 \u0060app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesScreen.kt:61\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":"app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesScreen.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"258af21c418ec5494318e725bb0d7f8b1c8d4922ceb3edcf9fd4bfbbf5b26a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt:94-128 | app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchToolbar.kt:94-128 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchToolbar.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 63 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt:94\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7559a89fc5158bd60258777dd2f8f04317a8e1924bca504180a38ad396374d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt:122-156 | data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt:207-241 \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":"data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca72707d5a149219ff49591ea99535206bd8344ddde2ce9bf309269e0f8a61a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): data/src/main/java/tachiyomi/data/handlers/anime/QueryPagingAnimeSource.kt:30-64 | data/src/main/java/tachiyomi/data/handlers/manga/QueryPagingMangaSource.kt:30-64 \u2014 before extracting anything, compare \u0060data/src/main/java/tachiyomi/data/handlers/anime/QueryPagingAnimeSource.kt\u0060 and \u0060data/src/main/java/tachiyomi/data/handlers/manga/QueryPagingMangaSource.kt\u0060 as WHOLE FILES: 85% 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 2 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. 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. 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":"data/src/main/java/tachiyomi/data/handlers/anime/QueryPagingAnimeSource.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b098e15cae4008f01c802175f2fec4b7840b0b29af7a5c2545cdb4a4bc790e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:793-826 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:606-639 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 154 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:793\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe10116c0cbdbfb27b267558a9bd4ebf4ffc3f1a84f33e813c29e311fda6ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:136-169 | app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt:135-168 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:136\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060onClick\u0060 to \u0060(EpisodeDownloadAction) -\u003E Unit\u0060 in one and \u0060(ChapterDownloadAction) -\u003E Unit\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a554d626aac984fe2d58802bbb9a53a76963e178f858341d204ccb7debf2b28b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreen.kt:60-93 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadQueueScreen.kt:60-93 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadQueueScreen.kt\u0060 as WHOLE FILES: 90% 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 2 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. 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreen.kt:60\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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"485e687e5e25b68877f2f7c83d1b1b0f63e048c3db99de3827553eeffd0708c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/ShizukuInstallerAnime.kt:47-79 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/ShizukuInstallerManga.kt:47-79 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/ShizukuInstallerAnime.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/ShizukuInstallerManga.kt\u0060 as WHOLE FILES: 94% 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 2 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. 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/ShizukuInstallerAnime.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ba057c0d34e2e467eb56cc6bfed7d98d2a6d17d9c0b5016adbb8fcb20e1cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt:80-111 | app/src/main/java/eu/kanade/presentation/category/MangaCategoryScreen.kt:80-111 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/category/MangaCategoryScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 77 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 \u0060app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt:80\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":"app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0866ab0972da87d533d842d5c029e4ee7ad6793aa0881f01a8ab62c7f1208379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryPager.kt:46-77 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryPager.kt:46-77 \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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryPager.kt:46\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryPager.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff82eb2c07b5c8a58e855ccea1fd070692b10ae68f24a0b24098d3418b3ac07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt:101-132 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.kt:111-142 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 171 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 \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt:101\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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf64cbb21e54f2489fe82450040f0809924ed83d27e3b0d12d18e310f1137d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:72-103 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:76-107 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:72\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb798567a284dd7deb42ab4a5f376f822f1f8d485fb7b636f7f5b79ae59375fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:124-155 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:124-155 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e5dd0b73d9a723c63c28bf2170a44e87e796d9d9dedd20ab6ca67367d7f03e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/items/chapter/service/MissingChapters.kt:7-38 | domain/src/main/java/tachiyomi/domain/items/episode/service/MissingEpisodes.kt:7-38 \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":"domain/src/main/java/tachiyomi/domain/items/chapter/service/MissingChapters.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed471683cbd9b97614a3bbb43d38ecfc9e23b39ff0798f06849f092e5f270d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:258-288 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:258-288 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5917661a453f225a80b171fd1e0ade553f08ff552a8c329535c8fd7e08016fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/player/components/RepeatingIconButton.kt:47-77 | presentation-core/src/main/java/tachiyomi/presentation/core/components/SettingsItems.kt:473-503 \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":"app/src/main/java/eu/kanade/presentation/player/components/RepeatingIconButton.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3b5d83ee70a0ebfe2f3843344764705e2694efd261aa4da53b4349967c0790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:550-579 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:531-560 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:550\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb467398d71140816af6ef0a55798492fe1a40725917fca89a8506baa672330d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:439-468 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:683-711 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:439\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":"app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a2a2a7bc25702b5e414e835f681910017ca7a0fecd0dec61abbf04cc36fd03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:524-553 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:524-553 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"5991fc7b6f634847085760fdae85e81f98b3cca60fbb6a586e1786fcfdaa00a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:127-177 | presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:314-364 \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 \u0060presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:127\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 after the matched lines, \u0060presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:178\u0060 calls \u0060padding\u0060 and \u0060presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:365\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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acc94b5ffabe714aa1f258c029cf5d74eb1da4c4000c5793c22ecdc59acabd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:186-214 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:150-178 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 154 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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fbb8e32a0db88a8bfaeaa0781560d815c22ec69c339cbed1f64ecade7783bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt:57-85 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt:57-85 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe20ba723b3267512f058e03f67b2ece269072532fc854ae79643395025a203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt:37-64 | app/src/main/java/eu/kanade/presentation/category/MangaCategoryScreen.kt:37-64 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/category/MangaCategoryScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 77 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. 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":"app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cc83416eb812965135f0157b5de36ce91a59bc72f060a46b0c273b5d66ef6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/DuplicateAnimeDialog.kt:42-69 | app/src/main/java/eu/kanade/presentation/entries/manga/DuplicateMangaDialog.kt:42-69 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/DuplicateAnimeDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/DuplicateMangaDialog.kt\u0060 as WHOLE FILES: 92% 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 2 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. 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/DuplicateAnimeDialog.kt:42\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":"app/src/main/java/eu/kanade/presentation/entries/anime/DuplicateAnimeDialog.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fabdaccd83dc34759c08d50a8654be2fd51ce3b39bc94e7757756f0b8b1105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:593-619 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:572-599 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:593\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc4d3d70b52cdf78dd2cb0b677db776df669ba2d35f5939e623d6917d3c2fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryPager.kt:132-159 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryPager.kt:132-159 \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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryPager.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"17db1d6258be7663a50333be09b7e91d58a0995cdf0e3c7552c1cba9f06bfd97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:49-76 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:49-76 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 151 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060screenModel\u0060 to \u0060AnimeLibrarySettingsScreenModel\u0060 in one and \u0060MangaLibrarySettingsScreenModel\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3707d52a9230858ad79badf7c425b73f84cf49b8af6f835298f854d4d9e1a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt:46-73 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryCompactGrid.kt:47-74 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryCompactGrid.kt\u0060 as WHOLE FILES: 85% 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 2 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 \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt:46\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":"app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2910de6850f076ae179620c6b034650d902249d38ac8645d3d65c99d8b46fc66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt:122-149 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt:129-156 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt:122\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fb90738898c839206ef58526fda0873c6d5ab804e57fe44554a1490b4cc7a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt:42-69 | domain/src/main/java/tachiyomi/domain/items/season/service/SeasonRecognition.kt:41-68 \u2014 before extracting anything, compare \u0060domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt\u0060 and \u0060domain/src/main/java/tachiyomi/domain/items/season/service/SeasonRecognition.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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 \u0060domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt:42\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":"domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c0f90f62533211d3475cd121b7f98e311cf1e115ebd3d4ec8f82fdd0afacf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 2): presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:78-105 | presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:251-275 \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 \u0060presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:78\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, \u0060presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:277\u0060 calls \u0060slotSizesSums\u0060 and \u0060presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:108\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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9130cb7870ae6f513dbecd09cd013f68c0292206e046de4fe8971b67b051c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:288-314 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:283-309 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:288\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b583f5b5f94d6ea0d8ea339e8a22c21da521fab65642e7ad3669d066b643f416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt:55-81 | app/src/main/java/eu/kanade/presentation/browse/manga/BrowseMangaSourceScreen.kt:55-81 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/BrowseMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 79 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.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":"app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"50370e663fcc5fe051351e667b59ccacaa993999eb6391f018470ec4e8870c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeEpisodeListItem.kt:435-461 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaChapterListItem.kt:148-174 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeEpisodeListItem.kt:435\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeEpisodeListItem.kt"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2b6e1c716bf536aa93dcf2af52e10aa5450bf1f6f84266e372a1b275f96f14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryContent.kt:50-76 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryContent.kt:50-76 \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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryContent.kt:50\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryContent.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e4c57b4059706b1dc23412f44d1dfc671b1516b0964189724bd01797eead65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresContent.kt:71-97 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/manga/MangaExtensionReposContent.kt:68-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresContent.kt:71\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresContent.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e2f0e968763af15a7ea08f4dcf35f5ee5e3a151d7061a3ace7c9d48c4319a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt:163-189 | app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesUiItem.kt:156-182 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesUiItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 67 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 \u0060app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt:163\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":"app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5889156265f696c34da3e9e135b31edcc009fda8edb86c9931fd5dbd8d993a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:319-345 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:304-330 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:319\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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf5be74450eaae429a98d3b093631a0decc755b13bc48a0bc179d8238b08c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:406-432 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:394-420 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbed084451f156feb1ee85e276afa5da7bee52d31cc06dc89c1e93923c0856c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:148-174 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt:148-174 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:148\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 first that the copies are not typed on the same thing: \u0060Listing\u0060 names \u0060eu.kanade.tachiyomi.ui.browse.anime.source.browse.BrowseAnimeSourceScreenModel.Listing\u0060 in one and \u0060eu.kanade.tachiyomi.ui.browse.manga.source.browse.BrowseMangaSourceScreenModel.Listing\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22d8a974c5a09bdc413326f5623431f838fe209d46c4e711698004d3b92c76c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt:273-299 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt:294-320 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt:273\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6286d2343294862d0980c8a65c79c66bef4bd97d362122d2af2898f527ded220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:159-185 | app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:210-235 \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 \u0060app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:159\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":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f71299166495af33cba7ed609c435573d79797503b4045965957f2c5149081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt:159-185 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt:210-235 \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 \u0060app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt:159\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":"app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"28da08a1e1549dc5e83d0cf995752cf4607b7b302190a656763852782357902a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt:141-166 | app/src/main/java/eu/kanade/presentation/more/stats/MangaStatsScreenContent.kt:137-162 \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":"app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"717056e0bf3487cf7b9fab5b50d6ed90e24cb87e8e18c9f532b509713ca1d854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt:101-126 | data/src/main/java/tachiyomi/data/handlers/manga/MangaTransactionContext.kt:100-125 \u2014 before extracting anything, compare \u0060data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt\u0060 and \u0060data/src/main/java/tachiyomi/data/handlers/manga/MangaTransactionContext.kt\u0060 as WHOLE FILES: 86% 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 2 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. 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. 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":"data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef241cba1f4108835226cde3b20e3354ae51151191b93bfecce6c70ab121f64d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt:93-117 | domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt:104-128 | domain/src/main/java/tachiyomi/domain/items/season/service/SeasonRecognition.kt:103-127 \u2014 before extracting anything, compare \u0060domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt\u0060 and \u0060domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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. 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":"domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce64c49507d88fe79b131f4da7e3113ab333601adcb0359b13d35a431957393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:386-410 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt:382-406 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 266 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. 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae03429581921b0f548797ccb822f237d7100cce3804a736c308d2a957a82f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:441-465 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:412-436 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:441\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bd2e1245b0fc9f1f8a7b5189d6e04367c1bf76e8a16a512f2becdeb81906cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201340 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:415-454 | app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:761-798 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:415\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a974a0b8bb61689eb2a96b66edc207c598942496cc782185be1ad52c132912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:294-318 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:294-318 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:294\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ec959fde44ba51e99cabd3a9c79a84fdbbaffac210551267f5aef4b04f24c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/player/components/PlayerSheet.kt:202-226 | presentation-core/src/main/java/tachiyomi/presentation/core/components/AdaptiveSheet.kt:214-238 \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 \u0060app/src/main/java/eu/kanade/presentation/player/components/PlayerSheet.kt:202\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":"app/src/main/java/eu/kanade/presentation/player/components/PlayerSheet.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dd84d8ebc8683c91c13007883b0c02b311de3ed934b5992246ab84f5a665ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:295-319 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt:295-319 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 140 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a14ec225663cbc7e8b1ca32c5d38525d7fead88462d43fd836dde0d9dfd4af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsTab.kt:64-88 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/MangaExtensionsTab.kt:60-84 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsTab.kt:64\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsTab.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8897ecd21172682e34cedc9b17dea7ce0a7e5d56eeefcd597d54408de26dfdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsTab.kt:117-141 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/MangaExtensionsTab.kt:113-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsTab.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a9453e8acf19fc4a478e76a2cfb6d680e453b952a0f5a785b191426aab0ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/UpdatesAnimeCover.kt:24-48 | presentation-widget/src/main/java/tachiyomi/presentation/widget/components/manga/UpdatesMangaCover.kt:24-48 \u2014 before extracting anything, compare \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/UpdatesAnimeCover.kt\u0060 and \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/components/manga/UpdatesMangaCover.kt\u0060 as WHOLE FILES: 95% 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. 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. 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":"presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/UpdatesAnimeCover.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dc361db0be53bb72fc6d2bf283f9790306605df94751b8c1e5408f98e83d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:253-276 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:248-271 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:253\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"650b6afb765fa80aa0310016039f81216ca7d1df394483bab2900cfad0d41993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSearchScreen.kt:30-53 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSearchScreen.kt:30-53 \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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSearchScreen.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSearchScreen.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f06a1ad9b4b65ea478637a684f15a120186433ad3013b269772bbe07f4427d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt:46-69 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt:33-56 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt:46\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":"app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbe70fad5fd106b60e02cea3df8ac9d904a6167d2a94a09e1c5dc13bd0e0996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt:98-121 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaCoverDialog.kt:67-90 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaCoverDialog.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 94 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt:98\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d8f809ba5b48cac4a0bb7369b715abc4e06ce176ca974340ce80ca259e2cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt:126-149 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaCoverDialog.kt:89-112 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaCoverDialog.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 94 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt:126\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"583b4cae6b4ac7ce68b017cdd978afba9021b82398ebd77dd9d0f89622baef7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt:51-74 | app/src/main/java/eu/kanade/presentation/history/manga/components/MangaHistoryItem.kt:50-73 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/history/manga/components/MangaHistoryItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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 \u0060app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt:51\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":"app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a5a879db996c4a244ed72be7571453f999cf8d334187bcab6f42eb116fb7bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt:50-73 | app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryCompactGrid.kt:51-74 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryCompactGrid.kt\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt:50\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0dc60b034ebf36d4822435e59eb789670c710b7108f1b7aadf2c009495c1b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:342-365 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:346-367 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 118 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:342\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac516044076299f7f119647ad2c6095a13f360b67635b9fc6302c26d1bc94ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:128-151 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt:128-151 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 140 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c8aeb6664871b65f59f00b248648711fe41a6a96b675789ee94b368cdf0ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt:140-163 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt:140-163 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt:140\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aefa203ea3ed9165ef383779f6909d72d2978489773c37c68a3144a631a1172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/AnimeSourceSearchScreen.kt:60-83 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MangaSourceSearchScreen.kt:59-82 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/AnimeSourceSearchScreen.kt:60\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/AnimeSourceSearchScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd7f45d9cf3cf9951175777a486adc93fc5d6432242ab6093f5989246c47008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:196-218 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:204-227 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt: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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77b7b452b0863c574520a70e2394392808d5be910710cd9985826346974ca3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeSourcesWithFavoriteCount.kt:35-57 | app/src/main/java/eu/kanade/domain/source/manga/interactor/GetMangaSourcesWithFavoriteCount.kt:35-57 \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 \u0060app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeSourcesWithFavoriteCount.kt:35\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":"app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeSourcesWithFavoriteCount.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"db76f31e2405ac35b0d0706a23c8e49fc5281941bd426784850400e9b0695151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:492-514 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:463-485 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:492\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"1711171e6d9fd1ebd2d00dff61e3358a4aa790edd693db1143158db0fa3ec437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt:38-60 | app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt:38-60 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt: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":"app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"57aea8ec5b480e08e125828005bcab722990e9e89dcd84f0f4349a8c9d632b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:205-226 | app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:250-272 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:205\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"660e6736297a9557fd61c9b52d5a6329a0dcb14497ae1a1c6f0b348d438018bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/season/MigrateSeasonSelectScreen.kt:63-85 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/AnimeSourceSearchScreen.kt:91-113 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/season/MigrateSeasonSelectScreen.kt:63\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/season/MigrateSeasonSelectScreen.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa6a82e6f9b506921861e9af9d9b1669ba765492922d29c6926ee25f38de826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesScreenModel.kt:57-79 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/MangaSourcesScreenModel.kt:75-97 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesScreenModel.kt:57\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 first that the copies are not typed on the same thing: \u0060Pin\u0060 names \u0060tachiyomi.domain.source.anime.model.Pin\u0060 in one and \u0060tachiyomi.domain.source.manga.model.Pin\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesScreenModel.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6793b041521139d2f1a45f303c340f508957f61da0bee94115a2a15501da4dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt:83-105 | source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/manga/LocalMangaSource.kt:83-105 \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 \u0060source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt:83\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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d7e2331be7da77bb0387f349b98ec24bd00b21774f6d443d762a5f98f965c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:156-177 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:151-172 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:156\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"566eb27193239ceb29c878add4dc5102de55af11071ef1312d7b728db2b53ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt:235-256 | app/src/main/java/eu/kanade/presentation/entries/manga/ChapterSettingsDialog.kt:248-269 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/ChapterSettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt:235\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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d3f31072c4f61c1728996e5cc9f02f8a61dedb169c52a02faaaff10b79ccb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:709-730 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:667-688 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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. 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"1514c57e5700b3befcfdeed8a28b8d9b2be6455550aaaa09757294b951a3d99d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt:47-68 | app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt:76-97 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt:47\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ebe33b49c3b9768aa089a27589b87aa36d87e1ec6ab0ea86d6be51b8969e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:197-218 | app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt:196-217 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:197\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060onClick\u0060 to \u0060(EpisodeDownloadAction) -\u003E Unit\u0060 in one and \u0060(ChapterDownloadAction) -\u003E Unit\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e247cc4434df8d37fbbfb147c3f26bba4d3875184fc0249a99b626b5c04cc23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:182-203 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:181-202 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e826702b95bdf26229d9d5ed53838fccaa8f6275570a709319cc064dc3123120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:379-400 | app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt:143-164 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:379\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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"797c45bbc1d3810c11a570ce698b9f369f0a12857377c575edd9bf960ef1b097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:456-477 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:443-464 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:456\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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6488a6b164f59ec8f828815309b917e3fd816ae362675958624a8e5f0f7d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:367-388 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt:151-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:367\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":"app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"5691d09f78e9b9e0c840cb0718ac610fa5adb92535a3d29b378612ae8c7a0c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1387-1407 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:989-1009 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:317-337 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:284-304 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1387\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72af33dd173913cec030d1ba10af5f454450c03c1158562915a293bd9b1bad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt:57-77 | app/src/main/java/eu/kanade/presentation/entries/anime/SeasonSettingsDialog.kt:75-95 | app/src/main/java/eu/kanade/presentation/entries/manga/ChapterSettingsDialog.kt:66-86 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/ChapterSettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt:57\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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db4e545fb08b591b5b6fce464325e6a0a87f758265678ee2b8d5ea66252f384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:179-199 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:174-194 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 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. 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ffa09163dd54246425c6413996adc582caef13babc094c9d456c23998483b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:239-259 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:194-214 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 154 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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"26450c8af0d89164a5279dd2f9b21025f18dfa556e386b27b703980e002702f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:399-419 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:382-402 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:399\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12d73df4b4072e7e74caee5b07f216a3d5f3195db04b0ad506b861f0bd50eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:89-109 | app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt:82-102 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:89\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc29ee49061094c45582d8a1519b8c686f9e47bea5a56ae5f01e11c7a1171931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt:200-220 | app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesUiItem.kt:192-212 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesUiItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 67 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 \u0060app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt:200\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":"app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"418d9e2ac6bc4591cc9cb5eedffaa793ddd4bec5642d4b8c8664d6e7fff071cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt:26-46 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallActivity.kt:26-46 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallActivity.kt\u0060 as WHOLE FILES: 91% 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 2 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. 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7449a971d836cf0f75f707451add938d03cdda1b75e5b3a8814f51a3cacfaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt:175-195 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt:183-203 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt:175\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac31586976f097807b1ba74e2710b64f59c05868d881cf30973226b3fe34e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): app/src/main/java/eu/kanade/presentation/player/components/SliderItem.kt:55-74 | app/src/main/java/eu/kanade/presentation/player/components/SliderItem.kt:104-123 | app/src/main/java/eu/kanade/presentation/player/components/TintedSliderItem.kt:54-73 \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 \u0060app/src/main/java/eu/kanade/presentation/player/components/SliderItem.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":"app/src/main/java/eu/kanade/presentation/player/components/SliderItem.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0f5cec47e4f2abb74b73fc13cb704f5c9beb4d502c2735a3fb10742a1f72a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:227-246 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt:228-247 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 266 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:227\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aeba7ccc860c02d0909f5bbd03a1a23b552de133a59df3fe5108323c45f401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:94-113 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:89-108 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b345e41894a0465b03ab66a68c6e95754d9df4d4fc0fa3b996f99feb2e697f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:373-392 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:290-309 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 154 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:373\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"295da7bc36f951a85cfa0a63a67499c6983bc4f0971d21ef919e6796e38d4a0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:480-499 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:467-486 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:480\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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"71537e29c04e11cc74cb1f078a212537479adf08d76561909a5b0acb7497f0f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:97-116 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:96-115 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b14aa8f6fbf2196dbae87c9d55a6e5c50b9674f2fb93bee76e179587203dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:255-274 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:286-305 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:255\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f288dfce5cb06de876c9834b3930307b8403e5c0bab4164df2f5791a9259533a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt:89-108 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt:89-108 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"92521a710ec5b8affa2ad7849613814699d623050af2e23094f858716175d0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:412-431 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:412-431 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"933bc6864c4a2cef9efc406cc787166fb57210e8b75d888415aa3c02bb4f7b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt:211-230 | app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt:239-258 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt:211\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":"app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b19f050dae7b60b3f89f41b3ba5decd0990632de9a9b7ea8f80ed5a2a93b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt:48-67 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonAdapter.kt:39-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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa5656dd293d67f557283d435c8909a76610290269044878b3cc8085c5bca2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt:132-151 | presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/manga/BaseMangaUpdatesGridGlanceWidget.kt:132-151 \u2014 before extracting anything, compare \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt\u0060 and \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/manga/BaseMangaUpdatesGridGlanceWidget.kt\u0060 as WHOLE FILES: 84% 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 2 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. 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 \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt:132\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":"presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1363b528fc6f6689cdf683f6ccee6e19d6e01d0051a1b3506bcad0b10dcb0670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:440-458 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt:436-454 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 266 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:440\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: \u0060Settings\u0060 names \u0060android.provider.Settings\u0060 in one and \u0060androidx.compose.material.icons.outlined.Settings\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"2843bb378d55e0259714667b0666a751c11af0c353c3701201d5e1cfb772753d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/category/components/CategoryListItem.kt:41-58 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/custombutton/components/CustomButtonListItem.kt:44-62 \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 \u0060app/src/main/java/eu/kanade/presentation/category/components/CategoryListItem.kt:41\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":"app/src/main/java/eu/kanade/presentation/category/components/CategoryListItem.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3157031b436adf2f8323058c9a41e2e1bb24173656202fae6ae28af2c22f19a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:127-145 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:121-139 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:127\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 first that the copies are not typed on the same thing: \u0060Brush\u0060 names \u0060androidx.compose.material.icons.filled.Brush\u0060 in one and \u0060androidx.compose.ui.graphics.Brush\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:126\u0060 calls \u0060useBackground\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:120\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a99d85521908aaf6b7835711953b8d6130598633a671bc43d333b226a649d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:630-648 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:598-616 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:630\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 first that the copies are not typed on the same thing: \u0060Brush\u0060 names \u0060androidx.compose.material.icons.filled.Brush\u0060 in one and \u0060androidx.compose.ui.graphics.Brush\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1da089b4b4811a2cf91627b1fb8cc6d531da47c50dbeb9be22e55bfaad5e17e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryContent.kt:80-98 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryContent.kt:80-98 \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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryContent.kt:80\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryContent.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ef16bfc7b3ef7837ef0c7c64825b410fe2b81faa6fd00e1e2fbe973e05a83e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:119-136 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:119-137 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:119\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca04d5606df28ddc0a58b401c5dacddb9df41db9857681d4e9b77e190f753197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt:365-383 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearch.kt:365-383 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearch.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 287 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. 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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33ebda5b5ee6b1ba6a8b14de5f719cc0257f598635846cd5d07755c7f255740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt:235-253 | app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesUiItem.kt:215-233 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesUiItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 67 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 \u0060app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt:235\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":"app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb49b915019dfc9281a8f7ef0feb20c5e39f00ca573adff27245701ed1ef83d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:220-238 | data/src/main/java/tachiyomi/data/items/episode/EpisodeRepositoryImpl.kt:21-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060data/src/main/java/tachiyomi/data/items/episode/EpisodeRepositoryImpl.kt:40\u0060 calls \u0060selectLastInsertedRowId\u0060, \u0060executeAsOne\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:239\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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d39b6d5f387cf437017eddb0bad7aa2cc9f540eb3a7ce348c40f13ca1dd450e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:61-79 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:154-172 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:61\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"418e6c913eaff4526804477ddf580b0d094911842194c851d30d238f9dd6d9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:147-165 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:179-197 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:147\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f232cf6544d691f5d35eae25f183e9ebae31163632c4094a1f36c59e3a41db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt:358-376 | app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt:442-460 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt:358\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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"876ea00b15808eb9a3c243f4ae85bb59870e9c8a846448c1e8793bfe92db02ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:294-312 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:294-312 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ecae1835e06d0e9a657d2089ef27e7e6e98e8ff220851c2f6f5ccc674357e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/LockedAnimeWidget.kt:27-45 | presentation-widget/src/main/java/tachiyomi/presentation/widget/components/manga/LockedMangaWidget.kt:27-45 \u2014 before extracting anything, compare \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/LockedAnimeWidget.kt\u0060 and \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/components/manga/LockedMangaWidget.kt\u0060 as WHOLE FILES: 94% 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. 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. 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":"presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/LockedAnimeWidget.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82416e81a5fbfba8f551375d25a0915a30f6068936ef057e163d8bfedee59ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:201-218 | app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:246-263 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:165-182 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:201-218 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 154 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:185\u0060 calls \u0060MangaScreenLargeImpl\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:219\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94f5a3b6f51cc5994d953fc239e31c4f43bb55a0035efdf0404f6551befe498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:47-64 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt:47-64 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:47\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060AnimeSource\u0060 in one and \u0060Source\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"984553139b2bc8a181cdf7aacf23f26a9984fbe8e3da47a71f8e5491b8527320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt:50-67 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceList.kt:50-67 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceList.kt\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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt:50\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"32105241252cd012f5a3c537578c7a44b75e5b06d0a6e4fb41ba003155d3e7bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:343-359 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:590-607 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:343\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":"app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d6746be300d01c40dcdbd7f37c4f885b84312bcad2e2c8fad3d70290e3413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt:92-109 | app/src/main/java/eu/kanade/presentation/history/manga/components/MangaHistoryItem.kt:91-108 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/history/manga/components/MangaHistoryItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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 \u0060app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt:92\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":"app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1004dbfd84aaf350dadcd58f9493a8932e5f0b944fe9eeab33950346a1ba0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresDialogs.kt:77-94 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresDialogs.kt:175-191 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresDialogs.kt:77\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresDialogs.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cae707323c45d595f4eacb0ebe854dd63dda283d74be9c05ee1aa0555baaff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresScreen.kt:42-59 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/manga/MangaExtensionReposScreen.kt:42-59 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresScreen.kt:42\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresScreen.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1064bdeb268b2db0eff42cbf414905bdfd06ea721f0da096166ecc01e5fb7878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:514-531 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:534-550 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:514\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"416b44eb6c3f02a98fe8e1425b884b1f61c5236c184e1f8e87e104af8b39972b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:204-221 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:186-203 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:204\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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad47102e6a0f0214620d5ce2b91b69e90b9bdc32a1d456d417970ba3f99d90c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:134-151 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:163-180 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:134\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"11834bf9b8c4958181205a8488fd9ae7dacc26c39fe44ee51d72e6122152ac04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:51-68 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:92-109 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:51\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae76fe95c3afa6c1b2ba7f5c4382ea73fb243f3a51db8a7258ebcb591287152"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:157-174 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:161-178 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:157\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"409852c6c7a2e81c57d8ecd6b672664b0c25739bdccc65060dd50ddfeeaffb20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:642-659 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:627-644 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:642\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b8f0a9839e34e617a37f8a4fed70186f099557f9c04150820d6bb66ca96c64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:701-718 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:686-703 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:701\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd2c2fdcc2e5308b689a7930c83000917af417e2c2606cd578444571a6967fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:179-196 | presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:365-382 \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 \u0060presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:179\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, \u0060presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:178\u0060 calls \u0060padding\u0060 and \u0060presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:364\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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"609c3a3081ac36c1d273b9214b69cb10780f5c7813775bbf5e12863f532b5226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt:69-86 | presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/manga/BaseMangaUpdatesGridGlanceWidget.kt:69-86 \u2014 before extracting anything, compare \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt\u0060 and \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/manga/BaseMangaUpdatesGridGlanceWidget.kt\u0060 as WHOLE FILES: 84% 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 2 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. 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 \u0060presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt:69\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":"presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cb1690373cdd1c57a9303b5aac6f766684eeca1b20a86c0d9d18c46eee5e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeCoverManager.kt:29-46 | source-local/src/androidMain/kotlin/tachiyomi/source/local/image/manga/LocalMangaCoverManager.kt:32-49 \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 \u0060source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeCoverManager.kt:29\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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeCoverManager.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"946db6f69e7298c4cc482e543b4ee5c41608d66813a47c6a4a422a7a52d4a38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt:43-59 | app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt:72-88 | app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt:46-62 | app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryCompactGrid.kt:47-63 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryCompactGrid.kt\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe853bc146e2d4b10051a2a6d472adfd6ecd2d43b0e583f100a24c579ad2252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt:76-92 | app/src/main/java/eu/kanade/presentation/category/MangaCategoryScreen.kt:76-92 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/custombutton/components/CustomButtonScreen.kt:100-116 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/category/MangaCategoryScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 77 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 \u0060app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt:76\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":"app/src/main/java/eu/kanade/presentation/category/AnimeCategoryScreen.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17b51c1653529328fcf339bdc69af8f4d9460dafe01d322bb573d1341580750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:149-165 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt:150-166 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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. 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. Note first that the copies are not typed on the same thing: \u0060PushPin\u0060 names \u0060androidx.compose.material.icons.filled.PushPin\u0060 in one and \u0060androidx.compose.material.icons.outlined.PushPin\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e725e1982e16aa1a9d7f280988fcc41e50434b3619be52b3900f89e86ba2252e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt:32-48 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceList.kt:32-48 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceList.kt\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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt:32\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d9748f3d4a7ab2fa910b8b1e066099fc5b3327359d71a8ab981fd1c99f3ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:1166-1182 | app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesUiItem.kt:267-283 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:1166\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf9af18b836b8c3ae95b7c7dbe8a136fe8b1402d0ad82053004f618532b04df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt:298-313 | app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:1500-1516 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt:298\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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2250190d1d0bf0df82ace7b9536044bc15016432554ac539da6400584ef5aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:199-215 | app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt:170-186 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:199\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2f84124a7148c5717d2c84cb30583d61553d7eef40c2d9db4afae47d23e433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt:390-406 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearch.kt:390-406 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearch.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 287 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. 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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6277dd1d58a25a30e08668c309109e26265556b7411f0c60242502de0c80663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:66-82 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:65-81 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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. 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. Note first that the copies are not typed on the same thing: \u0060USE_CUSTOM_COVER_KEY\u0060 names \u0060eu.kanade.tachiyomi.data.coil.AnimeImageFetcher.Companion.USE_CUSTOM_COVER_KEY\u0060 in one and \u0060eu.kanade.tachiyomi.data.coil.MangaCoverFetcher.Companion.USE_CUSTOM_COVER_KEY\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f380fba1f90630e3ca0a7fcb7a02671c7cd2334e8a263ca3e54883fe5e6909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:425-441 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:424-440 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 118 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5ee4d50e21093059b396ee8d71c7e64c7705bbee5d6cd8eccf652203a2aa2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt:56-72 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt:62-78 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt:56\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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f5cdc66c5e8529a5f26a5d7daaa77e2c3a6296fb30e263110404e57e14bd25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:86-102 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:111-127 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:86\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba85667884c9641a57e10abf009c666e1fcae4b39854fdfc9a696e8c2c923a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:72-88 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:117-133 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:72\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b03aa73fadc4c48bb27a857afc873d434a544947e13945f8962d6e16e1ff80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:203-219 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:198-214 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:203\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060availableExtensions\u0060 to \u0060List\u003CAnimeExtension.Available\u003E\u0060 in one and \u0060List\u003CMangaExtension.Available\u003E\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9936cf61b18d9610548b4e9e2bb4647fef564aa23878561a824c2cbb0bd73d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:114-130 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt:114-130 \u2014 before extracting anything, compare \u0060app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt\u0060 and \u0060app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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 \u0060app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.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":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2affa4f90586e1a3a36a86175b555cb43dcc1fab34656ae009b7201543122f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:147-163 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt:147-163 \u2014 before extracting anything, compare \u0060app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt\u0060 and \u0060app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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 \u0060app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:147\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":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab8b6b3ac4ce28e13d5644ce87accfc676796d5d7f19d1f1b4a92ad12680bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:198-214 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt:198-214 \u2014 before extracting anything, compare \u0060app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt\u0060 and \u0060app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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 \u0060app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:198\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":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acbca25c9926b15d1e786c7c8666552ca0b33aafe53f279293e2ad590f93993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/category/anime/interactor/ReorderAnimeCategory.kt:21-37 | domain/src/main/java/tachiyomi/domain/category/manga/interactor/ReorderMangaCategory.kt:21-37 \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 \u0060domain/src/main/java/tachiyomi/domain/category/anime/interactor/ReorderAnimeCategory.kt:21\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":"domain/src/main/java/tachiyomi/domain/category/anime/interactor/ReorderAnimeCategory.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ca25f9c52d20a2ad70f7dd1a89d82e6ac59b8381aa40154397826acae871a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt:95-111 | domain/src/main/java/tachiyomi/domain/entries/manga/interactor/MangaFetchInterval.kt:95-111 \u2014 before extracting anything, compare \u0060domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt\u0060 and \u0060domain/src/main/java/tachiyomi/domain/entries/manga/interactor/MangaFetchInterval.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 67 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. 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":"domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6df211553a3a1aa3cae5b9f7cbcd3f561aab0fb4678d4c3a0f4dbec8d54eedc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt:172-187 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt:100-115 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/custombutton/components/CustomButtonDialogs.kt:223-238 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/components/EditorDialogs.kt:115-130 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/components/EditorDialogs.kt:144-159 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt:172\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":"app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7410b8f2e231c59de0e42dfa7f3b39c6843f34e92177566443235f07819c74ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1413-1428 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:1015-1030 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:343-358 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:310-325 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1413\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdde633f0323b966843e06c78a2474893f557ccb8a6fb4f2defa6e8e94a7a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt:149-164 | app/src/main/java/eu/kanade/domain/items/episode/interactor/SyncEpisodesWithSource.kt:161-176 \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 \u0060app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt:149\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":"app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3aa30637a0fb82f5f324ea1b76526d55ef5c8638ee5589148f0373c2930351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/domain/track/anime/interactor/AddAnimeTracks.kt:64-79 | app/src/main/java/eu/kanade/domain/track/manga/interactor/AddMangaTracks.kt:64-79 \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 \u0060app/src/main/java/eu/kanade/domain/track/anime/interactor/AddAnimeTracks.kt:64\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":"app/src/main/java/eu/kanade/domain/track/anime/interactor/AddAnimeTracks.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9502c477ad22f994323093d9726b2fa4639c2391e4c4348846493bc1c8c67f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionFilterScreen.kt:25-40 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionFilterScreen.kt:25-40 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionFilterScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionFilterScreen.kt\u0060 as WHOLE FILES: 83% 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 2 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. 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionFilterScreen.kt:25\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060AnimeExtensionFilterState.Success\u0060 in one and \u0060MangaExtensionFilterState.Success\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionFilterScreen.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0766f440ce2e5b82d1a088087637b772c851f568a2d4f29edee778ec1f9a30d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:467-482 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:438-453 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 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. 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef37b051ebea0fed36d7bc25b7baae11ab6f8451381ac0652045967abf12830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt:30-45 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesFilterScreen.kt:30-45 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesFilterScreen.kt\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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt:30\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b666a382241edc74f22e6e35d01b121ba00f009a5fbf04e5b2b8b82414c22a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt:34-49 | app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSearchScreen.kt:26-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt:34\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":"app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dc2722cbcacacc0cafa1795372384d52642410fb6beedd866afd5c867e94da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt:25-40 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaScreen.kt:25-40 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt:25\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":"app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"90709fe42400ffe97578a084125d4ce061a539ce0308e4338942ff1006908a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt:67-82 | app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceCompactGrid.kt:67-82 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceCompactGrid.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt:67\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e8667e0d649db95d70192e0b214f045afcea078950a7a8018c2f4be0f7453c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt:34-49 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSearchScreen.kt:26-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt:34\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":"app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6398da4a058e57434bff83299c15f00122b1163c747739d5a9965f1a424c64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceComfortableGrid.kt:67-82 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceCompactGrid.kt:67-82 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceComfortableGrid.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceCompactGrid.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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 \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceComfortableGrid.kt:67\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":"app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceComfortableGrid.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd0c7db6e814e35ac50f4025a44664b10b7b97d888befa79aee2690b113051b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:361-376 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:344-359 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:361\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8e67e627255f8d27f269fa56af8ff125284433fba6d4e7fc1b7eb2319e9e4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryList.kt:35-50 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryList.kt:35-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryList.kt:35\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryList.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7215fb9963bd0680c47a113d43f22bbd8323971eb2ae8a0ddb68e7969be1891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:169-184 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:187-202 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"711446a09d48670f2c85f5a4eaaa9396be2bf091797524f88ab3b326497a305b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:272-287 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:329-344 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:272\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0328aaea0c351d33679e9b5e07a023d34acbfc7d174dc43b2c777fecb42097a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:307-322 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt:309-324 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"64102911290531a67458b7171d0ee5bbe22104bf65b099f3ac50df4d5efbb735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/GlobalAnimeSearchScreen.kt:36-51 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/GlobalMangaSearchScreen.kt:36-51 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/GlobalAnimeSearchScreen.kt:36\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/GlobalAnimeSearchScreen.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3819cad6747eee7ecee846cd1544824aabb19aac8470d7c441bbee8085036ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:92-107 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt:92-107 \u2014 before extracting anything, compare \u0060app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt\u0060 and \u0060app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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. 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":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bca2ba7d4af14bdc24720b328b71290361095b02755013d85d0fc3a76fb403a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt:37-51 | app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSearchScreen.kt:29-43 | app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt:37-51 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSearchScreen.kt:29-43 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt:37\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":"app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bb2d2ff04671ead33c8940f2aa5ecc93c2cb8eca145d9f41facb9944044b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/src/main/java/eu/kanade/presentation/history/HistoryDialogs.kt:87-101 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresDialogs.kt:118-132 | app/src/main/java/eu/kanade/presentation/updates/UpdatesDialog.kt:23-37 \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 \u0060app/src/main/java/eu/kanade/presentation/history/HistoryDialogs.kt:87\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":"app/src/main/java/eu/kanade/presentation/history/HistoryDialogs.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2670c0f5db79aba0ffb34fbba5eb026a100fe6121fc5ebeeed68ac519622fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt:64-78 | data/src/main/java/tachiyomi/data/entries/manga/MangaMapper.kt:44-58 | data/src/main/java/tachiyomi/data/items/episode/EpisodeRepositoryImpl.kt:158-172 \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 \u0060data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt:64\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":"data/src/main/java/tachiyomi/data/entries/anime/AnimeMapper.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ceffca8a980d62d67dc1097294270b6459f122506dd81df04185896aa58fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt:101-115 | app/src/main/java/eu/kanade/domain/items/episode/interactor/SyncEpisodesWithSource.kt:99-113 \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 \u0060app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt:101\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":"app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81859389a4a4f8403f96587436074ae7969ca93f4ea9ade03e21b1b80e61883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:121-135 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt:122-136 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Listing\u0060 names \u0060eu.kanade.tachiyomi.ui.browse.anime.source.browse.BrowseAnimeSourceScreenModel.Listing\u0060 in one and \u0060eu.kanade.tachiyomi.ui.browse.manga.source.browse.BrowseMangaSourceScreenModel.Listing\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c720233081b85355de20e3dc105979a39b029373bdc9390b4169c4e4d5d575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt:158-172 | app/src/main/java/eu/kanade/presentation/browse/manga/BrowseMangaSourceScreen.kt:158-172 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/BrowseMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 79 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060StubAnimeSource\u0060 in one and \u0060StubMangaSource\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":"app/src/main/java/eu/kanade/presentation/browse/anime/BrowseAnimeSourceScreen.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4abcf61a064fe88af508034403c43e4cb6fb28be014345bb3bf3659987634ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:66-80 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt:66-80 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:66\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3844b05aa88b8dfc83f8c96267a81f91b29c5f33eddb8c3dee0e2bb1e92526d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:131-145 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt:131-145 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:131\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51d7a61f1677ede0f5dead516fb62545f737bb63b979355ced7eb273b4f3361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt:62-76 | app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchToolbar.kt:62-76 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchToolbar.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 63 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt:62\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"629030527beb42360125124a881723cd83d91756a30c12db467466a137dc29db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt:101-115 | app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryList.kt:57-71 \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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a944f635857230d98b30be2e501f6403bf0b0e3ae29a58d1ab72deb1b96191"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:126-140 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:110-124 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"456ba633c7879a1ce038bc5bbb3ae2ec3f645e89e6bc9c4d65ea5e754c09bf60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:179-193 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:155-169 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:179\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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"346b4ae26c70602a75b5bdf51ae0848003aca118d34d2fc10055a215564f7ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:339-353 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:298-312 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:339\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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd03fa39405e167f4edc5eb30d83767d0c2497f1b6578148c023bd2494838e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:258-272 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:257-271 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e009e652ca8a3aea964fabf16d89c3fbbfacff5b8e62cb7ffeb912b4e21ec65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:316-330 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:309-323 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"602c2d85ef8f4f9bb1aaaea6f876b05131eb412f2d6d8a27759edc2656ed019a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:233-247 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:237-251 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:233\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed7dedb9b37f6596d155f06187dfc291e4a4059e5c01ca312380f380c1d550e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:524-538 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:512-526 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ca428e21669055f99ef2397ad7b18446dd8f07183055be2d08c2a55925035e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:170-184 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:152-166 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8d142bf2ce7f485f73a0c5a759c960f0e5fc94da44d2c47f06f84231abe5c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:224-238 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:206-220 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:224\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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1175fa47a64a49120ae1ed48e563e66a02a0c6bc7e6b650560a74b4c89e318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:141-155 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:145-159 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 151 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9945ae8ac7daf0a8997d993bd762f3c19854f6397ceeec68c203f4104ce9092d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/AnimeSourceSearchScreen.kt:109-122 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:249-263 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/AnimeSourceSearchScreen.kt:109\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/AnimeSourceSearchScreen.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"acba812fe4b83bc31f273d049e3d8a0b2d500961ae0bc740c7d53ab129062841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt:85-99 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaDialog.kt:74-88 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt:85\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1e398b38f4aedecf6b9f33b094dea72cd26a5eb191779bd91f8b597def0246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt:315-329 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaDialog.kt:268-282 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt:315\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c138b069a2f510e08880523904ad84f192b68bee14821ad7a97d6a2691a142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/SourceFilterAnimeDialog.kt:127-141 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/SourceFilterMangaDialog.kt:127-141 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/SourceFilterAnimeDialog.kt:127\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/SourceFilterAnimeDialog.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c8c376e7fe357713d0c583932cca95826ed1bd9d01ee06d446ef3f1df97e83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MangaSourceSearchScreen.kt:108-121 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt:249-263 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MangaSourceSearchScreen.kt:108\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MangaSourceSearchScreen.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db71cb08c814e43103022188e76ead29b0058bb1c56423414ed130f55c4989f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1504-1518 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:1075-1089 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1504\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e68b094842d71fb647ad3f1dced148c36f4f9e2b7317b64f109c98394ee9f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:702-716 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:702-716 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:702\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1890f1e2da78b0d76c47d23423284e8ee55b6bbdb32068aa3e86afe378e2f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt:415-429 | app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt:525-539 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt:415\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, \u0060app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt:413\u0060 calls \u0060collectAsState\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt:522\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b069e8fb83f4a97d82ccc01f24de3fb52eb16fa6859a328708d91c8abd902c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt:446-460 | app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt:481-495 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt:446\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d044be16a2009a6cd4de33bf4dee6a62987122d0580f26d57f16c378a80577c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/setting/PlayerSettingsScreen.kt:30-44 | app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsScreen.kt:43-57 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/setting/PlayerSettingsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsScreen.kt\u0060 as WHOLE FILES: 85% 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/setting/PlayerSettingsScreen.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/setting/PlayerSettingsScreen.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39978226891545823da95702d95083f9b8312ee43498ca48acbc2c8b8b5e7a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt:116-131 | source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/manga/LocalMangaSource.kt:114-128 \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 \u0060source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt:116\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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4391b07202f8aabf061e620d4ad136c11e0a263b5944e9188d2a1c0796a67da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt:31-44 | app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceCompactGrid.kt:31-44 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceComfortableGrid.kt:31-44 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceCompactGrid.kt:31-44 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceCompactGrid.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt:31\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19ce35b061f35648f66276a2653e14ad994929f31a6b42e629d7e5f4aee9a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:630-643 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:819-832 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:630-643 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:819-832 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:630\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac35d78d5604005dd847d76c149554e8314a43fa990d187a60a938dd887dd9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryTab.kt:67-80 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryTab.kt:64-77 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesTab.kt:45-58 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryTab.kt:67\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":"app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryTab.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87e271ff8a8e2cea434f0889e3dc0760c84e2ccc3ead4e5c0407039fedc0557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/domain/entries/anime/interactor/SyncSeasonsWithSource.kt:76-89 | app/src/main/java/eu/kanade/domain/items/episode/interactor/SyncEpisodesWithSource.kt:152-165 \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 \u0060app/src/main/java/eu/kanade/domain/entries/anime/interactor/SyncSeasonsWithSource.kt:76\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":"app/src/main/java/eu/kanade/domain/entries/anime/interactor/SyncSeasonsWithSource.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9302939752fae31119525a2c5aaec55900db3dfa36aa6a97628e538b82994405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt:28-41 | app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionsByType.kt:28-41 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt\u0060 and \u0060app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionsByType.kt\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. 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 \u0060app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt:28\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, \u0060app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionsByType.kt:42\u0060 calls \u0060isEmpty\u0060, \u0060listOf\u0060, \u0060emptyList\u0060 and \u0060app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt:42\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":"app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6988acfe70683be5782b74754a8ab0a8f4afb3615b6c2f11794f3d9a79c36750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/BrowseSourceDialogs.kt:16-29 | app/src/main/java/eu/kanade/presentation/entries/components/ItemsDialogs.kt:43-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 \u0060app/src/main/java/eu/kanade/presentation/browse/BrowseSourceDialogs.kt:16\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":"app/src/main/java/eu/kanade/presentation/browse/BrowseSourceDialogs.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcebfb310153323338e31514702a394de197bb73c96faaddb68d9d5325a1fb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionFilterScreen.kt:55-68 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionFilterScreen.kt:55-68 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionFilterScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionFilterScreen.kt\u0060 as WHOLE FILES: 83% 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 2 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. 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060AnimeExtensionFilterState.Success\u0060 in one and \u0060MangaExtensionFilterState.Success\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionFilterScreen.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dece84ab77f8a11f371c4f80e7d91d7ef2370069f681bfea6c74b57e7ad149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:49-62 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt:50-63 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:49\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a071bc281fee9b27ebbd08df87d25e113127ba248113f4bf0712e4d261a6c5cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:174-187 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt:178-191 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:174\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 first that the copies are not typed on the same thing: \u0060Pin\u0060 names \u0060tachiyomi.domain.source.anime.model.Pin\u0060 in one and \u0060tachiyomi.domain.source.manga.model.Pin\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c78ac4cd635c4d7c749788f053ade0695223a74ee74a4f5eb41ba02bc0cf87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt:72-85 | app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt:72-85 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/GlobalMangaSearchScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt:72\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":"app/src/main/java/eu/kanade/presentation/browse/anime/GlobalAnimeSearchScreen.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e69e6a5b18049acb8e5dbfbbb1d422cb9bfe6b977b79c22163cbf16736f6034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt:62-75 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSourceScreen.kt:62-75 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 105 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeSourceScreen.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5cec3a1b1e29127f546eea9a84ec64a4d166522244b5d31a01657e88597ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchCardRow.kt:64-77 | app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchCardRow.kt:64-77 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchCardRow.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16319750970fd5152852487657a37ea80ffc28f398d7a88b4254de78f38e50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt:271-284 | app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:1475-1486 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt:271\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, \u0060app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:1472\u0060 calls \u0060updatePausedState\u0060, \u0060pause\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt:271\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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8305391d8a8de44f44773600e1a9c1e06791d1b233dd0319961dffbbb85f0f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt:77-90 | app/src/main/java/eu/kanade/presentation/entries/manga/ChapterSettingsDialog.kt:93-106 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/ChapterSettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt:77\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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeSettingsDialog.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8447d4a563178ebdbb9e27c28153624d24c3e43447f94854d0682ce0463540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:238-251 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:238-251 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:238\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"401bee6cd68af1daa57584754052b7cba9fb0ceff39fbeae22aefcb766b88ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201314 lines \u00D7 4): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt:220-233 | app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt:251-264 | app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt:179-181 | app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt:206-208 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt:220\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, \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt:219\u0060 calls \u0060toString\u0060 and \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt:179\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDownloadScreen.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6cdd9f21a1192c45d8f74e6a66e3db60c7fd3b6831f39457a30b33a6d817d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:206-219 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:205-218 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59912597f3b0bd3e84a1172f69dec7a645f27775d27544fe704777f13f5488b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/api/AnimeExtensionApi.kt:59-72 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/api/MangaExtensionApi.kt:94-105 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/api/AnimeExtensionApi.kt:59\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/api/AnimeExtensionApi.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"731fae3db461a06d33e38f68100dadb0d15e9c2fb61ca82a4398beec113db4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt:66-79 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallReceiver.kt:66-79 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallReceiver.kt\u0060 as WHOLE FILES: 86% 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 3 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. 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt:66\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd202db19a8ececc935177172f87cc30b7092c21dd7557143398a2c691df1ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:172-185 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt:172-185 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 140 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:172\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b8dddd9c1215504685e683573684fea1a504b81091ac629afd391b8f834f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:379-392 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:378-391 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:379\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"165668a671df0be7fc508642718656154e8c2c3e977501e28fc492c2a3858520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:410-423 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:409-422 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 151 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1aadbe195d61f39906cbd16d22d498c2ddf7eadb8c8b5c2f6891d2ad65c82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt:299-312 | app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt:383-396 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt:299\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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9133e3a4d577b9158933111800a18a1510699a9bf76e42e7d13ced724d630e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeImageScreenModel.kt:116-129 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaCoverScreenModel.kt:93-106 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeImageScreenModel.kt:116\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeImageScreenModel.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb4e87b99b2c572f1617006ca96474ce8b39d24fce0e227d1c410ed33eae760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:349-362 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:349-362 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:349\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7fa7f0e4ecaffd05cd1c02766421b87af2babdab9ce9d9bc6ce47e6903c041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt:51-64 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt:51-64 \u2014 before extracting anything, compare \u0060app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt\u0060 and \u0060app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenContent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 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 \u0060app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenContent.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dd04811b9597a21dea45ed18d421335295c537bb6e15c6601760c4693567fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt:174-186 | app/src/main/java/eu/kanade/presentation/history/HistoryDialogs.kt:87-99 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt:102-114 | app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresDialogs.kt:118-130 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/custombutton/components/CustomButtonDialogs.kt:225-237 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/components/EditorDialogs.kt:117-129 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/components/EditorDialogs.kt:146-158 | app/src/main/java/eu/kanade/presentation/updates/UpdatesDialog.kt:23-35 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt\u0060 as WHOLE FILES: this scan already matched 3 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":"app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"288ee51202372711e512c7dfd58e7b8863148cc975034f792e5b2c7e093b2462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt:46-58 | app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceCompactGrid.kt:46-58 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceComfortableGrid.kt:46-58 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceCompactGrid.kt:46-58 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceCompactGrid.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt:46\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc73ad609f8b4fd7950438892810a668acf3a2bc42ee66f75d66628231b6eae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:286-298 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:175-187 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt:119-131 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt:139-151 \u2014 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:286\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5fcc9e62cfc5e49b7386facda9e59be39ba832568aaa308bc23c5d2e5ccf9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:426-438 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt:422-434 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionDetailsScreen.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 266 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt:426\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d028d78f6c739990dcb08a4bbeb68de376f878ae68707395fb56ad7fbb5351df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:103-114 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt:102-114 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt:103\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8013acc1696dafbed798dd9cab457d712f9c045a02bf79aa20b96ed099dbe79a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt:83-95 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceList.kt:83-95 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceList.kt\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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt: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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"127fed615f5d32e647be4a594156edc1e791f60fc1f8e5296e7fa0faf6508222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt:79-91 | app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchToolbar.kt:79-91 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchToolbar.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 63 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt:79\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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9399f8544df3d9f2da6d57b048e1a8344f94995f81e8ff1662c52d386b933949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/components/DateText.kt:48-60 | app/src/main/java/eu/kanade/presentation/components/DateText.kt:67-79 \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":"app/src/main/java/eu/kanade/presentation/components/DateText.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ecf30505ad2d37473a95ef8437ba758e08a309d29a98e0c76d9fdf531c54fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:1120-1132 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:823-835 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 154 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:1120\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"371bf9d3bcd68b7adccdb4b1052b3ac6853eee6c02a70aa9d4367ecbec65ba0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:182-194 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:176-188 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:182\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7119c4df43c8c584102e2ab194f3993b8fe06a73ba7ca3421c6a7394711d9061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:207-219 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:201-213 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:207\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38c735b773fc55e3aeb07731d3e72f01ba6d0459c61739644a227706d5487c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:258-270 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:245-257 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf11bc095fd0499b0db94de94068ee3699e5dcdcdb7d984cf92a286133cc5a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsMainScreen.kt:64-76 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsMainScreen.kt:64-76 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsMainScreen.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d37ca6a57d9ce6e2684fb4fd78b7ad56bec078c7d5b9650fb00e656f8749ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:285-297 | app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:380-392 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:285\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8ef1951cd5615255be71db8bb69f298d60a9b47fbb3cbff41ef496d7a71fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeCategoriesRestorer.kt:29-41 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaCategoriesRestorer.kt:29-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeCategoriesRestorer.kt:29\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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeCategoriesRestorer.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4727a8096ff76fdc92c44a884467c2d12116590e8ed4aac56bb0f460a575e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:281-293 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:246-258 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"529f0890bfdf784cb762a98e76c8061cca01c8bdbb8c6af8a807d1b802eaca3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt:88-100 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt:88-100 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c37b21489094bcc31b42389be047a6ee31c32fe1113b3247c705671ad45909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:145-157 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:127-139 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:145\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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7467b507e56ffd20f737a21b72feaedb2d02691edfb38d9763d329f947763b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:220-232 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:126-138 \u2014 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d26df2f741a221f05087ddf5b789e994e2c1b471f6c6a7eb7c502a6bc196581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:245-257 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:144-156 \u2014 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fe151b7452607515be266d11153517df322bc69f5514bbf63c2cf850d7d451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:306-318 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:195-207 \u2014 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:306\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d461aebb6a0ded5ec476cae158cddbd633e81c580af2f5396efa00cd32aee31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/di/AppModule.kt:89-101 | app/src/main/java/eu/kanade/tachiyomi/di/AppModule.kt:114-126 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/di/AppModule.kt:89\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":"app/src/main/java/eu/kanade/tachiyomi/di/AppModule.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"311a2cc5cae1436272616b5d3907bb5d41bd4148d831649fdf0320c46775ca1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:126-138 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:130-142 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 151 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"687a246d190cba11dc9b0960052ba616f75c2976bba389bbb407c4f1fe4dc8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:305-317 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:303-315 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:305\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b4428f20c7d4a94d28d418bb1ff527a220a96cc2c1b90c610ea553133a8d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/source/anime/AnimeSourceExtensions.kt:19-31 | app/src/main/java/eu/kanade/tachiyomi/source/manga/MangaSourceExtensions.kt:19-31 \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":"app/src/main/java/eu/kanade/tachiyomi/source/anime/AnimeSourceExtensions.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea7ec86220a64abf79a4864b6c76210098e8e48709f9e963b993b12cb8b6aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:164-176 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:170-182 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:170\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 \u0060filters\u0060 to \u0060AnimeFilterList? = null\u0060 in one and \u0060FilterList? = null\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"07aeef265a6f890d7712a2409c6bbf76c5435f7bed22326badca56e621dac1db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:742-754 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:742-754 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:742\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"76da01efd1ca0ac91592c2e12fc75d7da3e98ddf2172d1559cc581fc1763e862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/sheets/AudioTracksSheet.kt:60-72 | app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/sheets/SubtitleTracksSheet.kt:74-85 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/sheets/AudioTracksSheet.kt:60\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/sheets/AudioTracksSheet.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0305de5fb4f9b74f6c126b16ec17b44be1534bf75e2c00e643729094057b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/mihon/feature/upcoming/anime/components/UpcomingItem.kt:30-42 | app/src/main/java/mihon/feature/upcoming/manga/components/UpcomingItem.kt:30-42 \u2014 before extracting anything, compare \u0060app/src/main/java/mihon/feature/upcoming/anime/components/UpcomingItem.kt\u0060 and \u0060app/src/main/java/mihon/feature/upcoming/manga/components/UpcomingItem.kt\u0060 as WHOLE FILES: 89% 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. 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 \u0060app/src/main/java/mihon/feature/upcoming/anime/components/UpcomingItem.kt:30\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":"app/src/main/java/mihon/feature/upcoming/anime/components/UpcomingItem.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c24f772bb29679b1ecadf68457491cde7ea731a614d3b13f0bde2d8d5eb45eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:660-671 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:725-736 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:752-763 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:779-790 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:660\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":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"2769b30125d33f6b4e20b3cf089c0188159f67300b4c584896a7abbd7eb2f925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/eu/kanade/presentation/entries/anime/SeasonSettingsDialog.kt:270-281 | app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:270-281 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:270-281 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/SeasonSettingsDialog.kt:270\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":"app/src/main/java/eu/kanade/presentation/entries/anime/SeasonSettingsDialog.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6b774513841e416899ca979166978f883fe11027286ea10168dd6c0db84fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt:55-66 | app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt:84-95 | app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt:111-122 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt: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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeSeasonListItem.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2312b03123de0073112c3494fd91455c683c3dca224002081e75b50b5dfa0e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt:58-69 | app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryCompactGrid.kt:59-70 | app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryList.kt:67-78 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryCompactGrid.kt\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt:58\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5164c2b05955808a0bbe88b418ef51a63affbb8a05e7890cf41448d1709636cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt:58-69 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryCompactGrid.kt:59-70 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryList.kt:67-78 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryCompactGrid.kt\u0060 as WHOLE FILES: 85% 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 2 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 \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt:58\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":"app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"926e58a5f27e6a2d3e34c6a8dc0f499f75d661a1def7a0506e9739fa0a7f0fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): app/src/main/java/eu/kanade/tachiyomi/data/track/kavita/Kavita.kt:62-72 | app/src/main/java/eu/kanade/tachiyomi/data/track/komga/Komga.kt:59-70 | app/src/main/java/eu/kanade/tachiyomi/data/track/suwayomi/Suwayomi.kt:52-63 \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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kavita/Kavita.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"013d981fa9724811a58f733a92142708449944a5cac0fcab2316231d838fb089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/BaseAnimeSourceItem.kt:29-40 | app/src/main/java/eu/kanade/presentation/browse/manga/components/BaseMangaSourceItem.kt:29-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. 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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BaseAnimeSourceItem.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddaaebd1ff61b6f2cc64e9c94ddf9e3e36be62a2b1eaaf0b13e298cc0ad7639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:650-661 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:618-629 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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. Note first that the copies are not typed on the same thing: \u0060Brush\u0060 names \u0060androidx.compose.material.icons.filled.Brush\u0060 in one and \u0060androidx.compose.ui.graphics.Brush\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:662\u0060 calls \u0060measure\u0060, \u0060single\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:630\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"5920797a0e1f5424c1e74a98fc4967ce03f402cc8cd935b5018ca5fa05b5ac79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:98-109 | app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt:97-108 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/ChapterDownloadIndicator.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt:98\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/EpisodeDownloadIndicator.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b5bbe7708231f32dd3df05ca9b52a54ebb4c467dabbdb3b18ac5db72e1fee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt:168-179 | app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt:184-195 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt:168\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":"app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31ea2acd33237f38ae0f637bc40a38d78e979c1b345ccc5f2c51b4b71beb9cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt:181-193 | app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt:208-220 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt:181\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb16eb01f4d93e4266cd0ee32d9f7b0d3d4c8160242ab7332351589f0b45203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt:379-390 | app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt:395-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ca9747ee20fc135b4e9c82598d19f17c32a29f59afd846e6e4075d5286162e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:53-64 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:98-109 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:53\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c00747324f67be8005141cff634485a072ac0f2856fd4ff458d53bf20aec320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt:129-140 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/InstallerManga.kt:129-140 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/InstallerManga.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0647e44dc8909ea7153b03cb457fbc204d4065c8c958ce41e61e207c448a310b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt:39-50 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallService.kt:39-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt: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. Note first that the copies are not typed on the same thing: \u0060EXTRA_DOWNLOAD_ID\u0060 names \u0060eu.kanade.tachiyomi.extension.anime.util.AnimeExtensionInstaller.Companion.EXTRA_DOWNLOAD_ID\u0060 in one and \u0060eu.kanade.tachiyomi.extension.manga.util.MangaExtensionInstaller.Companion.EXTRA_DOWNLOAD_ID\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df6588a1660f1bc27c6603f703def06c046d75ac1a12e4f24ea5a1e97a4846b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:199-210 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:203-214 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:199\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20813bd3bfe63dc0903afa8914bc834552e617c3a6bb772bda54d481e5223e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:320-331 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:318-329 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:320\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fd258dd7af03225d2eed64ccab42e024da5e63b76d6f8abddb0aef0c0a8b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHolder.kt:99-110 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadHolder.kt:89-100 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHolder.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3683b596cfe42c269e3e0c57d3fdc8679c1ce8dab8503096a67c17597cc1fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreen.kt:36-58 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadQueueScreen.kt:36-58 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadQueueScreen.kt\u0060 as WHOLE FILES: 90% 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 2 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. 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreen.kt:36\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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadQueueScreen.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ff4414619f550a949bfdc992e78a40db23595df4d3b21992c7aa28634c6ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt:458-469 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt:341-352 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt:458\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ed4b2be18d792ca81209f80042d192d62705a06e78683bbe9528c972e26cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/HosterLoader.kt:35-46 | app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/HosterLoader.kt:52-63 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/HosterLoader.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b171352b8fd063e8ceb899556dbf89148175f2c49b67d12ed43d08e27791c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt:147-158 | app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt:43-53 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"582a93787d5808c521fb872bf2fa2fd84f771a0f0febec323361ec654f4ab0ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt:295-306 | app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt:99-110 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt:295\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, \u0060app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt:294\u0060 calls \u0060onActivityFinish\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt:98\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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"389f4da20d08b73d565471d58b1192298790a8678384f850c473e68d07c5100c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt:687-699 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt:724-735 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt:687\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, \u0060app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt:736\u0060 calls \u0060send\u0060, \u0060SetOrientation\u0060, \u0060getMangaOrientation\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt:700\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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc214e6a97c5019a79807a80b11d07acab3ac204c73501850366a822c4ad9928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/history/anime/interactor/GetNextEpisodes.kt:34-45 | domain/src/main/java/tachiyomi/domain/history/manga/interactor/GetNextChapters.kt:34-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":"domain/src/main/java/tachiyomi/domain/history/anime/interactor/GetNextEpisodes.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e77f3793cb9411eaec4a4fc3cd32eddff96a65baaafc1d0de875124a767bac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryTab.kt:68-78 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryTab.kt:65-75 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt:115-125 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesTab.kt:50-60 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesTab.kt:46-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryTab.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8139511190ab2472a79596905675a2023e789e9a2657f3fdf5fcdf37dde46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:121-131 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:137-147 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:153-163 | app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:169-179 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b775e3d084d709cd92ad29e4341c0195f788bfb2c569270a8b1a126c235f177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/aniyomi/util/DataSaver.kt:67-77 | app/src/main/java/aniyomi/util/DataSaver.kt:101-111 | app/src/main/java/aniyomi/util/DataSaver.kt:153-163 \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 \u0060app/src/main/java/aniyomi/util/DataSaver.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/aniyomi/util/DataSaver.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"402b6b286c315ae63e6666ac1a1d9e446deccd6fcaa61a6d034f748add2b36c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt:153-163 | app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt:167-177 | app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt:183-193 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/PreferenceItem.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff35739121ef13a9420eeb4be4a0d11dd918371695f73dce27349a9e228ee7ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:279-289 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:244-254 | data/src/main/java/tachiyomi/data/entries/manga/MangaRepositoryImpl.kt:103-113 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d3b61ee833046a1401c22334230dacc3f639da27ade337efaf708ae2ae4fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): domain/src/main/java/tachiyomi/domain/category/anime/interactor/ReorderAnimeCategory.kt:22-32 | domain/src/main/java/tachiyomi/domain/category/manga/interactor/ReorderMangaCategory.kt:22-32 | domain/src/main/java/tachiyomi/domain/custombuttons/interactor/ReorderCustomButton.kt:20-30 \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 \u0060domain/src/main/java/tachiyomi/domain/category/anime/interactor/ReorderAnimeCategory.kt:22\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":"domain/src/main/java/tachiyomi/domain/category/anime/interactor/ReorderAnimeCategory.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2beba56197ea6609b8bc5ad0c18f29d17cee785c96a7377ea390ec51f68ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt:16-26 | app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionsByType.kt:16-26 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt\u0060 and \u0060app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionsByType.kt\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. 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 \u0060app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt:16\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":"app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8593946c720888c5b302a227f327aa8fff0b7030bceb291f05cc5fec46e29c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt:42-52 | app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionsByType.kt:45-55 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt\u0060 and \u0060app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionsByType.kt\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. 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 \u0060app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt:42\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, \u0060app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionsByType.kt:42\u0060 calls \u0060isEmpty\u0060, \u0060listOf\u0060, \u0060emptyList\u0060 and \u0060app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt:41\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":"app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionsByType.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eef051126184f15e200f64da9a63f6e33890e0e5ac6fe37e9d3e51adbf9eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:420-430 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:391-401 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:420\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc228d9cd210da0a806b7fa42cd888183bac794182b6c930bb7546eed8cf586a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/components/Banners.kt:80-90 | app/src/main/java/eu/kanade/presentation/components/Banners.kt:94-104 \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 \u0060app/src/main/java/eu/kanade/presentation/components/Banners.kt:80\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":"app/src/main/java/eu/kanade/presentation/components/Banners.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"691746a9c7f08ac826f1bcee369df90854cfcff1b8b2f90cc4ed6f279f07305e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:83-93 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:83-93 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0dce49172ff339039e9b8a5833f9d7f90bd7488618c2fbac263f680a1ec5d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:138-148 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt:139-149 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 151 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 \u0060app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt:138\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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfc22992b6cf49fb84aec6ddea4308f2281e135b7d5f0169c43fee69da5dbf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:234-244 | app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:333-343 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:234\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5b2d4bb3fd69aef89ca3ba628f05bcd4ae90e56a6a50b9a2005b221d1654fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:111-121 | app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt:104-114 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:111\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c80e48313e96d3d71d50907764d30dee1b8fa53cf6c10a7d3fe952e9b299a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/player/components/SliderItem.kt:77-87 | app/src/main/java/eu/kanade/presentation/player/components/TintedSliderItem.kt:76-86 \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":"app/src/main/java/eu/kanade/presentation/player/components/SliderItem.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6825ee7830705bc2f59f97cc8edd6f69ed2ecae4b6aa520a362c32e2aada2aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt:71-81 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.kt:81-91 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 171 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 \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt:71\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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0f8a3550809bfb9a4b0ff129da92a660abcb1a4482e07f0f0cd4f4bed1f132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeBackupCreator.kt:79-89 | app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/MangaBackupCreator.kt:84-94 \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, \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/MangaBackupCreator.kt:95\u0060 calls \u0060toInt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeBackupCreator.kt:90\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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeBackupCreator.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7ce45d3dd9dbce94ffb621f59b822ca837031e7db27fd6c6c895a8ada2d5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:222-232 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:221-231 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"30772bb456b13742a9811c87ba245b88cfcd0377d4c4a7ceff55a86a84aac93f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/AnimeTracker.kt:110-120 | app/src/main/java/eu/kanade/tachiyomi/data/track/MangaTracker.kt:111-121 \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 \u0060track\u0060 to \u0060AnimeTrack\u0060 in one and \u0060MangaTrack\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/AnimeTracker.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"785133d9ae82ab988de137f50524fca65e9290f519fbe3abfed2154a87ee1999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:159-169 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:191-201 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:159\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d167d61ddc336917641fc504cabae1372fca31629d3c2403d93db2acd0c76678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:188-198 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt:188-198 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 140 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:188\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef05909dcb9cde138866883a27cf35f0ac8a5f78e3a256db45d821e898585c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt:64-74 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt:64-74 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt:64\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"647fc9c642f6263762e85ba32339189b9205a522e7b8f96fe1ba30185ce7901a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:89-99 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt:89-99 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1ab05eeb900f758c2efd49d7c30d38cd449b96cc5385219612433362bde193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:226-236 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:235-245 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:226\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, \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:237\u0060 calls \u0060removeBackgrounds\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:246\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ef1b00371eb398ca55ad2d9d54bd35bfc61b3efeba1fdc0581fab5fff0eb5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/anime/DeepLinkAnimeScreen.kt:34-44 | app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/manga/DeepLinkMangaScreen.kt:34-44 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/anime/DeepLinkAnimeScreen.kt:34\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":"app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/anime/DeepLinkAnimeScreen.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeecd357a32191b72ad2df22c501dd2a735fb1baca4b4e51a218a6b3b0b6dc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:244-254 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:241-251 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:244\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2971ed4384bfb80f2916a7328e8156488adfb97714cdd24de15c1014f88848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:615-625 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:600-610 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac71757570946cf555ec90cc935f4712d9fef92ac03ee1ff80975dc7910bfd0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/HosterLoader.kt:91-101 | app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/HosterLoader.kt:119-129 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/HosterLoader.kt:91\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/HosterLoader.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"de37e808c674bcae6532fcd9b96372ec64ff51b1ae3d0312fd767fc90b1f41e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): domain/src/main/java/mihon/domain/items/chapter/interactor/FilterChaptersForDownload.kt:57-67 | domain/src/main/java/mihon/domain/items/episode/interactor/FilterEpisodesForDownload.kt:57-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060domain/src/main/java/mihon/domain/items/chapter/interactor/FilterChaptersForDownload.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/mihon/domain/items/chapter/interactor/FilterChaptersForDownload.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"172754d15a6e3bc168b5036c4fcbbbe285343165d70f665cba5e454d2042cb86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:376-385 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt:347-356 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt:376\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da0c32c3465ec21308ab4f9473e9861adf6331bfb97ec5919774971a8475378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:1108-1117 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:811-820 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 154 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:1108\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"92415734449cf5b31c2dbfc48f79d65949745e244729d0241ba257ac0053e5c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:196-205 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:190-199 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt: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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"05361a17a1622fb88b8d548dcf861529143f565adda501ccfba4d474cdfea41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt:37-46 | app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreen.kt:36-45 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 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 \u0060app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt:37\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":"app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d2deaa416a8de7a1533fcc388332dbf386494446d442f931dc35fa6c71ab1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt:330-339 | app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt:344-353 \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsLibraryScreen.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ddce8360badb02b9a251cd628f095e9028e5ecf658a4913503714f9e112461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:223-232 | app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:322-331 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt:223\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e0cf3048d965429916ced3fdc4b695f38d862817a8dbfa0354b1c7723a5f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:299-308 | app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt:216-225 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"876dabc206a05534712f4a51c3b134b533e9a93bbb482f41a194a2335a394b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt:140-149 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt:187-196 \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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt:140\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"874092e85df1adc679f02004283e6b73f76255780acac5f845c5c2392627a273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt:160-169 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt:207-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 \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt:160\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsGesturesScreen.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8d43a1ebf25c70835bd23b05a69be141844896aaf82c89bf32b5612fbb19ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt:57-66 | app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt:110-119 \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 \u0060app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt:57\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. 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":"app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dd69c1dfb8d96494ab3bb97bfc78bfb5294b07e8a79ce29de78004518ea63e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:108-117 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:94-103 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt: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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d5ce37d6b8587fd1872c94b82abe588409f48e71b96f44c1c8a653bf3d8345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:278-287 | data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt:106-115 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:278\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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52fd17b38aa79e5c1422286c9bd9e94ca0d086e4600af27edfe24268faec244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt:188-197 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt:196-205 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd00d77ccd99eef9fe11f31d4a70610824daaa4d3acc66dabd73e949156fdd64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:44-53 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:80-89 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:44\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dd30329ee5da15c3dfbb0a5f8c61dae8326182ad0fb6363854681e480d5943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:62-71 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:105-114 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt:62\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc62e3de5d61b31662efad81670609449bd71a414e78f8c35e47b65bcf77a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/dto/BGMSearch.kt:32-41 | app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/dto/BGMSearch.kt:47-56 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/dto/BGMSearch.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f6b652a0b0ac2189f14c3b82ca7bbf3ae8f673e5473740ffff3ca990c78f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:315-324 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:357-366 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:315\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67fca835a1f3a17b64c42cda7750b0d9972790c04d4a0f42e0e328bcb3f5d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:336-345 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:378-387 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt:336\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adef6d6aba3849a4d7d3a4f47cf320144c2a4a4d531e38b2c8105b50b9ebb78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:171-180 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:203-212 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:171\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd309118506d257055a10a45d61bd6d68e2d075e16403226bc6dfc942dd31be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:149-158 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:144-153 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:149\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"029bedd171039bd5fa9047039761d2879eec10ea0411aeda23eeca2f822bf772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt:27-36 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallService.kt:27-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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b1aa28bf1800f27ee54cd8f5121ebc9147e5728dad44e9697403592350e355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreen.kt:42-51 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaExtensionDetailsScreen.kt:42-51 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreen.kt:42\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreen.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3553cafed10fb272e3b52caf89fcd4c6c224cefe18c0e0b4a3407606100fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:407-416 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:393-402 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:407\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f59fde486a6b61664c953a19d91a5893b332191bf5d8f8ea57c1726b237d4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt:99-108 | app/src/main/java/eu/kanade/tachiyomi/ui/stats/manga/MangaStatsScreenModel.kt:99-108 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8c675e2ab8bef4449200f59a97a4f918b055bac1dc2d4f46c54460c8310fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:278-285 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt:274-280 | app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryTab.kt:138-146 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:278\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. Note first that the copies are not typed on the same thing: \u0060AnimeScreen\u0060 names \u0060eu.kanade.presentation.entries.anime.AnimeScreen\u0060 in one and \u0060eu.kanade.tachiyomi.ui.entries.anime.AnimeScreen\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee4e1b540fc9033d367ad3174c409c64b6463e716c39a44048ebec8a9d7c332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt:49-57 | domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt:61-69 | domain/src/main/java/tachiyomi/domain/items/season/service/SeasonRecognition.kt:60-68 \u2014 before extracting anything, compare \u0060domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt\u0060 and \u0060domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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 \u0060domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt:57\u0060 calls \u0060containsMatchIn\u0060, \u0060replace\u0060 and \u0060domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt:47\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":"domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfc847f537a603ecbf8ce7d58a3bd47bf5d8ccfd52a51bb883f32a81c0eabd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt:66-74 | app/src/main/java/eu/kanade/domain/entries/manga/model/Manga.kt:51-59 \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":"app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"542bd032e4b6d0be12b234c1fad750e8e0382e279f0d9e9f77e036d6a4ba356a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/domain/items/chapter/interactor/SetReadStatus.kt:42-50 | app/src/main/java/eu/kanade/domain/items/episode/interactor/SetSeenStatus.kt:42-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/domain/items/chapter/interactor/SetReadStatus.kt:42\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":"app/src/main/java/eu/kanade/domain/items/chapter/interactor/SetReadStatus.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c29b7d04d9737c3fd9f15f56ced2fc75ddd028c90fc250b97cdb7ff47583a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:170-178 | app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt:136-144 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 154 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt:170\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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a381be0245a25e44d1f7750de2ed2077d91b343d1ebd5719d9ce5a7ca783ea33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt:571-579 | app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/sheets/QualitySheet.kt:135-143 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt:571\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, \u0060app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/sheets/QualitySheet.kt:146\u0060 calls \u0060padding\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt:582\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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad954c81109d0642afecc01cbcc1303c6d2aae1e8c7dc1d4ad4898dc1e6d9f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:222-230 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:215-223 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:222\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a93f5d03a7bf46d0ba74e4c8d5bb976455e41911e6241d2a8ed555f5488bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/components/EntryBottomActionMenu.kt:95-105 | app/src/main/java/eu/kanade/presentation/entries/components/EntryBottomActionMenu.kt:308-316 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/components/EntryBottomActionMenu.kt:95\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/eu/kanade/presentation/entries/components/EntryBottomActionMenu.kt:94\u0060 calls \u0060get\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/components/EntryBottomActionMenu.kt:307\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":"app/src/main/java/eu/kanade/presentation/entries/components/EntryBottomActionMenu.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa6fac9743617c254143bd5e6a14b0e5933f2dc615daf4a927ad5fa53d9fa53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt:44-52 | app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryList.kt:55-63 \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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc661e84a2b1291a85de89a9b8814e3118c17486b9b411d9435a07fa2cd29ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt:44-52 | app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryList.kt:55-63 \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":"app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7498e5a5e4ab234c924e34252bae83c304d2b202f146c677425ae7e0cdf08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt:78-86 | app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt:133-141 \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 \u0060app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt:78\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":"app/src/main/java/eu/kanade/presentation/player/components/OutlinedNumericChooser.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99a11aa38edc407639184a52c3a3c21e2f946fcfbb3cf0c2eaf0256ac0bbe46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesScreen.kt:125-133 | app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesScreen.kt:116-124 \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 \u0060app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesScreen.kt:125\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":"app/src/main/java/eu/kanade/presentation/updates/anime/AnimeUpdatesScreen.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b375eeac33231928cd9c93bec024d3be5d42de995efc638c7a727e8d66cf21ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeBackupCreator.kt:55-63 | app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/MangaBackupCreator.kt:60-68 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeBackupCreator.kt:55\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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeBackupCreator.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"02aef60ce86735123c3a11958df694e35fd65cccf64ba0f97528b3610c29e99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeCategoriesRestorer.kt:19-27 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaCategoriesRestorer.kt:19-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeCategoriesRestorer.kt: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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeCategoriesRestorer.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ced15f81243b6469e0610aa56bb01f648bf58717c2652982224cb4fead42c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:401-409 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:362-370 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:401\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060backupTracks\u0060 to \u0060List\u003CBackupAnimeTracking\u003E\u0060 in one and \u0060List\u003CBackupTracking\u003E\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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"2528438574f22ac4b74131b03f19b6f29b030ea32cf441a9367e93abfc2028ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:227-235 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:231-239 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 118 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:227\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6102e418451b16f9ee5201b992b94afefc797236baa4c42a50505b4cd5f3ba91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:104-112 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:110-118 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace625b02497ee12f3b419d8327c6fdc01f643f2d8a8f546aa725eae3b8d083c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/dto/KitsuSearch.kt:48-56 | app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/dto/KitsuSearch.kt:66-74 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/dto/KitsuSearch.kt:48\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/dto/KitsuSearch.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd3069bdd635f9aebe11ce99b67af7ccce004791225ac5a6eaed7b34a1fb500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:183-191 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:178-186 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:183\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcd6deb01303d595f2b4b132d75ac8bc3df429d9a411da0ba7e14ae8e5d1da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/ShizukuInstallerAnime.kt:92-100 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/ShizukuInstallerManga.kt:92-100 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/ShizukuInstallerAnime.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/ShizukuInstallerManga.kt\u0060 as WHOLE FILES: 94% 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 2 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. 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/ShizukuInstallerAnime.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c423031c06e1d9fa538311416adb7ca7871d89c8680240e07d742801e72ee643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:424-431 | app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt:196-204 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:424\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, \u0060app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt:193\u0060 calls \u0060addFavorite\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:421\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b2b474454189c4e7e64d8d860ef624f7383248ea408e974767e5c0ff1458fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt:224-232 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryTab.kt:138-146 \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. Note first that the copies are not typed on the same thing: \u0060MangaScreen\u0060 names \u0060eu.kanade.presentation.entries.manga.MangaScreen\u0060 in one and \u0060eu.kanade.tachiyomi.ui.entries.manga.MangaScreen\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2ec5c308e111f2a52dc3159b989a87ce42f0348a0ea7f8b2c8937f63f63ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:348-355 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt:201-209 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:348\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, \u0060app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt:198\u0060 calls \u0060addFavorite\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:345\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e55015508f935537f3c6b6f8c6828e6ac4364fbabd686ed5fe701a3a786511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:681-689 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:666-674 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:681\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43fb43fad4099f14a48701ccc043105ec0744e96fe74fda5ffd3beb64243684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt:192-200 | data/src/main/java/tachiyomi/data/entries/manga/MangaRepositoryImpl.kt:152-160 \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":"data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1891e5629e76579bdb12e47c1b5732b03f7dae2954bd737f690b38f7e2016444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt:77-84 | domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt:88-95 | domain/src/main/java/tachiyomi/domain/items/season/service/SeasonRecognition.kt:87-94 \u2014 before extracting anything, compare \u0060domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt\u0060 and \u0060domain/src/main/java/tachiyomi/domain/items/episode/service/EpisodeRecognition.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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. 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":"domain/src/main/java/tachiyomi/domain/items/chapter/service/ChapterRecognition.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4f7cedb4ce5d242eba9d7fc3750f72274b99dcc46cf3a086bfe587af5b8670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt:50-57 | app/src/main/java/eu/kanade/domain/entries/manga/model/Manga.kt:39-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"56308b6d6d15fed75cedd1b577bbc2f0efba3dcd435eaf2b1037147cc0f37a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/domain/items/episode/model/EpisodeFilter.kt:45-52 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1683-1690 \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":"app/src/main/java/eu/kanade/domain/items/episode/model/EpisodeFilter.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d32f9726018dc4e8e00e42935b1cd9b2ddd7a1cf8951be7bee51ab3dcb36040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:85-92 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:84-91 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c76585089af2c533db0091623726e23ac0d58593997f9b75f4910411b0d90c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:172-179 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:171-178 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"594d93150a5d03b4494f9830f211c5a3669fb7e364180df97edba938bfeca0d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:211-219 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:218-225 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:211\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ea6ceffd7cc1e2ca329acfe7c8bfc83829584fdb7a73e6393b05c87d31f703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:318-325 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:304-311 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4520a37966683466e9edbff6edcc770873fc9858f477d451ff21848316c59a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:127-134 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt: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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt:127\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/ShikimoriApi.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"512c7eec21f6d418c246ac1c03f5f5e762f449498f8ff8eff55758b9b7d15612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt:222-229 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt:222-229 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 104 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b2b2af6185f0e234d619aad5dfc33a4b389e58b1dcec4c9769b7a9e70e16af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:187-196 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:184-193 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d42fcac71e775dcb2222e9993ee0abbb5649c23841ad22b526bb1d11b6879ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:264-271 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:261-268 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:264\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39f6072610f0b2ae07963260e911d0a9bce5c48fd4376cbba53aed9e9f3c245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:343-350 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:330-337 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:343\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c87a8e901dc1deed68ac9f1d160513ac4ea7987ed578164a8a8413f75ce6eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt:197-204 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt:205-212 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 84 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa1dcb0e793c0c6f9485104607fcf2cfed5d64f8dd0a43c64584ba339c3abfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/mihon/core/migration/migrations/MigrateSortingModeMigration.kt:15-22 | app/src/main/java/mihon/core/migration/migrations/ResetSortPreferenceRemovedMigration.kt:15-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. 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":"app/src/main/java/mihon/core/migration/migrations/MigrateSortingModeMigration.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9328947c7374bb6811ff4fd2dfcdd3df18332b760bf85261b7347e913d9dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/domain/items/chapter/model/ChapterFilter.kt:43-49 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:1206-1212 \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":"app/src/main/java/eu/kanade/domain/items/chapter/model/ChapterFilter.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"267cb1edf8195c614c17764e0e550ccdd347c2c58be94281835e9414fe71f3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/domain/track/anime/interactor/RefreshAnimeTracks.kt:26-32 | app/src/main/java/eu/kanade/domain/track/manga/interactor/RefreshMangaTracks.kt:26-32 \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 \u0060app/src/main/java/eu/kanade/domain/track/anime/interactor/RefreshAnimeTracks.kt:26\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":"app/src/main/java/eu/kanade/domain/track/anime/interactor/RefreshAnimeTracks.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8315425e7c2f6cce4e4281805e2ed19f2514eb42c713cb9a3dbd2ea364ff8d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1378-1384 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:980-986 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"7760e49afbed5e4742aaa15fc1a6be33fad4b2a57bb7d19e4c31721d7a0dbff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt:200-206 | source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/manga/LocalMangaSource.kt:174-180 \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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa20168183ef3e5ee8ac033ef583f9530f8260894c9e028d2288c3d02470add"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/domain/track/anime/interactor/TrackEpisode.kt:26-31 | app/src/main/java/eu/kanade/domain/track/manga/interactor/TrackChapter.kt:25-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/domain/track/anime/interactor/TrackEpisode.kt:26\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":"app/src/main/java/eu/kanade/domain/track/anime/interactor/TrackEpisode.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"721f16896884c20fa6a9ebde9b0161b4d5c2b728544855413979c6374d25fab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:284-291 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:283-290 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"774142717b679963b2a4b5ec661559ea3550d6be8cb383044bc041ca5a8a6ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:94-101 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:95-102 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 128 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:105\u0060 calls \u0060isRunning\u0060, \u0060retry\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:102\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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2d2c24ffb2414b3f0ed7d5281b29e9588a9f27edcd99f207557ac17643ce1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/season/MigrateSeasonSelectScreen.kt:89-94 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/AnimeSourceSearchScreen.kt:126-131 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/season/MigrateSeasonSelectScreen.kt:89\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/season/MigrateSeasonSelectScreen.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a039fb8a96cd3c2df7793a602adb3e3414dbf7de6f4510654faeefd5db1a320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:511-516 | app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:532-537 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt:511\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7f82e40b6164c5a30242ceb5b77820b00143fe8932af0ffbeacdd1436ab003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:361-365 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:348-352 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9a3aef672f8257eab997d4cc0bd7a2d0b62c0c91e0667aa3446d5e4b077db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/java/eu/kanade/domain/track/anime/interactor/SyncEpisodeProgressWithTrack.kt:25-50 | app/src/main/java/eu/kanade/domain/track/manga/interactor/SyncChapterProgressWithTrack.kt:25-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/domain/track/anime/interactor/SyncEpisodeProgressWithTrack.kt:25\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060remoteTrack\u0060 to \u0060AnimeTrack\u0060 in one and \u0060MangaTrack\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":"app/src/main/java/eu/kanade/domain/track/anime/interactor/SyncEpisodeProgressWithTrack.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"16169f4c29bccee4d73bb35d207c4f718d8e02cca1c15e5cfb8a6d61861f3ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt:75-110 | app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreen.kt:74-109 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 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 \u0060app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt:75\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":"app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a0576508270ffa8e4af7ec609e3f64523c0cd86d2189db81f3039ca1f6fd36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/models/BackupAnimeTracking.kt:33-54 | app/src/main/java/eu/kanade/tachiyomi/data/backup/models/BackupTracking.kt:33-54 \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/models/BackupAnimeTracking.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccc24bc83ef6de64f53f4d7c1f4dcc81f4e7a70c938cf36b8eee5a096e3e156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt:43-80 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadPendingDeleter.kt:43-80 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadPendingDeleter.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5607d10ff491fa51987017598b97c38e48233d0cc4f2b926ad8956657115b772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:327-386 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:313-372 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"7450a0b0b148ed30601f7b5edbcc9870ef1e2afa10be245a0d50237b398e6574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/category/anime/AnimeCategoryTab.kt:21-74 | app/src/main/java/eu/kanade/tachiyomi/ui/category/manga/MangaCategoryTab.kt:21-74 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/category/anime/AnimeCategoryTab.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b66e419a84c5774b9005393ada1e64920193ab65df42bee7c50691d880e4bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryItem.kt:23-39 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryItem.kt:23-39 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryItem.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b650eee77891a1f37e73e30d47da1632fbc694e4798694854add359d3504d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/cache/AnimeCoverCache.kt:38-104 | app/src/main/java/eu/kanade/tachiyomi/data/cache/MangaCoverCache.kt:38-104 \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":"app/src/main/java/eu/kanade/tachiyomi/data/cache/AnimeCoverCache.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b5e24fd5ae7d0eaed5576f4138d395088ce42953b3c2bcb9842641312be805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/sources/MigrateAnimeSourceScreenModel.kt:61-81 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/sources/MigrateMangaSourceScreenModel.kt:61-81 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/sources/MigrateAnimeSourceScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/sources/MigrateMangaSourceScreenModel.kt\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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/sources/MigrateAnimeSourceScreenModel.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"230ee8fd60776c60a68bd6fb771efb3531643e2a7b98cbf091d5ea7c33e2dea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/source/anime/model/Pin.kt:9-40 | domain/src/main/java/tachiyomi/domain/source/manga/model/Pin.kt:9-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060domain/src/main/java/tachiyomi/domain/source/anime/model/Pin.kt:9\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":"domain/src/main/java/tachiyomi/domain/source/anime/model/Pin.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62024b28daee89659f1e3e272e3c06bd1dd1a6c3dfe2376dea58c8622acef01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/ConfigurableAnimeSource.kt:17-29 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/ConfigurableSource.kt:17-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 \u0060source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/ConfigurableAnimeSource.kt:17\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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/ConfigurableAnimeSource.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a8ce347986328267e122e2369d0737d2a0a9b2a58a7a14753ac9778a313ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/domain/extension/anime/interactor/TrustAnimeExtension.kt:20-27 | app/src/main/java/eu/kanade/domain/extension/manga/interactor/TrustMangaExtension.kt:20-27 \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":"app/src/main/java/eu/kanade/domain/extension/anime/interactor/TrustAnimeExtension.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"099ff84e30c973929cd9087ca8966451471a493562941dc4c41c6d34a2ff2a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt:102-109 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesFilterScreen.kt:103-110 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesFilterScreen.kt\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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt:102\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39f6bf983565ad0f67eb73df8960e5bf49296efb7260865e29bd71295484aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:99-110 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt:100-111 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt:99\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e663cd7d13c14b188019cba8d1abfac65c5969995551c9e03578faf4a9bb0b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchCardRow.kt:80-89 | app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchCardRow.kt:80-89 \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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchCardRow.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ed9fedb78e8142cbdb55e9bf18cf9effa614d0302c855f9cbda14664a69e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeEpisodeListItem.kt:341-355 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaChapterListItem.kt:226-240 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeEpisodeListItem.kt:341\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeEpisodeListItem.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0bff8478be1c48a1c4988be33568833b2d9b1575d6c85801ef389d50b6708e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt:239-247 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaCoverDialog.kt:200-208 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaCoverDialog.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 94 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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeImagesDialog.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e594321547db8af202de21ca3be1d294c9632171ff16277abcc0fddfc12149f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:691-699 | app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt:649-657 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 386 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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt:691\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"db519788a01986d3c4996fa84679fb39a9bef053573088d696b95f1b29608226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/entries/anime/components/BaseAnimeListItem.kt:30-42 | app/src/main/java/eu/kanade/presentation/entries/manga/components/BaseMangaListItem.kt:30-42 \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 \u0060app/src/main/java/eu/kanade/presentation/entries/anime/components/BaseAnimeListItem.kt:30\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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/BaseAnimeListItem.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"679f9a42ed09830d9205c3e2e2ef0a0a5a3faab951068c3895e2aee097d187e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreenModelStateProvider.kt:80-86 | app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreenModelStateProvider.kt:80-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreenModelStateProvider.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c67b1c01c7110d672eb820ac23149c6c537b40cceff310df06bc48d21a82eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt:320-327 | app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt:237-244 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc708aa128494685f241893928adfe30414e15ad4f7644b0efb0f39f83988e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt:273-287 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.kt:310-324 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 171 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 \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt:273\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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4b73d5568b543c03e610b28aade0c9d504bc6043deb92bb672a3fc34afab5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:94-104 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:93-103 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d049f0d31098183093babcb08070d796594dbace743b1d3559f8a04c789c9a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt:234-245 | app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt:233-244 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 187 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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"958179c72da872fb362d47fa3e7124ac4961b2ea2f8c0eff9c2fc17728d0bb4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:477-483 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:477-483 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 118 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"466a5fc43a2ebf32ec843f4aa1deebca5929d94fe2f63a8f5853a2245d583347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:485-491 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:485-491 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 118 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fe5f0c75029399e7c49858f37430e8f74d626195a6838fb49dba16879d1fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt:118-123 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt:118-123 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1088acf7b62529e1c0469210b5f7ccf7a30365acb1474b530a7d92aa4e4b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt:125-130 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt:125-130 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"db43d958face08592881568ddc17211f116c87161d636fab9c000c939541afba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt:89-99 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadPendingDeleter.kt:89-99 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadPendingDeleter.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"119e01f1533383a1a379dad03de7fc388414c15f1ca7f77a906ba2b41347eea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt:104-112 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadPendingDeleter.kt:104-112 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadPendingDeleter.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b8caee93c16e5a887b36f37e7f85fad963303401b2f89092c8f0120066a4e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt:117-125 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadPendingDeleter.kt:117-125 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadPendingDeleter.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d484855f140070fdd329ea9ea99a56316f18d398f34493239dc0f8a1675321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt:133-145 | app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt:74-86 \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"236c31b299ccc725078d472b16188c0c4ca59d6a79ca74db02d2c362c461a5cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt:391-402 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt:377-388 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 161 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1525092972e07b73cbdd06933008a66508441b144ff20c5fa3f623c0109fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt:139-150 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt:80-91 \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f3e456adb9f5526cccf115bf48ae0f6cdef427ebdcacaf4af2459ae11ef493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/src/main/java/eu/kanade/tachiyomi/data/track/kavita/Kavita.kt:44-49 | app/src/main/java/eu/kanade/tachiyomi/data/track/komga/Komga.kt:41-46 | app/src/main/java/eu/kanade/tachiyomi/data/track/suwayomi/Suwayomi.kt:34-39 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/kavita/Kavita.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7e3cc7948da13d0fdda8585bafcdeb724a7548b8144c2b3e6ab6af1a95dc60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt:223-232 | app/src/main/java/eu/kanade/tachiyomi/data/track/simkl/Simkl.kt:122-131 \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8a7d120a1a719f6c7bc60d5e8a17b1b49c3409d5a864eaf32cabf1c4a76e63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:91-98 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:88-95 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0309eb0ada409f9cb255a272f4d9162dde1392204af64d7d6b9b3243e173aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:374-380 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:369-375 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:374\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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"087eac501f89abdf7dd6cff5eb9bf6b1dacbd594c7ae3a3bde0664f38520ab99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt:81-87 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/InstallerManga.kt:81-87 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/InstallerManga.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"28658e4c138277ad149c76f78ecd6c492feefc8ade496b29ce8be107a1b54282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt:95-108 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/InstallerManga.kt:95-108 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/InstallerManga.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a001d86fe304a8c180911bf2517bae39d83a0a9b0dfca1fb9b0e97cc1e55273b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt:114-119 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/InstallerManga.kt:114-119 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/InstallerManga.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"625f720be5a02067f062fcbd7afaa6bc27c9b2b674a0d57dfe90a2929d210222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt:92-100 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/PackageInstallerInstallerManga.kt:107-115 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/PackageInstallerInstallerManga.kt\u0060 as WHOLE FILES: 95% 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 2 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d8c6d7a966824f32ef95abefb7827c25a9b43a78b539ae2ebfd0fafe085588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt:48-57 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallActivity.kt:48-57 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallActivity.kt\u0060 as WHOLE FILES: 91% 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 2 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0d7e115f87e0f071504c67c6d72be7f87be873bef6d9ba34ccc342117a3ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt:139-145 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallReceiver.kt:139-145 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallReceiver.kt\u0060 as WHOLE FILES: 86% 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 3 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7dd42bb17016c02b96eeb045d6a52804d973bc8dc6128b87941b1a93c75d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:248-257 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt:248-257 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 140 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"98de6d0e7a087977e8cae5259ebcfe14a5225cb1d7c0922ca87dca5e6f6bb269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt:272-278 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt:272-278 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 140 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f52878aaf9edb38e45db65b322ed9f5f8b29e32bedf337cf1bbed6d9d3fce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsScreenModel.kt:205-215 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/MangaExtensionsScreenModel.kt:206-217 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsScreenModel.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf79070cb162cc61848d1a91c0201b805de2e772b7e51122112a21c9c31c918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreenModel.kt:133-137 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaExtensionDetailsScreenModel.kt:132-136 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreenModel.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9df7ff74be5a1638545ae27ca43c79e556a9ec13ca32ac0ad2a14ba471d38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt:111-118 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt:111-118 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda3b3b98be2b9215a15b2123db9a7f9a82b333669af4084258e1b281546cc4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt:123-128 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt:123-128 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c72b2ef4624301c036e96e8fb4c0085bfad59f7e9e9225a7e7c1aa77890142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/AnimeMigrationFlags.kt:102-108 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/MangaMigrationFlags.kt:82-88 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/AnimeMigrationFlags.kt:102\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/AnimeMigrationFlags.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbff8be40fcc9fff9329466f0d309e50685e7ca0084c9cb543b264854ba71cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/season/MigrateSeasonSelectScreenModel.kt:53-61 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:127-135 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/season/MigrateSeasonSelectScreenModel.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1056093e23a439014c10595653362f36332631f7b92c6c520ec87ece79df107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHeaderHolder.kt:23-29 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadHeaderHolder.kt:23-29 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHeaderHolder.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadHeaderHolder.kt\u0060 as WHOLE FILES: 84% 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 2 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHeaderHolder.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c0fab2a94cfce427cba5e43e32d26da7bfd1feba94da72f7e472007a958e19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHeaderItem.kt:51-57 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadHeaderItem.kt:51-57 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHeaderItem.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f60c5fc49c4a383caff1c2bc8d3bfce52982940a74d69cdbeb156ed26c2268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:849-853 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:195-199 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba782a1491fdcb6c83a45bb261de853bd1a27f379fa9ad5806674e48a01ca9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:187-192 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:187-192 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060trackItem\u0060 to \u0060AnimeTrackItem\u0060 in one and \u0060MangaTrackItem\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"67368ec25ad2d8f4ae7e9b5505c480a9c2c19cf6ed61cbaa695b4ecc999059b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:194-199 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:194-199 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060trackItem\u0060 to \u0060AnimeTrackItem\u0060 in one and \u0060MangaTrackItem\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21bd29d54e02aebcbb34ff6aa4b0706f5aadf2332086c7369d7ffaa86894a3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:735-739 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:187-191 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc5f96237c12203dc5fa3fb4f56e7db82cdd8e3427e88fee56318be27ce3c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt:133-139 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt:133-139 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt:141\u0060 calls \u0060updateSearchQuery\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt:141\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":"app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"adadb608a743b9dad1f77640bfc8aecd63b0cd9a4950d88191ea722471ec7ad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryItem.kt:52-58 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryItem.kt:52-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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryItem.kt:52\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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryItem.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffbd3f9a042fe011f1cf477f30f1a1bcbc6d9bbfa116b9a7f1acc24ef1213a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:443-448 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:429-434 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"420aea0d237c029623425047a6622b2c50838dad3bf72cad0fd60fdbd3098665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt:208-216 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt:231-239 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d843e612062515a64a3152d093b2339999db0241fff5a889741ebf26466a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerTransitionHolder.kt:102-113 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonTransitionHolder.kt:104-115 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerTransitionHolder.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4b225cf3a7dc4a1d2b1a1f45773bcad410ef28cc84e5241668aac19999f7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt:118-126 | app/src/main/java/eu/kanade/tachiyomi/ui/stats/manga/MangaStatsScreenModel.kt:118-126 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0bd4f75eeac0fee346daf2d3a1a4ccf344265745fed7872365e792ed6c9451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt:143-151 | app/src/main/java/eu/kanade/tachiyomi/ui/stats/manga/MangaStatsScreenModel.kt:128-136 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50f51e7db5994b5b97fe72e5c27542dc456cf9e9b45196b8b58ca7e066a29fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt:153-160 | app/src/main/java/eu/kanade/tachiyomi/ui/stats/manga/MangaStatsScreenModel.kt:138-145 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3e9c9dd94d499ba4efafd4fc2bc869a58cbf81dc4ee5af98f591e555c94cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/util/AnimeExtensions.kt:18-25 | app/src/main/java/eu/kanade/tachiyomi/util/MangaExtensions.kt:43-50 \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":"app/src/main/java/eu/kanade/tachiyomi/util/AnimeExtensions.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fce560c23de0b2bd42e986171e5cdc69e52cdd3a4d2021c30b834ccaf4a08d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/mihon/core/migration/migrations/ForceMALLogOutMigration.kt:13-21 | app/src/main/java/mihon/core/migration/migrations/LogOutMALMigration.kt:10-18 \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":"app/src/main/java/mihon/core/migration/migrations/ForceMALLogOutMigration.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18a281b4529636307b2d07748607e2b31f4b7e1974e0da849506110c2409a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data/src/main/java/tachiyomi/data/category/anime/AnimeCategoryRepositoryImpl.kt:58-66 | data/src/main/java/tachiyomi/data/category/manga/MangaCategoryRepositoryImpl.kt:58-66 \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":"data/src/main/java/tachiyomi/data/category/anime/AnimeCategoryRepositoryImpl.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cfcdb8706741bf87d0495bfb256a0d4dd940718bede610c90124428930bf81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data/src/main/java/tachiyomi/data/category/anime/AnimeCategoryRepositoryImpl.kt:82-90 | data/src/main/java/tachiyomi/data/category/manga/MangaCategoryRepositoryImpl.kt:82-90 \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":"data/src/main/java/tachiyomi/data/category/anime/AnimeCategoryRepositoryImpl.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd0fa44b817442d66479082ec2757023f4e5742dd6b0391d01627ff40f258a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt:153-161 | data/src/main/java/tachiyomi/data/handlers/manga/MangaTransactionContext.kt:152-160 \u2014 before extracting anything, compare \u0060data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt\u0060 and \u0060data/src/main/java/tachiyomi/data/handlers/manga/MangaTransactionContext.kt\u0060 as WHOLE FILES: 86% 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 2 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. 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":"data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"353bb1805d2422e303f2addcf1989c038213421375f5c4cb9718361aefb5c653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): data/src/main/java/tachiyomi/data/handlers/anime/QueryPagingAnimeSource.kt:66-71 | data/src/main/java/tachiyomi/data/handlers/manga/QueryPagingMangaSource.kt:66-71 | data/src/main/java/tachiyomi/data/source/anime/AnimeSourcePagingSource.kt:60-65 | data/src/main/java/tachiyomi/data/source/manga/MangaSourcePagingSource.kt:63-68 \u2014 before extracting anything, compare \u0060data/src/main/java/tachiyomi/data/handlers/anime/QueryPagingAnimeSource.kt\u0060 and \u0060data/src/main/java/tachiyomi/data/handlers/manga/QueryPagingMangaSource.kt\u0060 as WHOLE FILES: 85% 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 2 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. 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":"data/src/main/java/tachiyomi/data/handlers/anime/QueryPagingAnimeSource.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffae916ddf4ce2d25247f3542c1075b1a91a1ebe44f7919f7714f2e0ef13e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt:36-41 | domain/src/main/java/tachiyomi/domain/entries/manga/interactor/MangaFetchInterval.kt:36-41 \u2014 before extracting anything, compare \u0060domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt\u0060 and \u0060domain/src/main/java/tachiyomi/domain/entries/manga/interactor/MangaFetchInterval.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 67 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. 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":"domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0e7e76a0355ce498f35f50c37eac041e4eb7b338812194bec30f885b0a78b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/eu/kanade/domain/download/anime/interactor/DeleteEpisodeDownload.kt:14-18 | app/src/main/java/eu/kanade/domain/download/manga/interactor/DeleteChapterDownload.kt:14-18 \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":"app/src/main/java/eu/kanade/domain/download/anime/interactor/DeleteEpisodeDownload.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeec3f1749f6a22748aad82561fd2187afa7c68b16c009a6e5f84bd65f1a47e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/domain/entries/anime/interactor/UpdateAnime.kt:49-57 | app/src/main/java/eu/kanade/domain/entries/manga/interactor/UpdateManga.kt:97-105 \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":"app/src/main/java/eu/kanade/domain/entries/anime/interactor/UpdateAnime.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"59417a4be0abc7e8c877e71954fd3666a0742f25972a7dbe7c4931fe9da7c76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/eu/kanade/domain/extension/anime/interactor/TrustAnimeExtension.kt:14-18 | app/src/main/java/eu/kanade/domain/extension/manga/interactor/TrustMangaExtension.kt:14-18 \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":"app/src/main/java/eu/kanade/domain/extension/anime/interactor/TrustAnimeExtension.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a289305645e6b106f226948191b3567bfb18b34c7f8f38209506be098351bd1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeIncognitoState.kt:15-20 | app/src/main/java/eu/kanade/domain/source/manga/interactor/GetMangaIncognitoState.kt:15-20 \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":"app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeIncognitoState.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b07ac93855c90ba1c9dbee7e9d6150ddc84d20261235c28d6867ea5bf2d50ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/eu/kanade/domain/source/anime/interactor/ToggleAnimeSource.kt:15-19 | app/src/main/java/eu/kanade/domain/source/manga/interactor/ToggleMangaSource.kt:15-19 \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":"app/src/main/java/eu/kanade/domain/source/anime/interactor/ToggleAnimeSource.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b3ebdeb6ce83aa00fec4e61190b1479de0d3837e69e1f4c7cc4a756029898e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/domain/source/anime/interactor/ToggleAnimeSource.kt:21-32 | app/src/main/java/eu/kanade/domain/source/manga/interactor/ToggleMangaSource.kt:21-32 \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":"app/src/main/java/eu/kanade/domain/source/anime/interactor/ToggleAnimeSource.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5ad49396e3b1b2fd4a93a3a207a117463a822867f15786c77fd991fce1f31d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/domain/source/anime/interactor/ToggleAnimeSourcePin.kt:11-16 | app/src/main/java/eu/kanade/domain/source/manga/interactor/ToggleMangaSourcePin.kt:11-16 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060AnimeSource\u0060 in one and \u0060Source\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":"app/src/main/java/eu/kanade/domain/source/anime/interactor/ToggleAnimeSourcePin.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b762750498e86e5c4c64a9b9f027f94fdaaa5f03db2c93bb2dd899643410f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/domain/track/anime/model/AnimeTrack.kt:6-15 | app/src/main/java/eu/kanade/domain/track/manga/model/MangaTrack.kt:6-15 \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":"app/src/main/java/eu/kanade/domain/track/anime/model/AnimeTrack.kt"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d784de1e08752c520508bd94022677165d656261fccda32efbbfc37a6719b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt:117-127 | app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesFilterScreen.kt:118-128 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesFilterScreen.kt\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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt:117\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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeSourcesFilterScreen.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5177985622f12528c43ea587a966aa090fbc45ab647797f2306f023371fe6ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt:57-69 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaScreen.kt:57-69 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt:57\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":"app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef1556410b7043c37b7168c21ac5273f50d5dc04894691984d7cc0223c5bb88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt:77-84 | app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaScreen.kt:77-84 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt:77\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":"app/src/main/java/eu/kanade/presentation/browse/anime/MigrateAnimeScreen.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd29e86aa41ef0a6f00415faa2eeaa87f4a3dadfacfe5f2265245bd8b3bfe08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt:122-134 | app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreen.kt:121-133 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreen.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 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 \u0060app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt:122\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":"app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreen.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbf3c3ee0e832ab2c6024df985643814d782fdf9ec6f91e459658fc63fab30b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt:116-128 | app/src/main/java/eu/kanade/presentation/history/manga/components/MangaHistoryItem.kt:115-127 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/history/manga/components/MangaHistoryItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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 \u0060app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt:116\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":"app/src/main/java/eu/kanade/presentation/history/anime/components/AnimeHistoryItem.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d97dc77d85ce2131c6be185361889bbd4d021f94cc96b96a309b68213a4cae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/MangaExtensionReposScreenModel.kt:99-106 | app/src/main/java/eu/kanade/presentation/more/settings/screen/player/custombutton/PlayerSettingsCustomButtonScreenModel.kt:106-113 | app/src/main/java/eu/kanade/tachiyomi/ui/category/anime/AnimeCategoryScreenModel.kt:117-124 | app/src/main/java/eu/kanade/tachiyomi/ui/category/manga/MangaCategoryScreenModel.kt:117-124 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060dialog\u0060 to \u0060RepoDialog\u0060 in one and \u0060CustomButtonDialog\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/MangaExtensionReposScreenModel.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7a12fa7355088bce1628b06960a79aef2d81021ee97e308d723df0eb2bfb18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeSourcesBackupCreator.kt:14-22 | app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/MangaSourcesBackupCreator.kt: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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/AnimeSourcesBackupCreator.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19fefefbf54dad770591630c4a287a809c9e467f1b0c704697de79afd902fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:163-169 | app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt:139-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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a008f99a75d9c254c2c410a6b30ed4092fc0420a65cfab2988a305039b7b36b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/database/models/anime/EpisodeImpl.kt:48-55 | app/src/main/java/eu/kanade/tachiyomi/data/database/models/manga/ChapterImpl.kt:35-42 \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":"app/src/main/java/eu/kanade/tachiyomi/data/database/models/anime/EpisodeImpl.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcec68dad994deceaa88fc202b0ea9dad6af1ebec7fcae337c4f200b083ffa6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:165-173 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:169-177 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 118 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eb14510d62d9f9862240f4df1a841599e9d6fa859d4d781a9ed10d1f9e79c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:180-191 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:184-195 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 118 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beeb877ae2f5509a3d22d524c48b1443af680648ce5e4f3fdd5ac5d831647c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:209-217 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:213-221 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 118 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3e0ee238ac16fd854149197264bba3156e900882653dc2b3614992d0667e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:299-309 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:303-313 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 118 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"1086ed7d3f2aceb17f97f65b1eae27417c2820cf994da1dcd30f4aff04731e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt:105-111 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt:105-111 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12562f3ecb3a695bd3c28d1ec3472dd845de54b794c403a9ecdaa49255f9e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:155-162 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:150-157 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060downloads\u0060 to \u0060List\u003CAnimeDownload\u003E\u0060 in one and \u0060List\u003CMangaDownload\u003E\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62ebb5208aebbff6baee99772139e82a5b0a564e00b14128559b5f8890a7bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:249-256 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:244-251 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2392bcdcf9edd496bb6834b02781a167c39f723714307f5970018a0a1e029923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt:345-351 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt:338-344 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadManager.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"af446d19da3127561036d099dae6bbc727c1b26b0f462d7d026addfabdf85809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadProvider.kt:87-92 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadProvider.kt:87-92 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadProvider.kt:87\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadProvider.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e724daca6aa1c4570cab0aa2f41fe58ed41d993c6a7c8c9e5f64e2537a3e097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:860-868 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:689-697 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060downloads\u0060 to \u0060List\u003CAnimeDownload\u003E\u0060 in one and \u0060List\u003CMangaDownload\u003E\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e0f81c24d3bb4fc5e7fdc8168153aeda6ef5dbb15a7c7445c4c2d5d0471245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:870-878 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:699-707 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060download\u0060 to \u0060AnimeDownload\u0060 in one and \u0060MangaDownload\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a736ab0dd5831dd1cd94f455926785696f640b629d137401d589e38844748b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt:904-916 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt:733-745 \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae25cf8e3e180c598d34d4a7d2f050e8c9873f66fb1aff795d18ef160fd0477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt:172-185 | app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt:180-193 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b8d9baa6edffaebe5dacac29d4aa91c6aac8e5b4ddf3a5b1379f16ce8a7f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/AnimeTracker.kt:58-65 | app/src/main/java/eu/kanade/tachiyomi/data/track/MangaTracker.kt:57-64 \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 \u0060item\u0060 to \u0060AnimeTrack\u0060 in one and \u0060MangaTrack\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/AnimeTracker.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c2471df5b3f11f9316fafb28720d186998e5923762e4a0c2b66473454c6054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/AnimeTracker.kt:67-73 | app/src/main/java/eu/kanade/tachiyomi/data/track/MangaTracker.kt:66-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060track\u0060 to \u0060AnimeTrack\u0060 in one and \u0060MangaTrack\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/AnimeTracker.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3a9aaef7e67cd29cced3c4ec032f5b410c45bafb26248d84c22b312d625d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt:368-374 | app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt:280-286 | app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt:238-244 | app/src/main/java/eu/kanade/tachiyomi/data/track/simkl/Simkl.kt:137-143 \u2014 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8a3b0a0a82895cc095568e6e30604694c405e47bb6fdfd121d38a737e77f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/model/AnimeTrackSearch.kt:64-69 | app/src/main/java/eu/kanade/tachiyomi/data/track/model/MangaTrackSearch.kt:64-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. 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":"app/src/main/java/eu/kanade/tachiyomi/data/track/model/AnimeTrackSearch.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd8ecab99ca9f24c8337614cd8ba86b694ff212b0d428ac58590d26f479ed49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:118-123 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:113-118 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 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 \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt: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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0818361273a5df729938659c5eee68f635c26de479ea9a5061f3b42ee8eaa29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt:382-388 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt:377-383 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cd4465d6abab07f535efe1a5c69d2f7b173d466bd7da9ddf5c795fc113dfa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt:96-103 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallReceiver.kt:96-103 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallReceiver.kt\u0060 as WHOLE FILES: 86% 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 3 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. 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallReceiver.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbe79d63c5638010d1e30780c25ea5c238a9f2261ca0aaecd8cb58405231d65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt:81-86 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallService.kt:81-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt:81\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 first that the copies are not typed on the same thing: \u0060EXTRA_DOWNLOAD_ID\u0060 names \u0060eu.kanade.tachiyomi.extension.anime.util.AnimeExtensionInstaller.Companion.EXTRA_DOWNLOAD_ID\u0060 in one and \u0060eu.kanade.tachiyomi.extension.manga.util.MangaExtensionInstaller.Companion.EXTRA_DOWNLOAD_ID\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ef5e8f36996177da53335030a40990662f8a62c7f123128e728ccc996e3b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt:185-192 | app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt:189-196 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 151 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. 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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df74a47c0b492351848482248beeb2652b76f151fa2425277a3aa50b08887c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/source/anime/AndroidAnimeSourceManager.kt:117-126 | app/src/main/java/eu/kanade/tachiyomi/source/manga/AndroidMangaSourceManager.kt:115-124 \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":"app/src/main/java/eu/kanade/tachiyomi/source/anime/AndroidAnimeSourceManager.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb7b50e11503e9399f22611685a8deac1e7b7debaf81ee9225e05a32923430a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:138-145 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:138-145 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"59745a376c4e89a9c04ec488ef1bbe6fb14b7336fe504d335114798aef6fb65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt:337-343 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt:340-346 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a063c9b3c751c97a01d37916b307383d10c46babc5d137e85a94c98c33c25ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt:75-83 | app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/MangaSearchScreenModel.kt:75-83 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be6a228579d716ff10c8dc5cf57f327b4bdeefead3c7cb8863710351fdb1b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/category/anime/AnimeCategoryScreenModel.kt:84-93 | app/src/main/java/eu/kanade/tachiyomi/ui/category/manga/MangaCategoryScreenModel.kt:84-93 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/category/anime/AnimeCategoryScreenModel.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3542d02c47959134c053f31e8c97b1d0b5f6e18be38d07a13357c053d29559be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHeaderHolder.kt:31-36 | app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadHeaderHolder.kt:31-36 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHeaderHolder.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/download/manga/MangaDownloadHeaderHolder.kt\u0060 as WHOLE FILES: 84% 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 2 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHeaderHolder.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7e3e46e257ce4fdbf99230ed5d6c5bb6d732e33fb391c4bb1cf0f873c10b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt:443-453 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt:326-336 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source_\u0060 to \u0060AnimeSource?\u0060 in one and \u0060MangaSource?\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f132375797afb86c3ec9c6f51b794cc7bb56abf0c7e0c5371856e45abae363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:481-493 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:405-417 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b4ca0494eead5900d16b337d5c394ec43a4e516ad4ef09f2270aeb0742b4b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:770-774 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:660-664 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"8163a3fdadc77f94f653451a1bb7beb59e33246c7b6c45a70fd38590c5895020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:951-959 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:965-973 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:832-840 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd9353f6742a4214c1a84acfba2ccff3bda12f2e0c467dac460e8fe2caadc7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:980-994 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:847-861 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35bd8892ead2a17d2d59df4c32ca812ee55f6d05c6f6b4adc37a671f3c34d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:996-1005 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:863-872 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc5c2b7ebd2f2122322741326953e5b6433cf848a3c55901a76a4d7b1db11d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1011-1022 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1028-1040 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1046-1058 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1064-1076 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1143-1155 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:895-907 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a5aae5b88a0dddd74ad181725bda787eca76d0444af2150c20c617d5a2968d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:1433-1443 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:1035-1045 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62e3a1fbaa0bf2b806d1a48a6d711d031a139b9ba05a0cc3f673cf5ac128968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:262-266 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:262-266 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060AnimeTrackItem\u0060 in one and \u0060MangaTrackItem\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f40e19f131f219f69aa7f1cadb8a58d5a8df64b5405b4111a8400faa6839a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt:165-172 | app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt:169-177 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8fc6c8cee928225bb0d246d5d5616ee0e48cb243cb616f52453e395bdc58c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:508-519 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:494-505 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c56ad5440a4110b173d4a189a4b3d78a3027dab728ca2e05259e26ec758afe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:584-594 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:569-579 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"b153e2a2b3b0581dc2948abe76873d4e92a6c53e35fc60040dc1d406aeafa19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt:1244-1253 | app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt:757-766 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060result\u0060 to \u0060PlayerViewModel.SaveImageResult\u0060 in one and \u0060ReaderViewModel.SaveImageResult\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"934b8bec89195f78ddbd43a739bad7f1bebe910d82bafbda53fae8147cc96699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/storage/anime/AnimeStorageScreenModel.kt:41-49 | app/src/main/java/eu/kanade/tachiyomi/ui/storage/manga/MangaStorageScreenModel.kt:41-49 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/storage/anime/AnimeStorageScreenModel.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdab9bc5e9e58947641bc4021c9be0ede99937db91990ffee0dc22cbd338c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:132-138 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:128-134 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cfce9af513eb3c33ccd63e46324ced9842db2050520e8ef43e0c7988f1e1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:206-216 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:198-208 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060updates\u0060 to \u0060List\u003CAnimeUpdatesItem\u003E\u0060 in one and \u0060List\u003CMangaUpdatesItem\u003E\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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"92276f4d609647cb37404d758bc7efba5f52f55d989e3303f558a63101516ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:222-230 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt:236-244 | app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt:214-222 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060updates\u0060 to \u0060List\u003CAnimeUpdatesItem\u003E\u0060 in one and \u0060List\u003CMangaUpdatesItem\u003E\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":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd51892bb198920b33bb4d48c1257e642a05372d3b96a7e71d4438f5ce1e7c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/java/eu/kanade/tachiyomi/util/AnimeExtensions.kt:41-49 | app/src/main/java/eu/kanade/tachiyomi/util/AnimeExtensions.kt:56-64 | app/src/main/java/eu/kanade/tachiyomi/util/MangaExtensions.kt:57-65 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/util/AnimeExtensions.kt:41\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":"app/src/main/java/eu/kanade/tachiyomi/util/AnimeExtensions.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"de97a3464176ab8f252299bfcaa8a9c3ee878fd9fe5267661527dd090262044c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/util/chapter/ChapterFilterDownloaded.kt:13-27 | app/src/main/java/eu/kanade/tachiyomi/util/episode/EpisodeFilterDownloaded.kt:13-27 \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":"app/src/main/java/eu/kanade/tachiyomi/util/chapter/ChapterFilterDownloaded.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfc4408c73b17587bd96f36ee423d0879c9b79d1138927a7aeef13a913cbf76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/util/chapter/ChapterGetNextUnread.kt:12-20 | app/src/main/java/eu/kanade/tachiyomi/util/episode/EpsiodeGetNextUnseen.kt:12-20 \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":"app/src/main/java/eu/kanade/tachiyomi/util/chapter/ChapterGetNextUnread.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b17095a1b4781d35ddab8b13f50a074059c1bcc860795ebdd6c63e64b75d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/util/chapter/ChapterGetNextUnread.kt:25-33 | app/src/main/java/eu/kanade/tachiyomi/util/episode/EpsiodeGetNextUnseen.kt:25-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/chapter/ChapterGetNextUnread.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7e7291fc358513c8ef71411092442d3dc2ea3af1391fca7b977279a5661b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreen.kt:15-26 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreen.kt:15-26 \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":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreen.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73b7d9acf946a9f361945e697ae7f4f0b7c680a2ba99cb4a3efcb9ab35b20b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenModel.kt:68-78 | app/src/main/java/mihon/feature/upcoming/manga/UpcomingMangaScreenModel.kt:68-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":"app/src/main/java/mihon/feature/upcoming/anime/UpcomingAnimeScreenModel.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df7941a242a79b1ac77a9eda72d2e51f8f52829c8d39589222c936b77b3b530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt:78-83 | data/src/main/java/tachiyomi/data/entries/manga/MangaRepositoryImpl.kt:74-79 \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":"data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"02269487e387aecea45da134112dbe6176d6e6dd1074191922906c4367e5240d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt:85-93 | data/src/main/java/tachiyomi/data/entries/manga/MangaRepositoryImpl.kt:81-89 \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":"data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2070cdf207071b08e93387d40d8acf279559da1067b1dbb5829c688ec26683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt:95-102 | data/src/main/java/tachiyomi/data/entries/manga/MangaRepositoryImpl.kt:91-98 \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":"data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"72aeed01ff94b2cdbf2fd71e989f4c098351d679062c3b8b179f7ae9dff65041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt:150-158 | data/src/main/java/tachiyomi/data/entries/manga/MangaRepositoryImpl.kt:138-146 \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":"data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2355c50996132207368d9838f791260f9d6079b9dab48f4f24bc83234373804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt:170-176 | data/src/main/java/tachiyomi/data/items/chapter/ChapterRepositoryImpl.kt:75-81 | data/src/main/java/tachiyomi/data/items/episode/EpisodeRepositoryImpl.kt:86-92 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/entries/anime/AnimeRepositoryImpl.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1014e4681375315cb1c1cdb0180c78556245e8348c1c2917482c6d770e0ec9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data/src/main/java/tachiyomi/data/handlers/anime/AndroidAnimeDatabaseHandler.kt:80-88 | data/src/main/java/tachiyomi/data/handlers/manga/AndroidMangaDatabaseHandler.kt:80-88 \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 \u0060data/src/main/java/tachiyomi/data/handlers/anime/AndroidAnimeDatabaseHandler.kt:80\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":"data/src/main/java/tachiyomi/data/handlers/anime/AndroidAnimeDatabaseHandler.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e37735d4e8d21db05dc4ccac8aee6423f818825aaa05fb4f99270b308a606d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): data/src/main/java/tachiyomi/data/handlers/anime/AndroidAnimeDatabaseHandler.kt:90-104 | data/src/main/java/tachiyomi/data/handlers/manga/AndroidMangaDatabaseHandler.kt:90-104 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060block\u0060 to \u0060suspend AnimeDatabase.(\u0060 in one and \u0060suspend Database.(\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":"data/src/main/java/tachiyomi/data/handlers/anime/AndroidAnimeDatabaseHandler.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f36386abe69589a415311118f4eb4ce1c2dc625703256bded6287d1f337bb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): data/src/main/java/tachiyomi/data/history/anime/AnimeHistoryRepositoryImpl.kt:37-43 | data/src/main/java/tachiyomi/data/history/anime/AnimeHistoryRepositoryImpl.kt:45-51 | data/src/main/java/tachiyomi/data/history/manga/MangaHistoryRepositoryImpl.kt:36-42 | data/src/main/java/tachiyomi/data/history/manga/MangaHistoryRepositoryImpl.kt:44-50 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/history/anime/AnimeHistoryRepositoryImpl.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c0b963215e24362f4515e50afb48653869fa0ef261a13c51ea11e20424ee63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data/src/main/java/tachiyomi/data/history/anime/AnimeHistoryRepositoryImpl.kt:53-61 | data/src/main/java/tachiyomi/data/history/manga/MangaHistoryRepositoryImpl.kt:52-60 \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":"data/src/main/java/tachiyomi/data/history/anime/AnimeHistoryRepositoryImpl.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"97715a357efa94407c11244d65f1b54dd6a0ff5727a61acf236250e7241e6618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data/src/main/java/tachiyomi/data/source/anime/AnimeSourceRepositoryImpl.kt:21-29 | data/src/main/java/tachiyomi/data/source/manga/MangaSourceRepositoryImpl.kt:23-31 \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":"data/src/main/java/tachiyomi/data/source/anime/AnimeSourceRepositoryImpl.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b965eeaae9381ee102ebf9fad9aa96674a820baee15d1bc4c116de8ad75968a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): data/src/main/java/tachiyomi/data/track/anime/AnimeTrackMapper.kt:21-36 | data/src/main/java/tachiyomi/data/track/manga/MangaTrackMapper.kt:21-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data/src/main/java/tachiyomi/data/track/anime/AnimeTrackMapper.kt:21\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":"data/src/main/java/tachiyomi/data/track/anime/AnimeTrackMapper.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"37673808249db8337bcdf879ecd51154ce2cc9e8f105f96051aeb5ba7fc984b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): data/src/main/java/tachiyomi/data/updates/anime/AnimeUpdatesRepositoryImpl.kt:13-22 | data/src/main/java/tachiyomi/data/updates/anime/AnimeUpdatesRepositoryImpl.kt:34-43 | data/src/main/java/tachiyomi/data/updates/manga/MangaUpdatesRepositoryImpl.kt:13-22 \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. 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":"data/src/main/java/tachiyomi/data/updates/anime/AnimeUpdatesRepositoryImpl.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfcb5a65515990d2c225b8e9df034df1604a9ee3e51cf5cc095618985a990a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/category/anime/interactor/RenameAnimeCategory.kt:14-27 | domain/src/main/java/tachiyomi/domain/category/manga/interactor/RenameMangaCategory.kt:14-27 \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":"domain/src/main/java/tachiyomi/domain/category/anime/interactor/RenameAnimeCategory.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabff5666d43175c367d8c0a2e44fb7468596bebb81b00471420a0934bbb84c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/items/chapter/interactor/GetChapter.kt:21-28 | domain/src/main/java/tachiyomi/domain/items/episode/interactor/GetEpisode.kt:21-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. 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":"domain/src/main/java/tachiyomi/domain/items/chapter/interactor/GetChapter.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd4298bd6d1df6a904b97d041ffc8916578c90dc9df72ac4b13e294a1a24dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/items/chapter/service/MissingChapters.kt:40-44 | domain/src/main/java/tachiyomi/domain/items/episode/service/MissingEpisodes.kt:40-44 \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":"domain/src/main/java/tachiyomi/domain/items/chapter/service/MissingChapters.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ba81a8e32cc9e3cb4057eb17a511cc48e304341c228d471ae9f13eea1f02e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): domain/src/main/java/tachiyomi/domain/items/episode/interactor/GetEpisodesByAnimeId.kt:12-19 | domain/src/main/java/tachiyomi/domain/items/season/interactor/GetAnimeSeasonsByParentId.kt:11-18 | domain/src/main/java/tachiyomi/domain/track/anime/interactor/GetAnimeTracks.kt:22-29 | domain/src/main/java/tachiyomi/domain/track/manga/interactor/GetMangaTracks.kt:22-29 \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. 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":"domain/src/main/java/tachiyomi/domain/items/episode/interactor/GetEpisodesByAnimeId.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf48b0dba42a0ae306f02d72ceb62904a1545ccae19122be71f5aeef1092f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): domain/src/main/java/tachiyomi/domain/source/anime/interactor/GetRemoteAnime.kt:11-17 | domain/src/main/java/tachiyomi/domain/source/manga/interactor/GetRemoteManga.kt:11-17 \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":"domain/src/main/java/tachiyomi/domain/source/anime/interactor/GetRemoteAnime.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ea71b8b54ecab6c8282e6266f6509ad94ee76f2742d240d40690875461c4a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/AnimeFilter.kt:34-39 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/model/Filter.kt: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. 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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/AnimeFilter.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1127a6666447fc5d448b7f49657e8e0362501133ba23826a9a9ceb89647a1e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/AnimeHttpSource.kt:256-262 | source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/online/HttpSource.kt:219-225 \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/AnimeHttpSource.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae26c23b11b5529a908d3b8319899c63cc5635665a7484ea90152ca3e9fac2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeCoverManager.kt:19-25 | source-local/src/androidMain/kotlin/tachiyomi/source/local/image/manga/LocalMangaCoverManager.kt:19-25 \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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeCoverManager.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cfa65e287bac1cfe371886512705299b8b14b56ff85b4312e9db182a622bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/util/AniChartApi.kt:52-69 | app/src/main/java/eu/kanade/tachiyomi/util/AniChartApi.kt:79-98 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/util/AniChartApi.kt:52\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":"app/src/main/java/eu/kanade/tachiyomi/util/AniChartApi.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9c79ce1bfe9fb11b0842c727d9e4270e4813648d13e8b117903cbb51508476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:119-134 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:212-227 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060track\u0060 to \u0060DomainMangaTrack\u0060 in one and \u0060DomainAnimeTrack\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a68d4c181b4d76b1cd75d7c38d8c785524a07e140d9299f5c88f0df116ceb9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt:76-91 | app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt:102-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt:76\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":"app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49c43fd52ba76f2bf30ae24e6c7ca559e884e7acfc1a88c884c90e26d0a375e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:917-931 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt:802-816 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt:917\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"48528663c13b7aba8c2e5d6d472c4e71bdc71da8855f8033b797681630bdd0fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:246-260 | app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt:246-260 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 285 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 \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt:246\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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/track/AnimeTrackInfoDialog.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"209a2cfc40222da50a2562bbfc7f59fa5d314b5915d4a08d9a4e4abb4177630d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:408-421 | app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:484-497 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt:408\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71c392db736944020b7113c13e4b919a1dc140f9a056890473b2f006ac0cc15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:397-409 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt:397-409 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 118 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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt:397\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fd737ce93210c8a503c40705d24c283db79234ee60494be63920aa644b278e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt:212-220 | app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadNotifier.kt:208-216 \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 \u0060app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt:212\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadNotifier.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8093fc371caf88b5d6dd7e794100da4ebf466d11a8ad28ee5e4eae74399dd1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearchPreviewProvider.kt:94-103 | app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearchPreviewProvider.kt:94-103 \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 \u0060app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearchPreviewProvider.kt:94\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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearchPreviewProvider.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc668d4ff761b3513a779b928da91f4ad79723a7e921f7a8c49ca5de489ed4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt:460-464 | app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt:446-450 \u2014 before extracting anything, compare \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 142 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. 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae7bd8ef854a9adef639c9a4fd60aff2028ef3674ae94061d5df0dc84a70086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:410-414 | presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt:426-430 \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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"48954745e14fbbc189adbfbcca7aa972a87f0107abb56c958c3714c873ec9f15"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project :presentation-widget: :presentation-widget has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"27a0f29f15383be38d80a2a24650ec4222fa1cf47faa0101c8d4a8902b30662e"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project :source-local: :source-local has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"28eb98b5753b0a06dc113d2cfe4510d6dfd30b7bfea5198b014c5c3b253180ff"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :core:archive: :core:archive: 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":"ed1e2401a97dd82e74951e58171f6e8cd92c5979119b16126e761648b169be62"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnimeLibraryScreenModel (LCOM4 10): AnimeLibraryScreenModel\u0027s methods fall into 10 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 10 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb80ae80808a1f079b12725f1ce3d46cfc1dcb5b40c3404f9f00038895b183f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MangaLibraryScreenModel (LCOM4 10): MangaLibraryScreenModel\u0027s methods fall into 10 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 10 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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cf816414af6401e1a6e9d654f2f981efaad52d6091bd754432338e3db37a29"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PlayerViewModel (LCOM4 9): PlayerViewModel\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e540ecc6d59f6832e3ef723f9addb6b9319ef4de630deb5a5627ea6cbf643d5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ClearAnimeDatabaseScreenModel (LCOM4 8): ClearAnimeDatabaseScreenModel\u0027s methods fall into 8 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 8 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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearAnimeDatabaseScreen.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb63cabf93b37a405ac016e1726bd0ef78dd752018b181f0fdec13b0232f2f35"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MangaHistoryScreenModel (LCOM4 7): MangaHistoryScreenModel\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":"app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"72473ac2b16491069a1f95df04bd788754a928c932ea851f28038b1d98d9f8cb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnimeHistoryScreenModel (LCOM4 6): AnimeHistoryScreenModel\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":"app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9c9bb144621729e8112f54182397ad785326eebe625c9e5d046ea9a95d906d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnimeStatsScreenModel (LCOM4 6): AnimeStatsScreenModel\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":"app/src/main/java/eu/kanade/tachiyomi/ui/stats/anime/AnimeStatsScreenModel.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e861fccf904ed08134881a91e8e1e21e93df1f9324fbcb3de7626e9efe91fc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MangaExtensionReposScreenModel (LCOM4 5): MangaExtensionReposScreenModel\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/MangaExtensionReposScreenModel.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0501f62dfaae83843b46c78e319b61646506d0ce5d6f8d80f13c2841abc621"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Kitsu (LCOM4 5): Kitsu\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":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"07be33eec992b22e1ea6ded6b3ff40728a197bc8797a54a85ef1a0333ef36976"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MangaStatsScreenModel (LCOM4 5): MangaStatsScreenModel\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":"app/src/main/java/eu/kanade/tachiyomi/ui/stats/manga/MangaStatsScreenModel.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ab902ce3bc1f3788c717c95d2dbbcf5c350a04bb617119eac1d12a7d55d52b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PlayerSettingsEditorScreenModel (LCOM4 4): PlayerSettingsEditorScreenModel\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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/PlayerSettingsEditorScreenModel.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fd98ca5894a3188debe40ee52d28fdbee5848893d72cc7624872c7797e4465"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnimeExtensionDetailsScreenModel (LCOM4 4): AnimeExtensionDetailsScreenModel\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeExtensionDetailsScreenModel.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a5880c99e93298ba85200ac0ab94ed3b09e79273117bb6d1a44fa26696f4b3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MangaExtensionDetailsScreenModel (LCOM4 4): MangaExtensionDetailsScreenModel\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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaExtensionDetailsScreenModel.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"608aa27a86698a57a47b9a8cbae8bf3e95bbef6e08b8a99b3ffa6a8495612291"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AniyomiMPVView (LCOM4 4): AniyomiMPVView\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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/AniyomiMPVView.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c241b3dc0023610c0537d8a3250767d0482cf1cb514b101aa77bc9f82de912d"}},{"ruleId":"D13","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":"ba05d959cfcb4fac9417c18fb2c0c625f52fa7332b6b4823ef038f4e97f3ccf9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"01cf02d44865e2c83cc7469f37ae75743956bee8d9a9f27c0a9751c93e7a654d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"03b9b8e779f30802087a84afc7be84225156cebced079b88202c7e8a8aaef01a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"fe4b35b84a4d76576ed59b8571c923c93f05bed72cd38bbfb54a86dd9a00aa8b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"5f6f29ef3fe43811ba7a494fdaeb25cc3446052775a9080f0b5064bff8ee8767"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"ea08f3519cd52dde1fb7eaaeb8b636d946fbd92ed68927b6b7018c58a03865bd"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D14","level":"error","message":{"text":"Banned license: io.github.secozzi:torrserver: \u0060io.github.secozzi:torrserver\u0060 0.1.1 is published on Maven Central under \u0060GPL-3.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"852e26ef13c900cdfe473d746441975ce141d1455893dcd84780e4a87e8c8506"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt: app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AnimeExtensionLoader.loadExtension at line 242. 1 of those changes was a fix/bug commit, and the other 4 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-06-16..2026-09-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-16 20:30:00 \u002B02:00\u0027 --until=\u00272026-09-14 20:30:00 \u002B02:00\u0027 --full-history --no-merges -- app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac299eb4ad9dd900ab46b9c067abc9c6ee52b1eb6143110508559e60a2fa2af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt: app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in PlayerControlsKt.PlayerControls at line 95. 1 of those changes was a fix/bug commit, and the other 1 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-06-16..2026-09-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-16 20:30:00 \u002B02:00\u0027 --until=\u00272026-09-14 20:30:00 \u002B02:00\u0027 --full-history --no-merges -- app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/PlayerControls.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc4e107cc058f2328a1ebad8f813c5fa803cb881ff16b49f8a5b22c029f665a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt: app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AnimeScreen.Content at line 90. 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-06-16..2026-09-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-16 20:30:00 \u002B02:00\u0027 --until=\u00272026-09-14 20:30:00 \u002B02:00\u0027 --full-history --no-merges -- app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b9e57dda327528463458480998568e7580195af9c7e048f1074db061308eeb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 8 significant file(s) lose their only recent owner: app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt, app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/AnimeRestorer.kt, app/src/main/java/eu/kanade/domain/items/episode/interactor/SyncEpisodesWithSource.kt, source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/Video.kt, app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/SeekBar.kt, app/src/main/java/eu/kanade/tachiyomi/data/backup/models/BackupAnime.kt, app/src/main/java/eu/kanade/domain/entries/anime/interactor/SyncSeasonsWithSource.kt, source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/Hoster.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8ec439b058353c6405d5b8991c2d5024be9f59fe9e286065798c40f7c7dafdec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove support for this entirely after a while \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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/manga/LocalMangaSource.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9594a5dc1e35426e2c0176e6266b48e971b030392a9804de0d9bb3655f8cd807"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use getSourcePreferences once all extensions are on ext-lib 1.5 \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/ConfigurableSource.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c087c525719b97e0d1d2149a8ada6ba535c21f5b8e8b0f6e3e2c443018c25ed0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use getSourcePreferences once all extensions are on ext-lib 1.5 \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/ConfigurableAnimeSource.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"509e6df40a2c0fc329fea92ab990bd47e6dc9114b3bd94352dda797c03387c0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(1.6): Remove after ext lib bump \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/Video.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bcb44de66e9232626f976ac36011d5389c06eb37618187d909c20189658fc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(1.6): Remove after ext lib bump \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/Video.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c433defe8d533225a5a955a60f755dd1192affb72bb88cd0a003d429df18f5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(1.6): Remove after ext lib bump \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/Video.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd48e4b977d65f7bd6d194c2f6cb158454469616e040120fd936c8e4d9d599f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(1.6): Remove after ext lib bump \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/Video.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8385af8f5253a5ace3ef554ccbff7db5a6f77eaf862fc2f078c3a9bc3586beb4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(1.6): Remove after ext lib bump \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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/Video.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c09809844dfbbcb8fe25dd44bb1788c73693bb3180f7b1e24abdc6885e1af9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(1.6): Remove after ext lib bump \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/EpisodeLoader.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60ee9d9f01eb9aa123fe8a2379a95eaa06e7364cab93c7e358adbf41924d43e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: Size provided by Glance manager is not reliable so take at least 1 row and 1 column \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":"presentation-widget/src/main/java/tachiyomi/presentation/widget/util/GlanceUtils.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"813df01608b7f134159a750626f6247d3b175382fed82db6add6c5576ee3fa34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Sometimes item height is not available when scrolling up \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":"presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9af607507f2cde203a1a7cd1c37abe4ae98a9f7109286a80650e5768b1721e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: automate storage permissions and possibly open manga details screen too? \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":"macrobenchmark/src/main/java/tachiyomi/macrobenchmark/BaselineProfileGenerator.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"451f6bf311754ac4436c5c3b766a757e686c967c7c682f0e6ad41602c6617c37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: janky workaround for https://github.com/icerockdev/moko-resources/issues/337"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/tachiyomi/core/common/i18n/Localize.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2169bacc86c7b0495761553413fc44c5dfd18d0d278744151db21db70c080a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use this again (from aniyomi-mpv-lib 1.17.n onwards): \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":"app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e50186dc7097932a942182c73fd99527cb52d536da919c9d12b85f104d0282"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move the logic to \u0060isTabletUi()\u0060 when main activity is rewritten in Compose \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":"app/src/main/java/eu/kanade/tachiyomi/util/system/DisplayExtensions.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e74ef39e2691f0d2f082b56352ae6ffe9dd037c1b82a3e19d8a9e29ebca666"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: I think this is a bad hack. \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fe9f7b24bbca5e02d2abc4ecac36c051192030908e1f303f304759ac224539"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: exception java.util.ConcurrentModificationException: \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81bdee306edfcaeaee2ed745be1cfcc947cd9536056dbd067c7635829f524ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(1.6): Remove else block when dropping support for ext lib \u003C1.6 \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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/EpisodeLoader.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbd8449b7c2a36cf5616627d3f2e924dc2451cbf0f2354071ad3b430fad17ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://issuetracker.google.com/u/0/issues/316327367"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f937ea9f06b293761db6221174e56fa8eac6b05eda9646ee4531022e80ee4b6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle animated cover \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaCoverScreenModel.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91d6f49c7a6ac7a96a59e53b9c05880413066d142974b1806963c0f956a4020"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle animated image \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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeImageScreenModel.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e52fbcf4ccb5790db7232128ac17479912ea7a99b3a3f60f771ff83a7da844"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find a way to let it open Global Anime/Manga Search depending on what Tab(e.g. Anime/Manga Source Tab) is open \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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/BrowseTab.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f491455d2543df7560b6fb0cb676c7f54bdbf959f981b2cf71c63be210e3436"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Store all scores as 10 point in the future maybe? \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/AnimeTracker.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ef519a8de75b2108173d669dd2230a9107b32df7cf8797db3899a2a190bb6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Store all scores as 10 point in the future maybe? \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/MangaTracker.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8666bef4485452aae345b7d21958f598578585ebe3e4caba9abaa880c5d9283"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this to an interactor, and update all trackers based on common data \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/AnimeTracker.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce4bd3cce96d6fd6eeab1c0707a702844fb71637b732fee3eaa7659bcf06f6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \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":"app/src/main/java/eu/kanade/tachiyomi/data/track/suwayomi/Suwayomi.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aff2a712ccbe6aa043dbc1b96f5248262c99bf926742a452e29557974d2288f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \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":"app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f409ec88c5ab5fff6edab4f3ad932a3068560341aaa2f4d1f86914725b185b65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"adabb288abe1c2ce6a8478444b7fcc70a47e7782010ffc193f3db01ba91b34ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: surface skipped reasons to user? \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b93e4d05b31f8d7d8c0b44a18587aac6bbdf589ac6ef18437cb3eeced7f21c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: surface skipped reasons to user? \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c453cb0351d24ea67674958813b12c9f0fdddde4e4adf4a9779f633ffb4f945c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Change when implemented on Aniyomi website \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":"app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"e839e7d053e5a7e76f125de9c1f43cf6e16a57d50767d6ae47927b74915022a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: show warnings in stable \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"117da896f3a576a0091c07c13d9facdbeae5f911594f9cecbf29c34eb1fa8d5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support other file formats!! \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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7ea0363bb1c3f0e73799f26de5d5d912665a0ca1d2abcf790f6d9e90fc33c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optionally trigger online library \u002B tracker update \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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/BackupRestorer.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"202a98d555eb8813a54bdde3e04312863a43d50c4a0047712682dab70a7308c2"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: for the background blipping thingy. \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SearchableSettings.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ff1900e8b3bb0409ed78b3562fbfb459674c9f8af73c7382d18b439d6ed698"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow private option in stable versions once URL handling is more fleshed out \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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsAdvancedScreen.kt"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"368f39c222f328966f0af45871ac1fbe0992c4d24ffb639d13fbf2042aef9f81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://issuetracker.google.com/issues/204502668"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/editor/components/EditorDialogs.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bc41b397abffcf53db6f4e5698d917ad15388e4a46649718cfeec1434d8989"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://issuetracker.google.com/issues/204502668"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/custombutton/components/CustomButtonDialogs.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d4a0d1c75162817690a99870a6d3efe4abda396ba59db9632a610a838a969b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://issuetracker.google.com/issues/204502668"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/ExtensionReposDialogs.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed1071999042bf2fcf17357a2d11b0137b60ac8daf5afcd29ccdfafb7fa6efe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://issuetracker.google.com/issues/204502668"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/anime/AnimeExtensionStoresDialogs.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f30862ac6f5ff11f3d7f5b597b6d548671fcad8e3c45ffa2b65c5181eec831"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://issuetracker.google.com/issues/204502668"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdf154dbc756f66b90e13974f42314f69ae9f0211f3ff749f99f080ec718679"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://issuetracker.google.com/issues/204502668"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fe0ab2217b159a4ebc19a9115fc1a1ac77b78834b193cef41a52f5e5a1015c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: re-enable when custom intervals are ready for stable \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":"app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7de62df4e74f0804898da5f3f1389d40d9aeccfc49be4addb835f239833b19a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: re-enable when custom intervals are ready for stable \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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca74852d61124041f1bac427f29dd48e9c303e3aba79dc97499d62798f694ebc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use default when width is fixed upstream \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":"app/src/main/java/eu/kanade/presentation/library/components/LibraryTabs.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"469c7f496522fa6ae95d33711f8fbd7d63009239c5c5a2558b7b023fae1f0bc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: show something better when using custom interval \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":"app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd988c43a77328f96c00b1c70377fb80f4f3fddade24045b85796e8fc614b07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: show something better when using custom interval \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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f80c7b745c72b52a3b9ff7535b0d58dccd1a4b13d5ca90b9f9302b600de8431"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this UX better; it only applies when triggering a new search \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":"app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchToolbar.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"15021a3b78d65951321c7df3adec3e3f4d1da1867acaaae0ab942941eaeca91d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this UX better; it only applies when triggering a new search \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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d121a444c181bf2773e111fc74ada77739f3d8821389f01cc7dfb4a30224db0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update all trackers based on common data \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":"app/src/main/java/eu/kanade/domain/track/manga/interactor/AddMangaTracks.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b80fc4eb7ba3909ca50252b0a2dd7c0c8d2b79e461c9b1cfc8d13dca5b7e4a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update all trackers based on common data \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":"app/src/main/java/eu/kanade/domain/track/anime/interactor/AddAnimeTracks.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0696d2da6bd48633ebc1300bfeab5062cb9d7004de82e6dea0757f92439992"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: merge into [SyncChapterProgressWithTrack]? \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":"app/src/main/java/eu/kanade/domain/track/manga/interactor/AddMangaTracks.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4167e55ae015ffa2eb59909076e4cfae021582a3756a2d3e9e8083353b71c65b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: merge into [SyncChapterProgressWithTrack]? \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":"app/src/main/java/eu/kanade/domain/track/anime/interactor/AddAnimeTracks.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed192e62eb9d0c78b3ece9add0f1f03b5133ef2c2e9cd73781cb599a4a17b82"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove when all deps are migrated \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":"app/src/main/java/eu/kanade/domain/items/episode/model/Episode.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2807114091097eaa9635288f3c0eec4946df51097ef3787b794d39a1d83da9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove when all deps are migrated \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":"app/src/main/java/eu/kanade/domain/items/chapter/model/Chapter.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc88710a5a95098efd1ef1311ed4267738a801d6c5d9606d70776f68fb040885"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move these into the domain model \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":"app/src/main/java/eu/kanade/domain/entries/manga/model/Manga.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ece9d66171cb18a5c425e82cf2c2adf7d09eee672464bb6a158db8c124f6b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move these into the domain model \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":"app/src/main/java/eu/kanade/domain/entries/anime/model/Anime.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f808d8cf8e90cae9e705b834ac2d943dfbf7501d804406b36393d9b1aaef4de"}},{"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 \u0060app/build.gradle.kts\u0060 makes this repository a deployable product (line 7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b7e6affaa93ee6bb19a08419940b0b329e278f472a33ac0b60c64caa16c5f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 12 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060app\u0060 (114912 LoC, 1998 module-visible types across 254 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":"90554a02cde58651caa6d54ef045ed80cb937dbdaa949144f60fcb0ab7da7933"},"properties":{"commitSha":"cb921436138acd639e5332cc57b03daeba8cfb9a"}},{"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":"24b685462eb7b586dab8e8495c1494cd5820d0fc4c3faa3cfb7054bd3ceea42e"},"properties":{"commitSha":"94ee4e7fb5d0cb8a95a4334139792f8a318ddcec"}},{"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":"e1da4853009bf94f06860401a7f483e5b1b52c53522c9d445526add1f28d7cd9"},"properties":{"commitSha":"3abae1cc75837e9b64f5f1577da827daa17f00ce"}},{"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":"cd013bfde389b2361655e0e51a515c325f773b6fb596f0b7789ed15f2c67066a"},"properties":{"commitSha":"1cae533d6572870497b8a050cb9b1b82b6840bec"}},{"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":"b242e52b52998a1b3bdfd77c3bbcc8324f6da738694310f1b52072c391644353"},"properties":{"commitSha":"94ee4e7fb5d0cb8a95a4334139792f8a318ddcec"}},{"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":"d267b33d7fb0e5e08963e529602c064162bcd8bad5139843c68fd0618901067d"},"properties":{"commitSha":"f9b3c7c77a3f0c60b1d06775f043cb7e56fbc2a9"}},{"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":"ad834b487c72a4ec4342aeafb0be451d731ab8d06edb016d41dd4eb21970d72b"},"properties":{"commitSha":"a62a7d533000dee0f83ca3ed2e2fa0826c8530e1"}},{"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":"708d2c9af2face6ae96f275371ae5921b58b6b4f787171851bec7447f90a84e9"},"properties":{"commitSha":"77d53b2ab87e0a875e111d6292ea27e36f49d7d8"}},{"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":"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":"464f7dfab7160e3f7c8489eb53762b807228e2a5d950c350dd12e9002d6a216a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"bcfa332526f1d1cf232f1db03d9b6c06f1ef6eb9d9160edb7c8e3c6c37a1e64a"},"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":"9e029a1fa926deae839dd7dde0be834617f97240478f065017eba805113c2755"},"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":"cdcbd8588e003a2a40c627eb36aad3392e6ed1e3d910c3b8788fd7724ffa117d"},"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":"77b80ebed13f7549d8f27320709e5ad152201590d677e1f6e93aa9c4fd139865"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2430fc8bbcdb58075a7f5ecd1e46889189459b6797792efebda8aa11e08d5cf8"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"7a7489b30c934c2662f8362379272b98542008c7483bfef70410019159a934c9"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"06465768d992be36b0bbd35fb254026793d6e47e472e0bbe495064db27c63025"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"63f360a3eec7a2e6427b387faa23f9b70ec7a594c6d5d189c1e13e2b600ebf40"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5810ede3dcae75f4c046758f38591f0cad406e7abec71d4dc134c475949bdb40"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83964b5ea0ac0f1fadc7880f9908fd5677d9f609c0cad89f1fc10104a5929db"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7471e716996744e5d9e2fb8c138c9896fa51b71dc10d3c9544f6e23bd003cba5"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8179a26d76389195fc197e6161a8d0f3da7535e28ae4b8fc9d90ee88dfec734f"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee811dd01a96c5e25bc967cba2d5e0c2f2826f7daac26d07727931ac7d674fb"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41710ed90f010d23cefec6a815c6983b94ad5b2aa1af16fb9b563f1857395bf4"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/track/MangaTrackInfoDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc9199d61062e9fb2eed2dcdfa1dc12ed8805ce5b5100b12c7fc58cd5c3b3fc"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4992b152dca14b49f7d2c7285150a49b0c0f3f61815f15ac0db914bb8eb169eb"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b51b6575379a29f1d775ae210c211e726f62491f3a6a632af77c6be099d2f7"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e79c7c02db2d3fceefad88e51b5068c4d992692e3e61dc5229dac62be3e16c"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f45ae04bc1d16101ca85b5665c54150126dfe4c42e98ccaf07aa61c75103f8"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a469fed8ffb254289b1422f90aeed2dd25b17671fe0ffd38b8d3222612527d9d"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadsTab.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8327f02aa8426031f0c4bca37bee7aa8a7556aef0bbb9a92bd1e416405102c10"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/VerticalFastScroller.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8ca5dfa262ad181e5e1742c539a21d3982ec5c8f0624d525ccdced069cff17"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/SettingsItems.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7f6c4074871712faba34abfa12fbaf545e90628d2900298d0d1ac9bbbde47c"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 287 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsTrackingScreen.kt, app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt, app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt, app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt, app/src/main/java/eu/kanade/presentation/components/AppBar.kt, app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt, source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/online/HttpSource.kt, source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/manga/LocalMangaSource.kt (and 279 more) (301 orphaned of 647 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 647 of the 1447 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsTrackingScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ee470ae567185db5f0a24028a03e746a396b89f4ad4ccec9bf0e6020b2b9a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/KitsuApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4433d4454a9b786063aaf2b249c58c6905e48bbe8e4e9a2b205300f2f812daea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ca81c8f2edfb98196c7af4c4467ff4aa118923f015ef3db3ee9905cbd6bf14"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9994ded9263b6a369fa88ae47e4285bef0bc3c28d4907528e0308bfe829a5e76"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fa0b8eacfa6399fbf538268974bbb9abfe6b3b8d8a682854b62ff4007e5b60"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/MangaRestorer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba728cb0961b8e8b68c23056d18269a1e5486a7906ba4d808b2641ed8df2a0b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e67267c1374b7bc4b1bfe328b1af399fde88671739b2b258fbf173ee5aa5e62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/components/AppBar.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce03cfcee6747df825e7bf56cae0105a51d33238ced7fb35f3f743e95f77ee0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37f6cd804e6d8128b2484f9426c539d512ecf7fd44d34ebb7371b3b7a1773f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/online/HttpSource.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe524973c55d70284dbec5422fff14ff6deedc537f0b8f1a4774018eba1a7f2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee759188edb1b77af487f25bc135cbb50d2eea592a8935880de9845dadeda6d9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/manga/LocalMangaSource.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad9d3746e067b6053e6393bd06f1086d2ba3fb0f69d02662b7aacf752282dab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb3006ca68ff7504e5dcec2d084626fa275fca9b9bebd4fa28645c8759bf0de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6b1efb8201676f53b81d3c085353dba5cbcd691dc9cf8189ce0c9fd670a230"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12356980de99af9f4809065a2d286cfabacfa1c7a4e4463bb9091b9f58c81d3d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c559fcf7f7f0fb3d5e881cefbebecf95ebe8d65bc54c89d4ed18cb6db8c54622"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Button.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db357dec4c68d15dcfcfa41071052308f29cc3cee240f7c5ced4efa4268a7c4c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfea5a14270ba84a213f47f783af4dc263187fa272edbacb11945b2569c30685"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02e25187ee153ef460cbd8fd3fbb427d3344d6726fd61a2896ced4777f31177"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4beaa65cb5983dc438a86bf393a91dfbd0c3689c0d1129b9264f0eb5ae50be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1408234277ddd300429dc744b821b1882a699baf8ced729702f1dfea134236de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e01ebc942c3b2efcf3e86138f5575ce2af513731bedd7dd4fbd24bf97fd2d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a6406c3b9303cb26c61889c9f8951b19ac19c8093f8504eb399f31b0a436c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibrarySettingsDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ff666dae2bd46485e370e0ef747265fe501fe48bf27b03e11fd141f05ee3db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/ChapterTransition.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec667eb772995e4296d5865fb49be9de519da70f6609cae004dec8a6d0ff047"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/library/manga/MangaLibrarySettingsDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d576a88c4f4dd20d0f4c80ddf5355b1c5ea4c9120f36379c1fbc5fa54a343d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccb3ed3dcae783e03cf3eb6dde26a99fe477ddc804888314fe000b5d0715aee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ed1347bc0bba7b47b5815a43955de41a76fc3bcea05eba11013ecfcc0292e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c35a146efd4cfa453494d46467baddd2a10bb5e03af5d67329857ae113521b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dc0d1af4df58948a177465698fd4e89bd38b4c72f211ad73ad17076004dfe1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonRecyclerView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38acace8ed44ec1b0de75f5b32c650968bfb96231f88896b7235e9603136449a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/advanced/ClearDatabaseScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b652880a48d013606073ed85007fd4daa841c30c48beb2d5cb2a4b3d289e307b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/category/components/CategoryDialogs.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58b1e9207540d1dccd6bb2df5f1bfd62eba5f4c5777d4da9f216d7ee04e7f67"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsMainScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae33148a44de497a81dd84b38879eb37e43ac00e00a4afcfdd90364f390602b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/di/AppModule.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f872d20c53f79a50f4ce98d32a6c3c8bd4e7079252bfa05fc71a401795006fc5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/WheelPicker.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"026894009b14b38fd705cb724085c9d3a787f8ebb23822385f21d9ab63280928"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/util/Scrollbar.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59152eb6f9ff799694b52f7ff40a0afb93c71351f6381af67909a5b5d35c1fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/updates/manga/MangaUpdatesUiItem.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e4b326cc7573f8c7dc7a46f85154e090ecef24e27e885b7ec253c15f375b06"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/items/chapter/interactor/SyncChaptersWithSource.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a385d6d390c66aa81ba06018f8804c81b1a785e3c0841a1354b0323ddede341"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/MangaExtensionsScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6e5cbbff30d99ed941de9e0270b6a0fd298cc2ad65940e6d8db6fbc5ccccd2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a7a63fda44a218a958a0016a38575a44f209d136627d8fec4648a35021e215"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/webview/WebViewScreenContent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f296126687fd59afe234e4be9e5ae40caab9f31d80d28b0037300a02f6b770"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/AdaptiveSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3b7535371ef621c20ea437ad31614bbd01767049b0f739182e357b11dd5571"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06082c60b48cdc71c59daaed77400be1b2e88c673b0329c1a37f21597c4e90e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/entries/manga/ChapterSettingsDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3c37ec8c9f78811ad07e0036b392373b98956227a1315db9581bedec30bbba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/controls/components/dialogs/EpisodeListDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9675431888a2e84295d32b9492653d62eac3b5d381dec76f8389e91f385029de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/track/TrackInfoDialogSelector.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80655a5921476eea6384af308299886d477b02f57b1ce37e70ffd7d4a491a0fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/widget/AppThemePreferenceWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a89da562933f70f69153668b5772de290a19b96bf660928c8e7901b2aef1546"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/settings/ReadingModePage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1b62ecf29a3fce0e2e556dc2dad87dc6bcaddcd11586f26ce43bc15bc42220"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/data/RestoreBackupScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b3268dc675def9313537d8055f9856f0acb19cb14d0e89940a72f06f09159e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b29ca74b4caebbfef845c6f400292d526a34e310db9ae95225b88d1e239c5ca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbb3cd4cdc4453b940ef39a08fbfa3a84d46a944983b386d82e45d76fd086a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/MangaSearchScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe697db8a4de4635df0ace431b87d3acdba1651e8de597fa27685775da93796"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/manga/MigrateMangaSourceScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7457b71da2e14c5baa40405f71b6c5cc12c3722b465ed0f160b599092510a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/setting/ReaderPreferences.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aeb8998488f0396812ccc185386c3c403a170027f1e48ae0ed91c24adee70d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fa70c4aba5f34b77ab27e4e261ab631d8bd0072b2f6aae65f58d869e141adc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/appbars/ReaderAppBars.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4ef394a25450831551ecf66b6d73320efa219646c266de85885a7042ee34d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaMetadataUpdateJob.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c936c51711026a4e5fed7f7cb1ef9c3dd6a34ac3fd3c761fbe2649aaee2e4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/HttpPageLoader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a213949d06601cc892459c249a85d3f7871ffda99d9597c7786b7e1cbc089ba0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsAppearanceScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffffa46071f824389adfeae167ef580ba693a9bcbb51be94767c9f5934778a66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/kavita/KavitaApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cc9aeeecb870f36dcdc776274325d096525f2374c9786d2d5ae61bfa8f0dc1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"689b10a1bce4e23c8d8191d3010899782301713b2e727522bbade61dcb69dc20"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/MoreScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c365d91f55638cea2beb02306c3d280d28d9b818d10c5011fce867255ceb74f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/saver/ImageSaver.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a42b9b11053948bae2045f825d3a6e9c910de88d183693662c25a9a99704bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeMetadataUpdateJob.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0045762308fa5f3b8a49261b8f89613d0481e06ad63cae436487772ca60de1e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/storage/StorageScreenContent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aef760e069fdf542a5eb08a852047308bb41f9ccac7f1f3051159f92ed5bf60"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/components/ChapterNavigator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f59c602badf73dfef0c417951a7faa86476e828f21bb0ef8a231dc3118b623"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/components/Banners.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae0caa2ec5ad36f1050ec2ee0dade8aea0b3e6aeb2643c3c6d7ad17b05d05de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b58aca8033c680efece19c03781d52d38fece52633f9bd6ee969cce4b675fcc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/MonetColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed99c251333fcada18a1286cb45f9a3f2bce8f1fc7574e103239453ad8547ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/entries/manga/MangaRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"790faee87623f63878ff9855b58db70d97b7ee18261af6a06e75581dfd7f2f25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/storage/StorageItem.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0888f4f09833ea6e26c3177c9779af652a249809ccc6119b4ed43b3b059613"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/debug/WorkerInfoScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d5744f7d3f06c0e9d4b0765c21bda36460a87cad97b31ca4b9eeee49378c7c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/manga/BrowseMangaSourceScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db17bb35575ae6099ed5ee3e9b70ac4914796e49c485a6ad7b8f6ff39b9a7fe6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54de4d82b3b22a7743d6bb9c37290d7184eebd6c2185a4a9464c603eaf0ca76"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/online/ParsedHttpSource.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2d4f26e509724eab6b44c15eb3032c0300402d32ac5fe879c2a622cda9555e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22228563765a6536c9511f7d2321fa506822cdd65f5557f3d3e42e79f681d117"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/manga/BaseMangaUpdatesGridGlanceWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2c8be153dcd2263025018f94d1562c6bfb035a560b5d7bc56ff0d48b521ac1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-widget/src/main/java/tachiyomi/presentation/widget/entries/anime/BaseAnimeUpdatesGridGlanceWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7443b133c6847e4a3898e0fd768c60a9cb075dc0888d24abcc9588e175affd70"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/entries/components/ItemsDialogs.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5429c7028acbcba36cb3ceeecd7bf2106c4414a16e73d957b8498cd1c275df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/network/DohProviders.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"723196e296e52b120b26d4b875a29c1a4c6e93b3f012a5e36fd3be00db768382"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32622560cee58d0d63efab530df95f863402b80e2c73b5371ea70f14414213e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/entries/manga/components/ScanlatorFilterDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89d6510f7aa7176fd834b43b0436d3d704b9171fc831871a0192633a5f7e402"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/onboarding/PermissionStep.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecf072605d01d719073637ec5f48e3bf4e57e026e16c11ef933c50274e1ee73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/debug/DebugInfoScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8256c9718f83cfbde2de9c25cefad4b63e9e4650c2880f70dc561970a1cb70"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/SourceFilterAnimeDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd18cfc62c7e63e02155e90d27f1ac217cea7ede935bf3f968b39b0e9004f220"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e04eedc85a327a349cab9123be2af59b25dd8bab8e87138e1d94968e0e5b713"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/aniyomi/util/DataSaver.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eadbb6e73bd2d3324ad7c7961c75d026a07e1c840776d915166da3c1969d92"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/cache/ChapterCache.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6406dd529887848393eaca08a9dd55d8af4c78a84f0981c770879c97e1e4e0ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/SourceFilterMangaDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96822b2e72f43607433bfae5fbf7a0fb0abd5b4897d522d2cb5598146b774945"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/widget/TriStateListDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12cd19a4fbd2edacd0d639690fb30b5129a368900f69fd2e59aeb1ea5a11020"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8639d59d853348263841101c048f964ee10c3186c4eac1f970405c8cfecfee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateNotifier.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb843552a1777a4f004fe7bcf6cbd201e0f0426a24a3eee74c7161d9ad7b054"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/items/episode/EpisodeRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3e11ffafdc15b601aa76461d0223f6f79c08e8397a8dc6d8d47b413a58c694"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/tachiyomi/core/common/preference/AndroidPreference.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb56fa5ac6e12eada81133d85dc3827ece947477110ad6ba2781a7d410465db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/library/components/LibraryToolbar.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"697d0de80a7f7e8ea65d501a5dae445afe9d18dd45f2540022a1a91c351c85db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core-metadata/src/main/java/tachiyomi/core/metadata/comicinfo/ComicInfo.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4420616ae376996cad1ec67f868d7a7630565e8a37caffce90d66b4b6708b0d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/components/TabbedScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"622d94f9a8f3a5e0840f0ef734450f12885a3d3700baa1361d07063fa9f0f13b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/items/chapter/ChapterRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"477fcc57cba4fcc53ebba662cfe3edce352da4afd0e2805cbb7fd34283a2567b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/InstallerManga.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"625f560a653a6efa699a269e7b85d02fdb963b2f0a46af4c00a8b85ef4143176"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/InstallerAnime.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9095c7c730ea1fed7a4f310a08a587a9bcaa1af339054ff7f3f8c0c85d08fb11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/manga/installer/PackageInstallerInstallerManga.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1f4eb5dd35a331d116242510463b8c55ca8989bdc468b5d588e7e152418097"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/data/CreateBackupScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45f71d8bfc9cfb7b9fac4357d06c056fbe84d6a63efc271ce4af6e2bbb504a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/settings/ColorFilterPage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f67cff3fa03bb8464ccfe50c6c6640512b1114f29ea094b50f3568790450eb3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateDownloadJob.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3481df74b7057029f12fcb888237193a38ed97ceece6b44d9c77dba98fe1f7fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a6c8f3a1dd3f83f1735afed11b12d3d4283b3544677c0328f8215b3a88dd77"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/kavita/Kavita.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da008fc5732f7473f11640ca1189a454d5664ecd9ee2c7a06db97d44e63f778"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceToolbar.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0bda11166ff67356d31c8dd7acb975c56aed65674c033ba44238bb9f37fef4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/stats/MangaStatsScreenContent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4974efa431d6b01164691f7de5ab7edacb532eb9894d1aec8266753828fa2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/MangaSourcesScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7800c9a9366cfee8eb18046963885a9a89f528355e85f59c78a40f26ce48fbb4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/create/BackupCreateJob.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67837fd53749c890d1fd35b386f5f20143d5369a9f540f57d781e09ad5050565"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/material/AlertDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0eb6173dc91ac0a91a8e0536f8fc77191a3ecbb44d924f2c5726f8a5ee3517"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerConfig.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3113ba655c422ec94c8485a586709d7930087cf3f48701ce772b6c7a5a6f97"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc3d14002b34aa0d2eec4466b86c07e1d81e97f4fee4d6115490580274e0862"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/network/interceptor/CloudflareInterceptor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe4cd54c010f530a00b08dc45a7435385f53ad789c0b4d110dda5b17aaa5f0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/create/BackupOptions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"436e53cd3c445717aef164a4fc5c1254fcf4649ceac9b929fc129d4dc6221fc3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/screens/InfoScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"685c81a96b0a6ae2e329aff433f2f37b3b2eae040e81fbd561d98e6e768ddd2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/util/Elevation.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"974d17306f22a8a3f59192ba48b2f543582681648a9f49ae3723b726328cb901"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/anime/components/GlobalAnimeSearchToolbar.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4280e4d45f402cc4aab83b6ac72083a08e5e823867a6a0ed7dede3c4e68a5af2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchToolbar.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e550a0a8904dfd91ba99b9f419384d0649c9656f6c07776ca4e498109b44f44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/system/AuthenticatorUtil.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c61921fae4ebc6416b5205c8517b9d7e1a47287d508fb08db9b3a685832a141"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/appearance/AppLanguageScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8a2636a1ede8e58b24a0f096f74fd3dcc238d149368550b0d068cf32b26fac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/ShizukuInstallerAnime.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d022e97ef190fbd693c5dd08416f2db0022b678005111a5d9e8957c60e9bef46"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/library/anime/model/AnimeLibrarySortMode.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2455e2c548c164b598a1e732bf73df4cdd4349749047e1144208b08c827f4e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerTransitionHolder.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b38ab1b1b7758dbfc4c105ec7ec74619db992e4e9b033cf18e6d430bb47d4ca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/storage/CommonStorageScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e0ee771e3bd03ec307f0b66c6aa873c61e0fce98e4887c823873cacbd2ab4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/simkl/Simkl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b0e345b1a18c52a3ec2be6a6ca7b1dfcfbcd2d8875b5552d4207c50a1301e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/widget/EditTextPreferenceWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"289c014dedb0e8ede863af8b9e6bd30a647ef95269ffce5c62ba179b33f2e21d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryContent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbd403e0ca3a56ebedd1a58c58514ae2c7bff52f7c0e846c4cd7d08dbed3e12"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonTransitionHolder.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7bae987a42032564b72f5e37a39478353ec98053d76587fd99c7b54e5760f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dedf7336243427503ecc8eeb218e9f8fe0d26b6263d7e68992063569a6a5ca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53314538ba3b94abc5a752a58e627473c126ff96f0901017cff17333fd4f8de2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/CrashLogUtil.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a0f7e9a45af297bd09ae3fe949b376d584659e220a17399d7e2aef54936e28"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/network/OkHttpExtensions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26e64a3c6fe28bdbb5e33ff27caf85225fd791baf156dcac1dac93bbe510dfe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/icons/Discord.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b3f67122c5b074704f20e015d675f0342d27780771cffa4aa293faa68fd914"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ba99133bc1453fa93aa5cbff37b4e1c239a866218a859e0d8ef3750069ff28"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/material/FloatingActionButton.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16580f0707c4808a43e779779ee16ff374d28e6692c619e80ceb9471e3d88ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/entries/manga/interactor/MangaFetchInterval.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba25da4ec36e6ab292c1a751788965950c59d853d7f9899ccc845429f8618188"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/library/manga/model/MangaLibrarySortMode.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97147cd8c7c307cf246a925b7382e0ac9a6dc81e2a2af8870d24f18df0e7584"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/track/anime/interactor/AddAnimeTracks.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e429281d934e7e24a21c15f49b3873ddbe8806f2c3f71cf56bc28712122f44ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/track/manga/interactor/AddMangaTracks.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f587b5b392f83ad69deb9407eb9bf5b34d652a1bee148e490a8cc71ee9d6d74b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/installer/PackageInstallerInstallerAnime.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e11e2422f38fcba4d546c11d758464222ffa40855b80c9259ace01f9333da93"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/suwayomi/SuwayomiApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2565b05a39e520994623919bff75f7b8915d55545e81e9ca807db5bfcbc9a70f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/network/interceptor/RateLimitInterceptor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8abbbdd6fbe2abe0317f3903d1b93deba49ecd2a2f7d4288401a7fa479f62f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/widget/BasePreferenceWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51bc6e3ddc273eefb38bed908f4c18fe30d5e5cc66f0b493944ccab092d5e86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/mangaupdates/MangaUpdates.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c5caed0d5cd94980900f41ff929debd29123d28f06f208a78b72e49fc13536"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/base/delegate/SecureActivityDelegate.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2714c9701472607f24b876a10f370a545b60d9d1ae6f6d0b03a3834ad08210"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadStore.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c33c2ee6c97d69e7b3adf63b55d810a68c6e49955148f693a8fa224f0a13b5f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/storage/DiskUtil.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6150b80e480a404063858363df87a0615e3b4f50ee97297ef7e2c9a43f3580"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/source/service/SourcePreferences.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b7d75a06e2c3245fda749e74b4fa06f13f09cbd0d62b5983d16b2b386f9374"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/onboarding/StorageStep.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de50e454bd5f55682193f163f376cb3ef908f601e796ae8064010456ae60f83a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/archive/src/main/kotlin/mihon/core/archive/EpubReader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c46412e43f62b1922b46862da695e9cb91ca658acb88ed89b10ad9f4b5f5900"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/components/TabbedDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c83caae318aa52f76927e17f16f0e3e0a4da8cdd3432e352bda2c9049986d0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73a76fdc2f59ae1f49f88a16ba5f65155e01b06a8b09ea006ee71ade219a2c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/entries/manga/model/Manga.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63433c026213a000dd0e5e7b7fa8f0e062231d8bdc406b227efdc6bb49ef2aa5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/komga/KomgaApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b310a7cf9ca839ecbdd023362134ba491b48268e4ec56be23b1cfaf453dc54"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-widget/src/main/java/tachiyomi/presentation/widget/components/manga/UpdatesMangaWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb838f22e45928015bf9b4b29d35f866a5934ef5656b98ac327ea365d521a74"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-widget/src/main/java/tachiyomi/presentation/widget/components/anime/UpdatesAnimeWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ba601629d5845b2c285865b65cc59d6698625dfdc99e7872b2b51b22d4c985"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/MangaTracker.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51118c77dfebab5abe647c53dd0a569006d77c5f08738a8cc02e360d3d5e0203"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/GreenAppleColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0874c987562144a3cafc638a844c3814da9ce2811e5e7d815bba35d6a047dbb5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/manga/MangaSourcesFilterScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff4887e89cc15ad38088f0638465f19838d635336018adc33e6ecf3349addea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5882f65fe98328add3ae00375fbc5fc94ef91fc56c0e507456cc76ec651bc9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/StrawberryColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8a961954363ef96412afa881ccd9f1eeed36b42b700f3f7b88c3ea14eb5880"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/entries/manga/model/Manga.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"063ee7b824bae1c86dd799c4751a74fc682d97dec3b014cc520725546a2d358c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/LavenderColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4151602b77b88b0fa98f63f32e5b6e148d3e163b8cbd169f9e9498bac0aa51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/CircularProgressIndicator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d920da98f9ff5c5cb8a5f83ade0b60bb82c5ca17824e596fe253df2cb9c46f47"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/material/Surface.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"392cb3d2eec32a3e0056241b33d5d8ea1fb210a8e62470606a30c7c8618d45ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/komga/Komga.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db06e5a8e8dbc39081648bb6a3fa4404839141e2710c67721709a06c21f9de63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/network/interceptor/WebViewInterceptor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a09bc882d9067707acc24ade7396d974d85181fd2b1e2e1d84fc058932bdd57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/system/WebViewUtil.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e7eb28936066fd7f300c38ff1230a2d26855c1d889ef4f40fb622e923319e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/TachiyomiColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aec8843a7bab8e4292c3082a3a76e1df6dc5ae3b85bb1e14b0555ac611760fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsSecurityScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa356a1a3eacababbabe08e762d296aeac697d97e40067b4a68367fe0493054e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/MangaBackupCreator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cb8d3a0d9597e15c66444e9cbe5ced562c5d05028aa8bba642c98b0a4ac01d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/widget/ListPreferenceWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbf7f9b96932409ecd21bcdce5ce9af644391dc91141de3af7c799e10c3b064"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/history/manga/MangaHistoryScreenModelStateProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5926e5d0b631f35ac289bdba7d8b6497fea72a696f72700ebd54c791dfcd27"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/create/creators/PreferenceBackupCreator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1880265151158626e51ccb4db01fcdf54fd2529aa967879e0ea81e21db95cf3d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/NordColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6236cea6bba18fe2c3c4af3611c715452b3a43da81cceea1fc4ef8ee09cef910"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/screens/EmptyScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"376617beeb38de7f14fc94f021acf697e68d0fce2c0adbb0791be1c35dfcc3c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/history/anime/AnimeHistoryScreenModelStateProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ee781d456b8c96d8aec7a8c8d9490b132f9bacfc2d106e89de910e4743a57b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/handlers/anime/AndroidAnimeDatabaseHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c29ec994c20d470c430b525f63ebfb02c15ae8aa62eb4ff09e12c5273994e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/AnimeMigrationFlags.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96e41d5c7f6f7c4805343e7c26f6572bd932cc665543fdd393b3360dc16231a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/download/anime/AnimeDownloadHolder.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffc79cbbf5a9e8ac5aa8848915fbef7e4c28a9db4ec2cafb756f3f9ff2f2487"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/BackupRestoreJob.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79666a7d849c8fb5e1ce6cc03a2250d2d351259d82e5cee415c2b5a4bbd7c48a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/util/Modifier.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cc1977ab307abacff630a4949192aeb859cc15d80449705b04c3f3c6265959"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/sources/MigrateMangaSourceScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"addc221d5e048947f6770c7aa47b443379faa3db0614deeff8edd67ee067d3c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/handlers/manga/AndroidMangaDatabaseHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b464ab807dd6f46913fcf80960281736de23d0f1ea51a50f918445e247fc3d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/ReaderPageActionsDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97179b396d8fdef1fa3b0abcc595155ac9b94afecbcf7f709324b69d381a25a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/storage/service/StorageManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f343cf4ac8b1af27504f67c1914121f2fd6f517ab5b6bea94815678ee9e5f3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderNavigationOverlayView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6ccd7b390f9071cb6e4e0946835ca18de10c573366a6854ff2c3f3b36707ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/manga/DeepLinkMangaScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c014d5a87b62dc370d6718559822dc46231f835a0caf40f45f16840ef04f8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/suwayomi/Suwayomi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bfce2c93c4e90b4630884e398a089b5a3b48aff053878e1ea2ee3f99305152"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/MidnightDuskColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"436abe0625e935c6150e386af18244591cb7df8e2f4d619e8d7e7ce19a9b1835"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/YotsubaColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fa73b81b4050dd1ccadbae7a1bad9fbe4b7fbcc5de72d81e3610a6f4f90823"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90ab674c83d1721cf4b5c4b156d0246b1bda4f55aa0c0c590837e5768cc5a58"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/TakoColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a30329916697f54c4c7a910e3a4b9c8081db09f2891e4f1c27fee75e7e9c3be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/system/DeviceUtil.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5397e72512270ed6df7a095d478d128c832330c28f21e1d4871cca5d19ffbca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/components/DropdownMenu.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e006a12c903241e528f7b73290249ac271d2336bc6d3cb02225ceaa841c6f3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/Pager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20516a97e88a893238e8bdd9698d02da5249f3ba0553a0a7e332f03267efb999"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/anime/DeepLinkAnimeScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a3d0ac192906c3dd422bf1b38eed8cd1c27b0045128070afd7644114f5b21f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/PreferenceScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2992d4b27677b67d742ba3b5388272acf3abd1f1fe095945a9c077337e1ca5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/TidalWaveColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77bf7ab3997ef6ef47bab62aff45a85c80921436d61a9fb0f3b46bae9b6123f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/tachiyomi/core/common/preference/InMemoryPreferenceStore.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0435f8c8c1275435622e7b53ee95a9d1b5a24969245d9111fc42237a00c26950"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/entries/manga/MangaMapper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9a6ad5d55c755de152f5061db18e60c651f17aa20bf96ead5e1e23affe1549"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/ReadingModeSelectDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bae8ed48833d9d829043f6973bc8bb3eb3c3d3352366b48368d1381f480a21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHomePreviewProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1522e6c7c8949208f0de6eb8c1145977c8f0c41ddc7c39817f42d95b06530b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/YinYangColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"608cf958481ac4a299ff3f4d590388a8a7aa8bb75fc16ebf42e6be41475a172b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/OrientationSelectDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be892ebcd22e616df0eb60f3eb98e731af7fa12824a3c194b66ad32c2519117"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonFrame.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d296840c776cb518d6d7dd5eecb48112f5224ce39aa8eb53102bbe606f55c8d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/system/NotificationExtensions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ce70474294f10b4132773b2fd58228b8c2d4a584742a1bba551f347c253f00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/TealTurqoiseColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde6309010cb3826a0cf8c2309734adec1ff839f5e2835e39ad2f70504fbd9af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/di/PreferenceModule.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f301cfec0b982e1ac105c48fc8cb94f6d22101e8fac9fd14e030c3127e8a775f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/util/Navigator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"522dae8643ca84ffe6c981f48b64a874d13fd6e0e357d1362f6a33c3883f23b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/icons/Github.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7b7bec3cbd52244d721ad93fd77af38c83809f39b1b107fc478885314b5c5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/GlobalSearchResultItems.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74697f6b5306bf0e0f55387dd363e3e58da7fc885164c666d5b33caa6c278821"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryList.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6bbbefa731d1375d82adf0019d100450faf787b5277fa8f12bfd06906f2f68"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/SaveImageNotifier.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1ef4841417ca26dad75a476159b3733074d1e88ca4a2f748b5996d5ed44160"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/utils/AniSkipApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc798d796e4fe15f219bfc70a2799719b1f388098d648ea03a9301396d3dc63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2586c52233798c89bedde0b72d08164f4aa15d3183841af36f771cd842349b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/models/BackupAnimeTracking.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cb2043e343b7de5540468c4ab99c051fefbe7f6d85139389d5b446e625e049"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ed4b0421c8aeda5b5488205b58416ecbb0e51b13d0c8c0b7b0e1373cfaeb99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/network/interceptor/SpecificHostRateLimitInterceptor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca54a1f7af0cf622fcd76e58c504ef638d365ec77d2663afd4481d4b62246df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/GlobalMangaSearchScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79cd5788ded3f88e07b415bea9201a7ae098e924beb041c065813b28353a0df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/models/BackupManga.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4f02cf6d696fc21e14682665dedd48cddd163f25e210da95a7dcaa12f76a54"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/Badges.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab7eaff2a883c2c3eb18862a74129a674c2b3fe2920026a381556a388033b8e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/models/BackupTracking.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7542395a11084c34beb1a9756747f8e1c4661c8de987d464c212e769e01d526d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"presentation-core/src/main/java/tachiyomi/presentation/core/components/LazyList.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3263bc68a576c9046340abb3c5f8409c6ca8e53899ef222d7de777fc03f814e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/NewUpdateScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6d41943f2e4a0a532acb7d657d449b4780c6ccae91fe700afbe4862be0275e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/components/AdaptiveSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf3829f8507b0759379c2fce175d921692a10b35fc2960555eed789ac0ae794"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaSearchScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"128d6fcc8099588b5acfc3ea2e579cd058dd66926212907ada24906f6d11ba26"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macrobenchmark/src/main/java/tachiyomi/macrobenchmark/StartupBenchmark.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14660142ff3f458eb4661b081caf1bc83beb740a56c542de48e2835ef52e4aec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/widget/MultiSelectListPreferenceWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30102b188f6270ea74497a75f16d702597b2f5d9eb91938a5c2457c4812f523"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/onboarding/OnboardingScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"015ad56b9292f955fa3c77e2236d5a218b80f921edf97cecbd7f633e52aef172"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/view/ViewExtensions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1730629823e255135c262249461ba6892cb8713c41c0b83f36c439b0ba89d18"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/components/ModeSelectionDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"945995253e213cc1f24075bde7b12d1ec149852a8b20452b0bbe3e545f7f2228"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryCompactGrid.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7fc119a87a73a380cfbfa4e70bfeeb75df486ed8fba744668fdd1f2728741a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/library/DeleteLibraryEntryDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5abeb4e521f461ee83ee6a174b31d91e4d72818ad51739e183cc24a245e0c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/cache/MangaCoverCache.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a384e8d89554e2c83d6f456e9e0cf765ea7eb6223b09e052013508833412d2a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/MangaMigrationFlags.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4da32561af959f53560bbc031eda24c60f3aad1501c91bd8ba8487c00f4cb3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/cache/AnimeCoverCache.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fe7b2e15c89f0362452044e4ed2d07437b43b8af4f610d6162543acb073a78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b002427df5c3ceb32df114090b53188bf55167e5cb4fcb066810ecde1b67f158"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/browse/components/manga/MangaExtensionReposScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bef42783751990ad2676fbbadbd8eb103d342f4277c86ff9cc8df65ddabccc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/setting/ReadingMode.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67a94b4956bd9c9d98a61b6cc38835c559e4f9c984615a128674c3a9641b832"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/about/OpenSourceLibraryLicenseScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ba9145ff7cc4381844884158603fe4fae8b57c7c19366cc9ec16036e96e3cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/manga/components/GlobalMangaSearchCardRow.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76662674e7d8a4db5284c3bbee91e75ae3113c81cffbbc471c417d1ffad51f47"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ReaderTransitionView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f2101a22a284f648a547d0c22584f82031425adf8006094e7e90250f89609d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/CloudflareColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0ca252b43920b2e4aa3a2aa61c5e76d9b083fc249df7fab8da727bdf373dfe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/crash/GlobalExceptionHandler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c455012b8172d965efcb2928375e225591068b78031c231918b55433cedf3116"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/release/interactor/GetApplicationRelease.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f21df4005fd2309fd0ef7c5012858a88b8e9fc85681fca52b0db37b1daeee8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/SapphireColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c828ca608419894211ac8d6787678e7f3bcf88a013b84b88bef15a4937a6f3e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/manga/MigrateMangaScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20be6f218c23af4a4f5871c62da4f9de57152c8b996144618fe709bc3df9244"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/debug/BackupSchemaScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19b1be45104fddd75b4a121370ad32135ddaf70a610fd9519d0a7702a29d024"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/manga/DeepLinkMangaScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b06dfa0d609db2e9e0358e8b59f5059ebccc4f02de162d694d80cb362143cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/deeplink/anime/DeepLinkAnimeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd87298a0b2e383ead31d8f601145285d3c7ae58be40dac7a8495583a234f14"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/MangaSourcesFilterScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefb3e4feda639351eed24feca117accdeb42ec5127196b5d18941adfedb2fc8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"542ea7a531f4e96f76ce07a4b97ba331e8b9a7928294594dc70efd61e170308d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b4cebd1dc755489fb394bacf046ee9de4e8cd26cc6f87ce3038593412f84ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/storage/CumulativeStorage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f52936dbd7982f3b1766a40e5eb404a64ae6c1cdd980fb54c99a84414c1760"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/system/DisplayExtensions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c325bb0ee0278a850782dc15f71459126658c7e6d579f71e2e329b027f28510d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/track/manga/interactor/TrackChapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a776b87df16d4d6f88b45359d5c583e50fc8c1c8709aecb162ccd8c0ba4ebb7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/updates/anime/AnimeUpdatesRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6a33ea63f5e17c0e71c5068a40477cf83dccf4877f7a80c9edfb572696d06c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/DoomColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab5aedd7bd4a50c79224a472a7e38805aa986068b7ed595025cbf077fc21db1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26b494124cfc0936fe2bff6631fbabeea2f2a98a78fe155de1cb82cd554a6bc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ViewerConfig.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c60b21c39f63d32d0a8ba40a5557e2920fa84488b8719d34c7a31ac54ced39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/manga/model/MangaDownload.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c104e3222a250481295d70f31fd2d1b4933a97a2a3c1c61fad92b2449584ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/stats/components/StatsItem.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6361c3d255c3933c24d61e8f538fdb350efea6d3246448c08ec7e5c0744c01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/GestureDetectorWithLongTap.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb8566a57aec3da8d196e4d59c3f077276777f3eb97bb3350e555fb21a63c36"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/track/anime/interactor/TrackEpisode.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10a952a7ec9c2a29d66f236970ab7ca44286ee88200de80836347d3ec9a9e4c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/CottoncandyColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7bfbb3f484af2013489f0fb24979f1e02c4da9efdd37c022e54e57068f1f57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/widget/TextPreferenceWidget.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de50fd799bdbceb07cae030644bc298ba8a77602b09f3be4128cec3337332fcc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/MatrixColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9739f25bbb863b62eee7eb395484215700e21045d0dd895d9567134055e56f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/items/episode/model/EpisodeFilter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeef4fa9799b5cf13a5415c559df01e3f992cfcbc7bb4b1157bb6ed991e13ea4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupFileValidator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceebf3073a9e3dcaab2b1e78be94e06fd3e830f792328a84a8df63b99b69932e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/settings/ReaderSettingsDialog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2349458360cdd74c3183c5e1e9be28bd7ada1a93c21390ea591d1d736d268b5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/theme/colorscheme/MochaColorScheme.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"721fc1558e9bf7ec2d680bba5a5f63a713007a4ebd334eef76ae214c4c5238cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/system/LocaleHelper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0f7376e7c455f3e9637d7e2b203742da5520485d73e7261fe189c9d7024e71"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/setting/track/TrackLoginActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"437806dac44f8673e9b898cd5c5e67c4c945887f9de3524c63f57e1267b276a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionsByType.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"423beed2e21227c693407c650d55440eafbc2ff6ce39d5e44640813225abf86c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/data/StorageInfo.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e092b77f55824bce66e0be118a13e4a959bfb609098570277cc447734f575a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/eu/kanade/tachiyomi/extension/anime/model/AnimeExtension.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5963ddc8fdbc77ccb6176596ff8d18ec19dae87494b6fdf2c5c264aab7914dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/crash/CrashScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c52bb71ee4dde9a6633b825b08ae0ca341b074ee8220a9c47941f81f50039a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/backup/models/BackupChapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedbd571e9f0b4d2427c5f8d72e722a012ffedbaf1aaace5803bb411dfe59296"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/updates/manga/MangaUpdatesRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeec4475763a0b50d3e584d7dfddbd976561bd1ce37da7908db8d7027b560bef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/DownloadPageLoader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e1dce05e8e6c88f9e05a26a7c5c728b2bbba2d27524987c94ad261d55d7680"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/webview/WebViewScreenModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac1d39f6b822da6c9513780dce00bd2942a101433c8b48b0cb6b63b65f46a4a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/reader/appbars/BottomReaderBar.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70a5ef12f9fd5595f043fb6ac25b443765e331bf9021556aeb92761d96aac5d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryItem.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"443faf41c11437fdd576311219b5f4e3075b5074c1401b62b0adab2555fa4959"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/komga/KomgaModels.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2712ad27f4f37634ba16b86275ac017c154fddb0976b2b4c8cd785194657784b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AnimeScreen.kt \u2194 MangaScreen.kt: \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt\u0060 change together 92% of the time (11 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) 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 11 shared commits counted here, the most recent 3 are \u0060111db99a\u0060 Here lies \u0022currentTab was used multiple times\u0022; \u0060dd178324\u0060 Add stable marker to Manga data class; \u00602abb7be4\u0060 Collect MangaScreen state with lifecycle \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00485f18a32ab544e6fa1e937109ff5baa9d7537589e365d90ce0bf6de1c12bf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DohProviders.kt \u2194 NetworkHelper.kt: \u0060core/common/src/main/java/eu/kanade/tachiyomi/network/DohProviders.kt\u0060 and \u0060core/common/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt\u0060 change together 91% of the time (10 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). 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 10 shared commits counted here, the most recent 3 are \u0060596f501b\u0060 feat(doh): Add LibreDNS (#1287) (at that commit the files were still \u0060core/src/main/java/eu/kanade/tachiyomi/network/DohProviders.kt\u0060 and \u0060core/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt\u0060); \u0060d12ea86b\u0060 Add shecan DoH provider (at that commit the files were still \u0060core/src/main/java/eu/kanade/tachiyomi/network/DohProviders.kt\u0060 and \u0060core/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt\u0060); \u0060d85af2fe\u0060 Add \u0022Njalla\u0022 dns provider (#7908) (at that commit the files were still \u0060app/src/main/java/eu/kanade/tachiyomi/network/DohProviders.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/network/DohProviders.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a79e4f8ed1f7bcaa0c95d83f3c1786ad5a5731ca8dc7a520bd818edf4e6fe1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TabbedScreen.kt \u2194 LibraryTabs.kt: \u0060app/src/main/java/eu/kanade/presentation/components/TabbedScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/presentation/library/components/LibraryTabs.kt\u0060 change together 67% of the time (10 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) 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 10 shared commits counted here, the most recent 3 are \u0060d59cb9c1\u0060 Migrate to M3 pull-to-refresh (#10164); \u00600af4703b\u0060 Migrate to standard M3 TabIndicator; \u0060d7d7a6d2\u0060 Revert Compose update \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/components/TabbedScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4e4358a20da234eed6cdf4aa68758592d3dc55b6ae7c56276790f6244ceaa4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PlayerSettingsPlayerScreen.kt \u2194 PlayerActivity.kt: \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsPlayerScreen.kt\u0060 and \u0060app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerActivity.kt\u0060 change together 53% of the time (9 of the 17 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 9 shared commits counted here, the most recent 3 are \u00603ac6ce7b\u0060 feat(player): Use timestamps provided by extensions (#1983); \u0060136fb548\u0060 feat(player): Implement video hosters (#1892); \u0060a48a9f41\u0060 feat: Hide the skip intro button if the skipped amount == 0 (#1598) (at that commit the file was still \u0060app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsPlayerScreen.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsPlayerScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdeca5880aa42957ee01e68a11d21e33756c0c05607f8c1678b5bec85853aec"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: :domain (Domain) \u2192 :source-api (Web): \u0060:domain\u0060 is a Domain project but references \u0060:source-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e09d588ec6ba97742bb8d38d7f6de22c3b45525ff8eb5697f90b01cc90d88352"}},{"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":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 1425 JVM production file(s) this check read across 12 module(s). Each was searched for its ecosystem\u0027s logging libraries (JVM: SLF4J, Log4j2, java.util.logging, Logback, kotlin-logging, scala-logging) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build_pull_request.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060withAnimeTransaction\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"81401c856fb8f6b2eb11fc7cc68072427128ed2fdf2881c3b392f31c2a7d7362"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060acquireTransactionThread\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/handlers/anime/AnimeTransactionContext.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd75ac2baa15af258472246dabe337c73a61e8c987b8ce86bd1893a5603c625"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060withMangaTransaction\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/handlers/manga/MangaTransactionContext.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9530532fcc53742f05898c615fb0cf32091c4c37d85245e25bdcd9da453bcf0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060acquireTransactionThread\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/tachiyomi/data/handlers/manga/MangaTransactionContext.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d280bda4ce781243e7f339c275d2515619a4e4083f4d0e61eea798862c1d556"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!artist.isNullOrBlank() \u0026\u0026 author != artist\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt, app/src/main/java/eu/kanade/presentation/entries/manga/components/MangaInfoHeader.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":"app/src/main/java/eu/kanade/presentation/entries/anime/components/AnimeInfoHeader.kt"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b06f6a535256c156792e52acbb2fd6f513e57e5ef2b9cc151ae2218a6e29f98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!config.volumeKeysEnabled || activity.viewModel.state.value.menuVisible\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt, app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c579423ed3938bfecb16af32fffe1ee9e8e52cd91cf4060cbae5366b7140ad91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!hideInLibraryItems || !it.value.favorite\u0060 appears character-identically in 3 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/season/MigrateSeasonSelectScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/anime/season/MigrateSeasonSelectScreenModel.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"055ebc5d4c64239814ccb2aa0fa9aee682ae2b62fa864fa1603325df1840864e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!installGranted \u0026\u0026 state.installer?.requiresSystemPermission == true\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt, app/src/main/java/eu/kanade/presentation/browse/manga/MangaExtensionsScreen.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":"app/src/main/java/eu/kanade/presentation/browse/anime/AnimeExtensionsScreen.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf71c928089aa82694ddaf809d5246806168e5b0fb1e3d4c5c18ca597873796a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isFavorited \u0026\u0026 !successState.hasPromptedToAddBefore\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0a8cb314c2b513f743c4f8490faf69f2032d807137d91be2a22c352e78768e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isFirstItemVisible || isFirstItemScrolled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt, app/src/main/java/eu/kanade/presentation/entries/manga/MangaScreen.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":"app/src/main/java/eu/kanade/presentation/entries/anime/AnimeScreen.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13b1cfbd93165c11e14ef2d5900217e9ae2256d5e7e65585f70bc3d9f38142b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isStopped \u0026\u0026 downloadManager.isRunning \u0026\u0026 networkCheck\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt, app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3dd156dd02212237fd2f79a9a6834e3c3998b776c33ba5ba3bc898be80c405"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!onlyShowHasResults || (this is Success \u0026\u0026 !this.isEmpty)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/MangaSearchScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"312fe19c87cb66d2f410371c087e9b959cccc9b470583fb68c3f2c2f278bb3f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!response.isSuccessful \u0026\u0026 response.code != HTTP_NOT_MODIFIED\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt, app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945163f77302491f01c36cbaf5d2da24e17fdcab25ff8160008e8c1ea09d3f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.isUserQuery \u0026\u0026 state.toolbarQuery != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreen.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreen.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6ff1942ba9edfc574e884c66aba54988196cbdfb2985b6f7f7ca2d479106dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(DEVICE_ONLY_ON_WIFI in restrictions) \u0026\u0026 !context.isConnectedToWifi()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt, app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32e23ed7b3ec6cd455a1edd05f55441545cf6fd96304d88b7d587072a017a02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(selectedItem.selected \u0026\u0026 selected) || (!selectedItem.selected \u0026\u0026 !selected)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e4c0d697bd102cefed89129d64efc54606636a5b6808b59ae27ece74d5da00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DeviceUtil.isMiui \u0026\u0026 DeviceUtil.isMiuiOptimizationDisabled()\u0060 appears character-identically in 3 files \u2014 app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDataScreen.kt, app/src/main/java/eu/kanade/presentation/more/settings/screen/data/CreateBackupScreen.kt, app/src/main/java/eu/kanade/presentation/more/settings/screen/data/RestoreBackupScreen.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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsDataScreen.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c2696856f8e26f4ab6a70dd2fc4e5e789e7014cab2fa4dc9894306ba1bf488"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activity.viewModel.state.value.menuVisible || config.longTapEnabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt, app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58b1f4c4b4f9dc90400ad789ff6e9e3a236a9defad6206dd80cd4696329c470"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060animeList.loadState.refresh is LoadState.Loading || animeList.loadState.append is LoadState.Loading\u0060 appears character-identically in 3 files \u2014 app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt, app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceCompactGrid.kt, app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceList.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":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeSourceComfortableGrid.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff8a7d7349ae2bb0b269132cca4592a364eb36d96071d22efacc241a605446f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060availSpace != -1L \u0026\u0026 availSpace \u003C MIN_DISK_SPACE\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt, app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"2741375c6c55317564162b95c250edaa865fc52ea934c444f4fa556cdb9773fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060availableExt == null \u0026\u0026 !extension.isObsolete\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt, app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"190c210e74d93a322ef6b30d377f265fe2e694ec666a03db788b48bced05fbfa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060availableExt.versionCode \u003E versionCode || availableExt.libVersion \u003E libVersion\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt, app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb4075512976621821ee6db9f48266c4689593a9853298c7cef847db7c23c48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060beforeDate != afterDate \u0026\u0026 afterDate != null\u0060 appears character-identically in 6 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dda0ad93272641d196b61d19a3b486d12563b6c4623d13a9d1967e1ea9706a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cacheFile == null || !options.diskCachePolicy.writeEnabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt, app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"474501a67635dd5aae7077215c374b4b5797c0764966c7402c576c1eeda4b334"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060category != null \u0026\u0026 preferences.categorizedDisplaySettings().get()\u0060 appears character-identically in 2 files \u2014 domain/src/main/java/tachiyomi/domain/category/anime/interactor/SetSortModeForAnimeCategory.kt, domain/src/main/java/tachiyomi/domain/category/manga/interactor/SetSortModeForMangaCategory.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":"domain/src/main/java/tachiyomi/domain/category/anime/interactor/SetSortModeForAnimeCategory.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e30f26d19c6b2a50ab29678aad4cff69fa07151720948181d2e5be0283c48c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.navigationOverlayOnStart || config.forceNavigationOverlay\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt, app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faa28285d0ebfc336863a715b8cce93e62c6598b4bf44c0c3f3701e6df594f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cover.startsWith(\u0022/\u0022) || cover.startsWith(\u0022file://\u0022)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt, app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d059ba966687350eeb91bcc496e15c06ba7ad86a7fcd2fcd8e10dfd5638d7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cover.startsWith(\u0022http\u0022, true) || cover.startsWith(\u0022Custom-\u0022, true)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt, app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb9baa1918b0240530c01578d57ca981a06dc45179bf85ee91bb45c2827a12f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d1 == LAST_USED_KEY \u0026\u0026 d2 != LAST_USED_KEY\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/MangaSourcesScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesScreenModel.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"291de05d6c291b50ca2437ae19d08c9cef3e01a364a1ae0eaa931bd517d8043a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d2 == LAST_USED_KEY \u0026\u0026 d1 != LAST_USED_KEY\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/MangaSourcesScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/AnimeSourcesScreenModel.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bd515c24de58b5c40b626819831a5b3beae0b8323f7c96eaf075d7a150d839"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.trackedTitleCount \u003E 0 \u0026\u0026 !data.meanScore.isNaN()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt, app/src/main/java/eu/kanade/presentation/more/stats/MangaStatsScreenContent.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":"app/src/main/java/eu/kanade/presentation/more/stats/AnimeStatsScreenContent.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75160dce3b7d8646664d714e9afa745cb1d78231c3c34f14c55329c920a86ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultCategoryId == 0 || categories.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"600ead4a93f20a40626dc3639f882ecea305326f87bccdb3c8cc64d039652b66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultCategoryId == 0L || categories.isEmpty()\u0060 appears character-identically in 4 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/history/anime/AnimeHistoryScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/history/manga/MangaHistoryScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daf32b2468e8335dde62c960627eaa6bf78125c62ce926f2405a4c54a451f0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060delta \u003C 0 \u0026\u0026 source == NestedScrollSource.UserInput\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/player/components/PlayerSheet.kt, presentation-core/src/main/java/tachiyomi/presentation/core/components/AdaptiveSheet.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":"app/src/main/java/eu/kanade/presentation/player/components/PlayerSheet.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"60502e22b5236a2447fc7589976f056305adce7691fd46d1ef95aa97fb195004"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060downloadStatus == DownloadManager.STATUS_SUCCESSFUL || downloadStatus == DownloadManager.STATUS_FAILED\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt, app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstaller.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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstaller.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcf2be6343ee6553941144b62c2bf849615a1eee7b23408e06093b375c5f4c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exception != null \u0026\u0026 exception !is CancellationException\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt, app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73a1122420f8e0b2a743a8a3aac2c950fee86dfb745ea70e9348f1a98b28ed7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fromAvailableExtensionList \u0026\u0026 Instant.now().toEpochMilli() \u003C lastExtCheck.get() \u002B 1.days.inWholeMilliseconds\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/extension/anime/api/AnimeExtensionApi.kt, app/src/main/java/eu/kanade/tachiyomi/extension/manga/api/MangaExtensionApi.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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/api/AnimeExtensionApi.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c78e35aa03cbbfeffce20458243ef4d6c19f63b106e3514bd3d8abf36675c62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasOneActiveLanguages \u0026\u0026 !isInEnabledLanguages\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/source/anime/AnimeSourceExtensions.kt, app/src/main/java/eu/kanade/tachiyomi/source/manga/MangaSourceExtensions.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":"app/src/main/java/eu/kanade/tachiyomi/source/anime/AnimeSourceExtensions.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c49906797334fe426d58f7a0906b8fc031d28c144329c1f21541446f612b01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasOneActiveLanguages \u0026\u0026 isInEnabledLanguages\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/source/anime/AnimeSourceExtensions.kt, app/src/main/java/eu/kanade/tachiyomi/source/manga/MangaSourceExtensions.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":"app/src/main/java/eu/kanade/tachiyomi/source/anime/AnimeSourceExtensions.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"97492587d22a7ee8da2dbdf97148e20ddd4f23a129596ed696da69b40e4f17d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ignoreResult \u0026\u0026 System.nanoTime() \u003C ignoreUntil\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt, app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallActivity.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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallActivity.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9b20029ae88d2d7381ec1893feb1b0647be744b31548d1b9173a89a32ffbbb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inPreloadRange \u0026\u0026 allowPreload \u0026\u0026 page.chapter == adapter.currentChapter\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt, app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonViewer.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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewer.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c09d2724c910c08f3bf949ae45331e4cf169bc90de9eac13cc0ce5242603720"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060includedCategories.isEmpty() \u0026\u0026 excludedCategories.isEmpty()\u0060 appears character-identically in 2 files \u2014 domain/src/main/java/mihon/domain/items/chapter/interactor/FilterChaptersForDownload.kt, domain/src/main/java/mihon/domain/items/episode/interactor/FilterEpisodesForDownload.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":"domain/src/main/java/mihon/domain/items/chapter/interactor/FilterChaptersForDownload.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f839f768fcdf002486f654b6038f1c76979e66bf1a0f5de4ab25913bd9fdca96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060includedTracks.isEmpty() \u0026\u0026 excludedTracks.isEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce5ba299532f5b69b8b9839c41da35852c73ee1f4a6a33e1457ae2ef69ea049"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060incognito || (extensionPackage in incognitoExtensions)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeIncognitoState.kt, app/src/main/java/eu/kanade/domain/source/manga/interactor/GetMangaIncognitoState.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":"app/src/main/java/eu/kanade/domain/source/anime/interactor/GetAnimeIncognitoState.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfe7d6330c26c8ad46f38196896b16359d8f79b088b7b2d3cd6add1bd0f6561"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initialQuery.isNotBlank() || !initialExtensionFilter.isNullOrBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/GlobalAnimeSearchScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/GlobalMangaSearchScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/GlobalAnimeSearchScreenModel.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"30767aa0b5f6c8f58e427b6f45ea88794c396f4e8bf369afcc7846ebd3df2cb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060installed.isNotEmpty() || untrusted.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/MangaExtensionsScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsScreenModel.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bb754d2bf5227ff09e440d0b4c359ca19eac18fabde4c993494a6b7c952b78"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isMultiSource \u0026\u0026 !isMultiLangSingleSource\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionSources.kt, app/src/main/java/eu/kanade/domain/extension/manga/interactor/GetMangaExtensionSources.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":"app/src/main/java/eu/kanade/domain/extension/anime/interactor/GetAnimeExtensionSources.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf5b4498ee34f1ab53c33c2f4fd731eee1444fdb990a3dfe2da6c3e6788ea4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isNotLoggedInAnyTrack || trackFiltersIsIgnored\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryScreenModel.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a227c36d9fc877c766262bd48871a69608e6b8d6ac1b4974043cd984a45bb72f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it != deviceLanguage \u0026\u0026 it.startsWith(deviceLanguage)\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt, app/src/main/java/eu/kanade/tachiyomi/extension/manga/MangaExtensionManager.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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/AnimeExtensionManager.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b6502fd634b699b994e76c5cf7737cbfb6d3638e56084181bc74afda4e362e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.extension == \u0022json\u0022 \u0026\u0026 it.nameWithoutExtension == \u0022details\u0022\u0060 appears character-identically in 2 files \u2014 source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt, source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/manga/LocalMangaSource.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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee5f8e4be32f2825f45b71843fa286e0d9c4a7dcd25b83a1e2804d9c31f8859"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isDirectory \u0026\u0026 !it.name.isNullOrBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt, app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a1e22430d9bce05f7d764ab7b429bbdc9f942bced4795ba5c4b41326bbaa14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isDirectory \u0026\u0026 !it.name.orEmpty().startsWith(\u0027.\u0027)\u0060 appears character-identically in 2 files \u2014 source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt, source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/manga/LocalMangaSource.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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"de28209ddb2d44daacb8044e9c59d81425d25ce3b057f938bee1beef3e79a43b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isFile \u0026\u0026 it.extension == PRIVATE_EXTENSION_EXTENSION\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt, app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionLoader.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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionLoader.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1386ba885af14e364d79365044bb315f4d0e4f41fa92080cb7311075c61517fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isFile \u0026\u0026 it.nameWithoutExtension.equals(\u0022cover\u0022, ignoreCase = true)\u0060 appears character-identically in 2 files \u2014 source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeCoverManager.kt, source-local/src/androidMain/kotlin/tachiyomi/source/local/image/manga/LocalMangaCoverManager.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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/image/anime/LocalAnimeCoverManager.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eff60fee224c431576abf563bd5496cbd2e19c3b949b53fddafaf2d2153df22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.lang in enabledLanguages \u0026\u0026 \u0022${it.id}\u0022 !in disabledSources\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/MangaSearchScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29375cba2ec5be2e0826b8cbe2669b0fd0744eb7ab6b36760e1478af96828d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.name.contains(input, ignoreCase = true) || it.baseUrl.contains(input, ignoreCase = true) || it.id == input.toLongOrNull()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/MangaExtensionsScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/AnimeExtensionsScreenModel.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"031b14e9e6dfcdc8b6cc69d470bc0f090b69434fc783b6198f7602947164222e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastModifiedLimit == 0L \u0026\u0026 query.isBlank()\u0060 appears character-identically in 2 files \u2014 source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt, source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/manga/LocalMangaSource.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":"source-local/src/androidMain/kotlin/tachiyomi/source/local/entries/anime/LocalAnimeSource.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c62967b6b0ba127cb7730cbc41e29794f16b002dd3476171e548d8138897d06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastRenew \u002B renewInterval \u003E= System.currentTimeMillis() || renewalJob?.isActive == true\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt, app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadCache.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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadCache.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df187c4aa003aac04f8876e2a6d21973ea936c6eadd6a2ca80aa2ab7f53a83a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060libraryCoverCacheFile?.exists() == true \u0026\u0026 options.diskCachePolicy.readEnabled\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt, app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd7b790cd80870402cc19425769f219b78eaea556f158ec7079483dd286b216"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listing is Listing.Search \u0026\u0026 !listing.query.isNullOrEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/browse/BrowseMangaSourceScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/browse/BrowseAnimeSourceScreenModel.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"e509b4892a2fbe1ee74bbaee63663b6caec3aa392fcf636549eb29a0f34a7b62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060locale.isO3Language == locale.language \u0026\u0026 locale.language == locale.getDisplayName(Locale.ENGLISH)\u0060 appears character-identically in 3 files \u2014 app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsAudioScreen.kt, app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsSubtitleScreen.kt, app/src/main/java/mihon/core/migration/migrations/PrefLangMigration.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":"app/src/main/java/eu/kanade/presentation/more/settings/screen/player/PlayerSettingsAudioScreen.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5988f5245bc771cdb441930506b83406d7d4e99b7c964ea592a5242637cd55c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mangaList.loadState.refresh is LoadState.Loading || mangaList.loadState.append is LoadState.Loading\u0060 appears character-identically in 3 files \u2014 app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceComfortableGrid.kt, app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceCompactGrid.kt, app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceList.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":"app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaSourceComfortableGrid.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f58022fb6bb4a46bb80171e33adabac1c06045d4dcffe9132ed0ac1dcba8e2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060manualFetch || anime.fetchInterval == 0 || anime.nextUpdate \u003C fetchWindow.first\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/domain/entries/anime/interactor/SyncSeasonsWithSource.kt, app/src/main/java/eu/kanade/domain/items/episode/interactor/SyncEpisodesWithSource.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":"app/src/main/java/eu/kanade/domain/entries/anime/interactor/SyncSeasonsWithSource.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdb818bd9833317a10e2fa5dd8e616aacd25a0e576038117805bfd28f360145"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name == other.name \u0026\u0026 state == other.state\u0060 appears character-identically in 2 files \u2014 source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/AnimeFilter.kt, source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/model/Filter.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":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/model/AnimeFilter.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6937e07bb4f4631cc479c5c9f2dc56455afde49eb007948c5e8f30a942c594"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060networkCheck \u0026\u0026 downloadManager.downloaderStart()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt, app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadJob.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":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadJob.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe603c2ece4c6c406fff43fcbed19fe0cd02b8760a44cf1fd28e99aac882b35"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nextHasMissingChapters || forceTransition || chapters.nextChapter?.state !is ReaderChapter.State.Loaded\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt, app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonAdapter.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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b1c1c0c31671245e010e12c89df87ae10f366deec4217fcab49f45dd9b2116"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060onClickContinueReading != null \u0026\u0026 libraryItem.unreadCount \u003E 0\u0060 appears character-identically in 3 files \u2014 app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt, app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryCompactGrid.kt, app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryList.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":"app/src/main/java/eu/kanade/presentation/library/manga/MangaLibraryComfortableGrid.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f555e7c5e1286bf513bd609fc2674429699763ca749fb76288654a72001bba52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060onClickContinueWatching != null \u0026\u0026 libraryItem.unseenCount \u003E 0\u0060 appears character-identically in 3 files \u2014 app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt, app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryCompactGrid.kt, app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryList.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":"app/src/main/java/eu/kanade/presentation/library/anime/AnimeLibraryComfortableGrid.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fd38dfbfb8e7d49db07925aee30dc06a0b55c1e1d66bbb25718a0e2a4f6926"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060onStartDateClick != null \u0026\u0026 onEndDateClick != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt, app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8020c4672c5cb1c35b468fe2ec1db9f372ef834378b9de61008f433104ecd5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other == null || javaClass != other.javaClass\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/database/models/anime/EpisodeImpl.kt, app/src/main/java/eu/kanade/tachiyomi/data/database/models/manga/ChapterImpl.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":"app/src/main/java/eu/kanade/tachiyomi/data/database/models/anime/EpisodeImpl.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb27323f7feea14dc506415c43742a24c71f110d84fb5cc2345be4f4d3e2662d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pref is DialogPreference \u0026\u0026 pref.dialogTitle.isNullOrEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/extension/details/MangaSourcePreferencesScreen.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/extension/details/AnimeSourcePreferencesScreen.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"47685cc1fe81fb21ff623e6a919713c36352d8d1ecf7ce84907aab726224b1fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prevHasMissingChapters || forceTransition || chapters.prevChapter?.state !is ReaderChapter.State.Loaded\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt, app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonAdapter.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":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerViewerAdapter.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"901afec88de022f1022fb215dbedeb28a7b4e356ebfde86ab460ffa54e9541f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060removeAfterSeenSlots != -1 \u0026\u0026 episodeToDelete != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/player/ExternalIntents.kt, app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/player/ExternalIntents.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0ef2b404cb914783b2af7bb253358f401c30d259047f3665fd561e325658f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolvedVideo == null || resolvedVideo.videoUrl.isEmpty()\u0060 appears character-identically in 3 files \u2014 app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt, app/src/main/java/eu/kanade/tachiyomi/ui/player/ExternalIntents.kt, app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.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":"app/src/main/java/eu/kanade/presentation/entries/anime/EpisodeOptionsDialogScreen.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c852b5a34b4088297756c19819acab100a68d680e38e27e3a539c6a30bc5bfac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result == SnackbarResult.ActionPerformed \u0026\u0026 !isFavorited\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27d38b433b7882cf0f56af450018592ed21c86729138e1661c3de55ff3ab183"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sameQuery \u0026\u0026 this.lastSourceFilter == sourceFilter\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/MangaSearchScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/AnimeSearchScreenModel.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc45cfd67cb820dcd2292edf8b72185e7ba576b2cc1f9ac9943afa6fbba4b57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060screenModel.autoOpenTrack \u0026\u0026 screenModel.isFromChangeCategory\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt, app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"32468abde9d82f917de8ce17f6c1ccc6e64f7b1392e4f32de226bc1064a90f2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060searchQuery.isNotEmpty() \u0026\u0026 !extensionFilter.isNullOrEmpty() \u0026\u0026 state.total == 1\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/GlobalAnimeSearchScreen.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/GlobalMangaSearchScreen.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/GlobalAnimeSearchScreen.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96fe167e8547372456d26dbc7c451ab1b631cf22adeb2145731618e75e299e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selected \u0026\u0026 userSelected \u0026\u0026 fromLongPress\u0060 appears character-identically in 4 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/updates/anime/AnimeUpdatesScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/updates/manga/MangaUpdatesScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreenModel.kt"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"45df3036b575bae33ba8173bec919a1a64baf28edffe17df3aec51e0c79d6e6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.searchQuery.isNullOrEmpty() \u0026\u0026 !state.hasActiveFilters \u0026\u0026 state.isLibraryEmpty\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt, app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebda8e9019358146b06e973e14458026608df60404af9b5d097f5502d08f9e81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.selectionMode || state.searchQuery != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt, app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a93192c0513dade6e0f909c5fc73475c5a5233a4ba280a874ccbd25d24673c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.showCategoryTabs \u0026\u0026 state.categories.size \u003E 1\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt, app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02ea603a269d6bd94894f4e84b1c374b24444a4bf0831bc698c2412f5e16379"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.showCategoryTabs || !state.searchQuery.isNullOrEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt, app/src/main/java/eu/kanade/tachiyomi/ui/library/manga/MangaLibraryTab.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":"app/src/main/java/eu/kanade/tachiyomi/ui/library/anime/AnimeLibraryTab.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9061b53301cfcffb46d8e09a7b7a1c161dba5c85b187fc2050184931a51d9cf9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.value.sourceFilter != AnimeSourceFilter.PinnedOnly || \u0022${it.id}\u0022 in pinnedSources\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeSearchScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/source/globalsearch/GlobalAnimeSearchScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/anime/migration/search/MigrateAnimeSearchScreenModel.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e06aa3beac90e1b8d0664395e30bb7bee00c51245683b9551f23fe3ea9916e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.value.sourceFilter != MangaSourceFilter.PinnedOnly || \u0022${it.id}\u0022 in pinnedSources\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaSearchScreenModel.kt, app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/source/globalsearch/GlobalMangaSearchScreenModel.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":"app/src/main/java/eu/kanade/tachiyomi/ui/browse/manga/migration/search/MigrateMangaSearchScreenModel.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f7633a57a98d1ab8b78102a79a9e18f3655de35d0169630cb10d678947b379"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supportsReadingDates \u0026\u0026 item.track.finishDate != 0L\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt, app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"000203f6c8b36be20873d15aad3bda81de08cc6e5ed9e64b2e3c7827a956161a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supportsReadingDates \u0026\u0026 item.track.startDate != 0L\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt, app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47cf4762bbc0126a375df1d27f53647b4248f45666d0ebb81b9cb41b37d6d7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supportsScoring \u0026\u0026 item.track.score != 0.0\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt, app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackInfoDialogHome.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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackInfoDialogHome.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d52f48ac1c8bec49cb3e827dd56d3d69f72dd6c18c1514197d4374aca2d7f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toFling \u003C 0 \u0026\u0026 offset \u003E anchors.minPosition()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/player/components/PlayerSheet.kt, presentation-core/src/main/java/tachiyomi/presentation/core/components/AdaptiveSheet.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":"app/src/main/java/eu/kanade/presentation/player/components/PlayerSheet.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"144de3dc6f79f079a55593e7c8141e099467b308523378fb51a4ed503b06744a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060track.last_chapter_read.toLong() == track.total_chapters \u0026\u0026 track.total_chapters \u003E 0\u0060 appears character-identically in 8 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt, app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt, app/src/main/java/eu/kanade/tachiyomi/data/track/kavita/Kavita.kt, app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cadb7dec11a947c5f7bbaa5b66b19608aafa201f24fe95330a99ce00fce310"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060track.last_episode_seen.toLong() == track.total_episodes \u0026\u0026 track.total_episodes \u003E 0\u0060 appears character-identically in 6 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt, app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt, app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt, app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.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":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbaa813a8e75e63828f7f04eebf7e481864f6732d3561c71af2b9fa8280fe64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trackSearch.authors.isNotEmpty() || trackSearch.artists.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt, app/src/main/java/eu/kanade/presentation/track/manga/MangaTrackerSearch.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":"app/src/main/java/eu/kanade/presentation/track/anime/AnimeTrackerSearch.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10e9bd8ca378531419258bb0d769e9a9b4687882ee6ba027c7998abbded2fbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060updates.size == 1 \u0026\u0026 !securityPreferences.hideNotificationContent().get()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt, app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateNotifier.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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateNotifier.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c6450bdee78755d130e2f649549ed8a50810b4654a9295320baf572ed9231b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060uri == null || id == null || installerUsed == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt, app/src/main/java/eu/kanade/tachiyomi/extension/manga/util/MangaExtensionInstallService.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":"app/src/main/java/eu/kanade/tachiyomi/extension/anime/util/AnimeExtensionInstallService.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e06d6ffcf5a32e9b9698fb744961ac793c5cc3623e3ae8f749d12697876f83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.first == 0L \u0026\u0026 window.second == 0L\u0060 appears character-identically in 2 files \u2014 domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt, domain/src/main/java/tachiyomi/domain/entries/manga/interactor/MangaFetchInterval.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":"domain/src/main/java/tachiyomi/domain/entries/anime/interactor/AnimeFetchInterval.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb94f7c0fe3ed0edcf221844c4762ef308b2c8a0343b88c05e01e95c9bcce93"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 91/95 suspend functions that make a cancellable request (Ktor, OkHttp newCall, URL streams) accept the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. In a suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97a0137a13dc63b0e07ec4e232770b687c26a8a2030f49787e45a4506416c527"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getImageTile: \u0060getImageTile\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/animesource/online/AnimeHttpSource.kt"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"42eb00db982eb86a0c7c7b9ac4a33b850c0dde6fe2aad06a207b23fab5b3aa18"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getAlIdFromMal: \u0060getAlIdFromMal\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/AniChartApi.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2109115288540b2182ec12a0c32c9247e793065bd117bbaffca61929b4a87467"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getAnilistAiringEpisodeData: \u0060getAnilistAiringEpisodeData\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/AniChartApi.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"955dcb7b60085c6762d36d466922e4c82a61cd0e6abd83a62dde66ffd10b5b45"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getSimklAiringEpisodeData: \u0060getSimklAiringEpisodeData\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/AniChartApi.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9c23bdbc49aa60c7f6b06e08c3c940dba86c9f59dcd29a438170fb0af54ff2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/library/manga/model/MangaLibrarySortMode.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef4191d43b8d3d059b23079a5fb4765b39f85741d3691cc369cfc2139215531"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/library/anime/model/AnimeLibrarySortMode.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"889c9dbc455f69ebdc28e7cbc0c90c83bd1695f13e9042678ca78a73e1c6bca4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/items/episode/interactor/GetEpisodeByUrlAndAnimeId.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c39d7379b06a5c561178b63b13dbba6a18e873bb137cb90a263b252f560896"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"domain/src/main/java/tachiyomi/domain/items/chapter/interactor/GetChapterByUrlAndMangaId.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0ced4cfdda49444238fbe20584b9cb91bf7f3517e8b8e29aa91cce9c869a8a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/src/main/java/mihon/data/extension/anime/service/AnimeExtensionStoreService.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"082801caf8d036def9d3a8b97169bbec22408a8e602a8b26ee0b4c332a027f7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/tachiyomi/core/common/util/system/ImageUtil.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2fd7edb7a389523da770dbf44cce29afcc038034dbb9f1b35a02c67d3c4f32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/tachiyomi/core/common/util/system/ImageUtil.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb13056e931e30f0da8f8a374c0d90fe5c610c7bc6226ea0e831b1464fdba0f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/tachiyomi/core/common/preference/AndroidPreference.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d3eff9bbb5bc1456014e378cb9f1a442bd97e5158ceed47ab0b78e8d4c4283"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/system/DeviceUtil.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd8aed2a147dab3ceb9a4b01707f3caa6558836bc091f4b66517d13799b85ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/system/DeviceUtil.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"34086f12dd75247f30d7b1c8d70d0c4a8b7126226ad256595b592fac0bc12980"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/storage/DiskUtil.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc7696883d227cd31103c60b2acd08a843801f43235bbc68f78ed85bbe49bed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/storage/DiskUtil.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fd4855e397e8fd7bd99521ba6543d0af41f02ef09751a427f02bd34fc9d194"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/storage/DiskUtil.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce16f83955079b4c5e3bfa10924223b6a94268eac523feb809cef689b33020dd"}},{"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":"core/common/src/main/java/eu/kanade/tachiyomi/network/OkHttpExtensions.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf2ce82060a127bbb19963eb0df3f4c97578b58b5082a4e415f53aab955f65a"}},{"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":"app/src/main/java/eu/kanade/tachiyomi/App.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a27c7e89b6dd00391bd006dd1a022a876ce00a805ff02be1de4debbe44ffb9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/AniChartApi.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f2e03794efbf0a9805a24bf518fb3f05b7f05fdf9c58349de12a834e4b5588"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"c565fdca2f657da0a3167c9236608c52fc37eeea543fddfffdbebab290846b85"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"2178a4821e257311620365274c3689eb2d8edf5d187571d2a15ee8b1199d46dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/utils/AniSkipApi.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1cdcd31231e115b5a2bd2b85c796488115f236c4b6cba3e1d649312eb73ee9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/utils/AniSkipApi.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc7d72e2ccdec8bcb5dffc92fcc0666434d06cd331e58a5bcbcd1124763e2f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/manga/MangaScreen.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f27647a965738488f0389accba68180ab9ec5951e48395115182e1204d460a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/entries/anime/AnimeScreen.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b03037234cbad7f445ff18ebf48e030da5fa3a0224f62faaa327b26320baf6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/suwayomi/Suwayomi.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7883eb5a2e68104823ccee494bc4d07c3d47258c7b9240af0d51919df10c5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/simkl/Simkl.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"553669d0a97acccec59410b79637b9fcecc63c9d2ed0fac957d4dba31f756b9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf568facfca19c7937fe56cc1c4d97f60c1e005325c037326649dd66b79d7f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24fe93d66f82d2f4c8985b90f0873daeba117b37c1d6a48dae5815dedc92329"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"46acefbe3fb5a302112cc00ae2b5751a9dc736ed2d594b85c18f74a6fefda0f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/mangaupdates/MangaUpdatesApi.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a53cb34b34cc23587d4ea9e3cf83ad972f808eea9f23c2a0064ea30040bc08f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/komga/Komga.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5381c28f43c7c46102806cd3fb515f8b48d6c4c8b07dce01338da7ebc1968126"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05e6e51e3a5aa09c30f1236151c52eebb2dab414056dd2b2e01221bc1e476e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/kavita/Kavita.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4530cc5ff661108275ca67817bb695a823f7f68a34e24de8deb7d1deacd39a5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/jellyfin/Jellyfin.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50650601d241ca09bb3deb186c0766952e9eb907dbab468dd5d7e7810e8e8a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9827802131f8d24d59b0c22dba49597840c06b5a5e42331a858c5ba58fce2d3b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb37f4034d16cdc41df5a11242ba131903dcac48d19f39a2a4ec3ea8a5785bd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALFuzzyDate.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"783b11ed092e9d091608140ef4887d8e7ab07c55c50d1b91170172d8065185c3"}},{"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":"app/src/main/java/eu/kanade/tachiyomi/data/library/manga/MangaLibraryUpdateJob.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a176df1620caed926eccd3b69ff98d237bd4fefecedb7284f375acfa4c8fe7"}},{"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":"app/src/main/java/eu/kanade/tachiyomi/data/library/anime/AnimeLibraryUpdateJob.kt"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca182fa816dda24f63f82c2e119be7aa35fa4d81993c8eaed0e200b3b66d68f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadPendingDeleter.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf883ca87829a0571ee212440e7fe841f871169a5dfd23d0cc78859709852ca4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloadStore.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"616fb6e24e45ec3598dc350a55748f9c4e23b5ac3d0ee0444596a3bc110ac830"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Throwable)\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":"app/src/main/java/eu/kanade/tachiyomi/data/download/manga/MangaDownloader.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3a1c51cbe00a72b55bf8da54ba38bd84ec6e2c56910650535ace669f54f188"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadPendingDeleter.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a7f44e35878f43265e37554ab9a7f4f9cf6ea93bd034cf88fb510d4d759af1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloadStore.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a12a89a382063d321c9eff1cf75d479c5466540d38ef2279e88171afc9240f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/download/anime/AnimeDownloader.kt"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47e3c62fc741f232083d1fa405aee3a4af946e263794b0e6c49a47798118511"}},{"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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/AnimeImageFetcher.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"493e10b8398ba5a22849e543c0423b581cfa7be5bfeba2eb3aaf4a11af5a8de7"}},{"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":"app/src/main/java/eu/kanade/tachiyomi/data/coil/MangaCoverFetcher.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fb8aecd9e7d600d5ec8984c2757c459a42c52ab35f3e6cd9818ff8948c5915"}},{"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":"app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/BackupRestorer.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"486f06462b7f35ad911642ba6ce07386337a92eac641216b1aca3a354f3e112d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/more/settings/screen/about/AboutScreen.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9d196654802fbe54e5f6080fea368fe900f05cad9905072ad3f265bfd7afbf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/manga/components/BrowseMangaIcons.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef9459b405c68ae8461681c6161b5d073a2a1ea72ebed64d11ca0a55743a783"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/presentation/browse/anime/components/BrowseAnimeIcons.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abddc1f7f083af5057440cfa68ebac2ff557915ce1e8797d5bb31c5eaf9231b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060toEpochMilli\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/dto/ALFuzzyDate.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e060d6f83950f29cd76f089cbab873cda13b4fb752895c84f24bf67e46c96020"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getHostersOnDownloaded\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/EpisodeLoader.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f6af4b24431f6e1dd03c09d0cd047823f0a5228627add0588e7259125395ba"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getHostersOnLocal\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/loader/EpisodeLoader.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81ec847a3b9abd692befe7018a2fcad28986030b73b0e0a6e04935393b3c421"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getMalIdFromAL\u0060 swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/ui/player/utils/AniSkipApi.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5437d3e1174cbec1f6b5314b004371bb5cff05692c6f0d6510940ca3af582735"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getAlIdFromMal\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/eu/kanade/tachiyomi/util/AniChartApi.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf332623e96af9101157c36d7edb3b3fd055fac7b629e3ddd6ea66c15804deca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getTotalStorageSpace\u0060 swallows every exception into \u0060-1L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/storage/DiskUtil.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"094ade7ddf585535dcb5d3be40cd9e2052169c74ebc9201ab86e82680313fdf2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getAvailableStorageSpace\u0060 swallows every exception into \u0060-1L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/storage/DiskUtil.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9da908fe79d69bf559b3d69ba84520ec5fe5665cdaed796f0700db42e479736"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getAvailableStorageSpace\u0060 swallows every exception into \u0060-1L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/common/src/main/java/eu/kanade/tachiyomi/util/storage/DiskUtil.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"166b62acfb990cc26333c06b016b506c2f92a9f1e9c5116ff6db658175c35532"}}],"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-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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.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-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-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"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/"}]},{"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-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":27,"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."]}]}