{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D25","name":"ADR Conformance","shortDescription":{"text":"ADR Conformance"},"helpUri":"https://codehealth.canine.dev/dimensions/D25"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXR1","name":"Runtime accessibility (rendered)","shortDescription":{"text":"Runtime accessibility (rendered)"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C4","name":"Data Retention","shortDescription":{"text":"Data Retention"},"helpUri":"https://codehealth.canine.dev/dimensions/C4"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"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":"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"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":"ReaderScreenKt.ReaderScreen (cyclomatic 523): ReaderScreenKt.ReaderScreen has cyclomatic complexity 523 (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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2bdf1d97d98b4990b1a5d3e4bd32136d06c3ee094737d5b9c1d891f95006f0"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryScreenKt.LibraryScreen (cyclomatic 95): LibraryScreenKt.LibraryScreen has cyclomatic complexity 95 (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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aeac03747f8a6b7636741e224cfcb41fc5201fc0e12c6658f3d273db98e3406"}},{"ruleId":"D1","level":"warning","message":{"text":"WholeBookTranslationScreenKt.WholeBookTranslationContent (cyclomatic 79): WholeBookTranslationScreenKt.WholeBookTranslationContent has cyclomatic complexity 79 (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/kotlin/com/chmouel/liseur/translate/WholeBookTranslationScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e260cd5a8d6b7a4ec7cfa0c7e818600bf0a934ee1b0729466bbac5748434bde"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsBackupRepository.readArchive (cyclomatic 78): SettingsBackupRepository.readArchive has cyclomatic complexity 78 (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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4052c0810e73ff41ef9cb7173266ca56c12a2b893af4f3dda196f571bb1b9d7"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsBackupScreenKt.SettingsBackupScreen (cyclomatic 66): SettingsBackupScreenKt.SettingsBackupScreen has cyclomatic complexity 66 (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/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f03fe6732f26caef577fa5fc1eb833c309c040dd4a4eaa97d7509f81f8797ce"}},{"ruleId":"D1","level":"warning","message":{"text":"MainActivityKt.LiseurApp (cyclomatic 64): MainActivityKt.LiseurApp has cyclomatic complexity 64 (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/kotlin/com/chmouel/liseur/MainActivity.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e68b36b5b7d6c4574545ed27933abff064048ce7375a3bcf6d63156992701d3"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncSnapshots.read (cyclomatic 50): LiseurSyncSnapshots.read has cyclomatic complexity 50 (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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e10e89dd0942afc28d93d46f9c5d6f47dcb80d77df8b9b0c53d371208ecd4a"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexSheetKt.CodexSheet (cyclomatic 44): CodexSheetKt.CodexSheet has cyclomatic complexity 44 (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/kotlin/com/chmouel/liseur/companion/CodexSheet.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1759efcd26c439f0b8efd7864fd3af1eb43cac57f3b5cea499bad070533271d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderViewModel.open (cyclomatic 43): ReaderViewModel.open has cyclomatic complexity 43 (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/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b4db8cba955a9c447ab1bbf1cf8078007f7f6a5a2adf20e9320c05c8b5f2a9"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsBackupRepository.restore (cyclomatic 40): SettingsBackupRepository.restore has cyclomatic complexity 40 (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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"06776acff06f8143865e9b02b4783b3498c1113e29406e29310b4cc7c9d7278e"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowseLibrariesScreenKt.BrowseConnectionScreen (cyclomatic 39): BrowseLibrariesScreenKt.BrowseConnectionScreen has cyclomatic complexity 39 (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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d517d24a2280f168d92c3b9a06891eb0c5bdc6f19b0df3200127929598c40432"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerAccountScreenKt.ConnectedCard (cyclomatic 37): ServerAccountScreenKt.ConnectedCard has cyclomatic complexity 37 (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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"58932e7c216e32ebdca2051e644ba979931b7006b6da5b27a5bab78b9eb08781"}},{"ruleId":"D1","level":"warning","message":{"text":"ServicesScreenKt.ServerScreen (cyclomatic 36): ServicesScreenKt.ServerScreen has cyclomatic complexity 36 (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/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94e6cbeb13b13470f500e826791da750d490dda6c9abcd1d15f20d6af69a271"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerAccountScreenKt.ConnectForm (cyclomatic 36): ServerAccountScreenKt.ConnectForm has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11285ed90cd30d64dbdedb1692c7985868bc2b919bbde7f91b3ae3f1299e04d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderViewModel.onLocatorChanged (cyclomatic 34): ReaderViewModel.onLocatorChanged has cyclomatic complexity 34 (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/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"90820ad82057ca0d95b700e0aa3cb2ecccb1e3f31edb256aa4943c884dfd8c7c"}},{"ruleId":"D1","level":"warning","message":{"text":"ShelfDecorKt.rememberShelfArt (cyclomatic 34): ShelfDecorKt.rememberShelfArt has cyclomatic complexity 34 (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/kotlin/com/chmouel/liseur/ui/library/styles/ShelfDecor.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae9dadf510a6ba63bac4de1c46da04a302f8ee4dad95f60e9595351985ba72a"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncSnapshots.parsePage (cyclomatic 32): LiseurSyncSnapshots.parsePage has cyclomatic complexity 32 (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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53e7da01ec2845dc5252c58049e5ef492f13308a12fccdcab1f5fb872f42611"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsBackupRepository.prepareExportLocked (cyclomatic 31): SettingsBackupRepository.prepareExportLocked has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bcaa247134db49f0ed13d801bf85d27e05c098ff650721c9e5761d35b3f70c"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAccountRepository.storeLocked (cyclomatic 31): RemoteAccountRepository.storeLocked has cyclomatic complexity 31 (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/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.kt"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d21aff1246c08f89816cb47797f9b9cee4933543572719e5301fb6789ca488"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerSettings.validateBackup (cyclomatic 30): ServerSettings.validateBackup has cyclomatic complexity 30 (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/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fc6e20f7eec83ab5be448554d1019dabc7a701bfda1b69c47386c3ca620b65"}},{"ruleId":"D1","level":"warning","message":{"text":"BookTranslationPreferencesEditorKt.BookTranslationPreferencesEditor (cyclomatic 29): BookTranslationPreferencesEditorKt.BookTranslationPreferencesEditor has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/BookTranslationPreferencesEditor.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fa8a30c84f8da4c9a999395e45f9a30619c29a3a1faeda494195086695e6e9"}},{"ruleId":"D1","level":"warning","message":{"text":"BookDownloadWorker.download (cyclomatic 28): BookDownloadWorker.download has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloadWorker.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbb8032c8f31d7ba28231471fc69b312635ed5560919a89851990b966fa7df7"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderActivity.onCreate (cyclomatic 28): ReaderActivity.onCreate 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/kotlin/com/chmouel/liseur/reader/ReaderActivity.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9919eb792c302f1f8a5e8374e5dba35078cc4a77f5b1e1527b22eefbabe941c2"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectionPopupKt.ActionButtons (cyclomatic 28): SelectionPopupKt.ActionButtons 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/kotlin/com/chmouel/liseur/reader/annotations/SelectionPopup.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a886e6d5693fd6f75c69cb40bad11677b28287ee8b0246e3522e2a104533d62"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanionSheetKt.CharacterProfile (cyclomatic 27): CompanionSheetKt.CharacterProfile 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/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c14f2c200a88a7e623362c4c7ded6e8cc325bb07da9342e0348c6974e6dc3b"}},{"ruleId":"D1","level":"warning","message":{"text":"BookDownloader.download (cyclomatic 27): BookDownloader.download 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/kotlin/com/chmouel/liseur/data/calibre/BookDownloader.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a43c7511fa0125ae1895b63fe2f58af23424bfa93fcd734bdee9d150ce0f47d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingStateMergeKt.reconcileExactPosition (cyclomatic 27): ReadingStateMergeKt.reconcileExactPosition has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/domain/ReadingStateMerge.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f17be207e8719d11512819c88ce021139ef33979598c6d89bca6321262cbe5"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanionLookups.ask (cyclomatic 26): CompanionLookups.ask has cyclomatic complexity 26 (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/kotlin/com/chmouel/liseur/companion/CompanionLookups.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"3087dda63c0d01ca768f04431692e1c23c4546e76ced86923e9ba96fb4f5825d"}},{"ruleId":"D1","level":"warning","message":{"text":"BookOrbitPositionAgreementRepository.readBackLocked (cyclomatic 26): BookOrbitPositionAgreementRepository.readBackLocked has cyclomatic complexity 26 (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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"59edb3185b89d1cdf8e6665a677f9d6a055e5537b3f61ba26e3a621b6420a551"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncPositionSync.name (cyclomatic 25): LiseurSyncPositionSync.name has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35d6bcb825a64dffb483adca79aafc554c68037e81a3bc36cbae64aff6a683b"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationBackupKt.decodeAnnotationBackup (cyclomatic 25): AnnotationBackupKt.decodeAnnotationBackup has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/domain/AnnotationBackup.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"16293bbf4f0e3a4d7f1c74578edaca6ecd1b971225d63d39e4ea6a16e9d96197"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingStateMergeKt.reconcileReadingState (cyclomatic 25): ReadingStateMergeKt.reconcileReadingState has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/domain/ReadingStateMerge.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdceeb9c2e16b7fbbcf7e19a18727a37af0214845edbad77b4343ddd0be271b8"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAiSpeechServiceKt.OpenAiRows (cyclomatic 25): OpenAiSpeechServiceKt.OpenAiRows has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/OpenAiSpeechService.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bea9cf5626d7fb818561e09f97741c574b2dccf56b058343558a7feb0ad34b"}},{"ruleId":"D1","level":"warning","message":{"text":"BookOrbitStatusSync.sync (cyclomatic 24): BookOrbitStatusSync.sync has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitStatusSync.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"99218d9247be07b89da848a62d52c8812bb76b346a17e2b9dd2724eab8fc5341"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationWire.record (cyclomatic 24): AnnotationWire.record 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/kotlin/com/chmouel/liseur/data/liseursync/AnnotationWire.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c6d7fdafb21d255a335e2a52155cfabe4a389ba80a33c0945a7fc0a981fafc"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncPositionSync.uploadSessions (cyclomatic 24): LiseurSyncPositionSync.uploadSessions has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":2478}}}],"partialFingerprints":{"codehealthFindingId/v1":"37437075e55571c76bf6b10fae1dd5150e04f3c3fe07e2d827e41daafb408069"}},{"ruleId":"D1","level":"warning","message":{"text":"DictionaryReferenceKt.dictionaryReference (cyclomatic 24): DictionaryReferenceKt.dictionaryReference has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/dictionary/DictionaryReference.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"639d375a05b8fa82ded8b453f93642e43e26e35ff7508818ff75ccdaf6563153"}},{"ruleId":"D1","level":"warning","message":{"text":"MainActivityKt.LibraryRoute (cyclomatic 23): MainActivityKt.LibraryRoute has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/MainActivity.kt"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a83bbe07a064ef6e7afb16f9cee67b94a903960016e40307849886fcb06c75"}},{"ruleId":"D1","level":"warning","message":{"text":"BookOrbitCfiDom.walk (cyclomatic 23): BookOrbitCfiDom.walk has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCfiDom.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3644ec6d71058ac39bb8c3970b0082730c556803a1992f6f6806a3bdb64fe051"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncPositionSync.run (cyclomatic 23): LiseurSyncPositionSync.run has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a643fda04e0defea9c125f9d7132241d741362bcdd7e2678e94c9f2d59ecd43"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncSettings.sync (cyclomatic 23): LiseurSyncSettings.sync has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSettings.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d718fa31f0dd4bd92d09ca1d14c99076ae3db47707b23c4393d55c71f4cc4c93"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpaperKt.Endpaper (cyclomatic 23): EndpaperKt.Endpaper has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/chrome/Endpaper.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"024b02583fb7c00945a662580f94f7c127ee60a8b902987082cc541ad534ba03"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowseLibrariesScreenKt.CatalogGrid (cyclomatic 23): BrowseLibrariesScreenKt.CatalogGrid has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f77e655d45c9c54ba973415c3773e6d15de192e4e83413f963ac8162c791a7"}},{"ruleId":"D1","level":"warning","message":{"text":"Reimmersion.parse (cyclomatic 22): Reimmersion.parse 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/kotlin/com/chmouel/liseur/companion/Reimmersion.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedd392e1b647061b8ba09578c4f046813a7313b547997427b4b214a2a63956c"}},{"ruleId":"D1","level":"warning","message":{"text":"BookOrbitCfi.parsePath (cyclomatic 22): BookOrbitCfi.parsePath 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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCfi.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18b41e77b3ed2a9a797fa8f7781445695acb9b1d67af5dbda9d91ba7d457189"}},{"ruleId":"D1","level":"warning","message":{"text":"BookOrbitUploadClient.session (cyclomatic 22): BookOrbitUploadClient.session 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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUploadClient.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"962526f06c0444567c748463a1dbd718357fbb04f235fbcff92a4a46ef3b34c2"}},{"ruleId":"D1","level":"warning","message":{"text":"KomgaSyncRepository.push (cyclomatic 22): KomgaSyncRepository.push 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/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"b914c85120bbc41ee95dc3b66d9765130a55324d9b88c7b5bba41be4f20cf0c3"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingSessionBackupRepository.restore (cyclomatic 22): ReadingSessionBackupRepository.restore 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/kotlin/com/chmouel/liseur/data/library/ReadingSessionBackupRepository.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fdac2db35d2d2d205417964dde10a38501ee08376decd11d8d2db592e4804c"}},{"ruleId":"D1","level":"warning","message":{"text":"MemorableLines.score (cyclomatic 22): MemorableLines.score has cyclomatic complexity 22 (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/kotlin/com/chmouel/liseur/domain/quotes/MemorableLines.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e23d93d7e60ffffc6f2ff1b76bf3bca6254e61bd4c40efee8c2b144836da25"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadAloudSettingsScreenKt.KeyRow (cyclomatic 22): ReadAloudSettingsScreenKt.KeyRow has cyclomatic complexity 22 (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/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"404c6a5c10b28bc75ac3fbafe9218192ce0a670b17e7dea8d418972f6e0402d3"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingSelectionActionsKt.SelectionActionEditor (cyclomatic 22): ReadingSelectionActionsKt.SelectionActionEditor has cyclomatic complexity 22 (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/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"f936c2bedfb3400e737754a76868c92a16578d19a46aa2000b2c5ac527891ed0"}},{"ruleId":"D1","level":"warning","message":{"text":"BookOrbitPositionAgreementRepository.adoptClosed (cyclomatic 21): BookOrbitPositionAgreementRepository.adoptClosed has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"133f9aef6992af18a9fde07190fcc23b577434e77d7d90968debd3de3adcfe90"}},{"ruleId":"D1","level":"warning","message":{"text":"BookOrbitPositionSync.sync (cyclomatic 21): BookOrbitPositionSync.sync 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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionSync.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"35be738f4daf3f3a0ecc5a9d3ea9e7c067e437819a3d11eb92ce94ae9fe0ce16"}},{"ruleId":"D1","level":"warning","message":{"text":"TranslationBackupKt.book (cyclomatic 21): TranslationBackupKt.book has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/domain/TranslationBackup.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a194888dea4c5850ecc52469df967c7094659c875c6a096bb09b400acbd235e"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingProgressUiKt.figureText (cyclomatic 21): ReadingProgressUiKt.figureText 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/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a53e1bf43dccecc6bc750a532fa21cc26be6b058d2c9dec7fd2bea1b7e2930"}},{"ruleId":"D1","level":"warning","message":{"text":"StoryController.show (cyclomatic 20): StoryController.show 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/kotlin/com/chmouel/liseur/companion/StoryController.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b84d274d639438ec958fe78364c74eade34d6336e311241dcace850c33c53d"}},{"ruleId":"D1","level":"warning","message":{"text":"BookOrbitPositionSync.syncPosition (cyclomatic 20): BookOrbitPositionSync.syncPosition has cyclomatic complexity 20 (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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionSync.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae6ecbc7ce7a3f6d8e8255af3b0e2bc83e78e69268a84e2e9c511b0ca0db542"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncPositionSync.push (cyclomatic 20): LiseurSyncPositionSync.push has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"395b5025166b8f3fa50a70fc642bc23e0b610cd117a5dcececb691d65506744e"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncPositionSync.deliverPeak (cyclomatic 20): LiseurSyncPositionSync.deliverPeak has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"da69b876ab3986f661965e181c0e1fed7de32451777796d01a2af57174f6a37c"}},{"ruleId":"D1","level":"warning","message":{"text":"SeriesScreenKt.SeriesScreen (cyclomatic 20): SeriesScreenKt.SeriesScreen 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/kotlin/com/chmouel/liseur/ui/library/SeriesScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd201b373bc7cb3de26dd242227724285052d2e9fa1863b6b5c3151926f1eac0"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerAccountScreenKt.ServerAccountScreen (cyclomatic 20): ServerAccountScreenKt.ServerAccountScreen has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: ServerAccountScreenKt.messageRes (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fb7f36f9c98be934ab1854a0fea0eeecce0d59db234d2caccda99eaddce2dd"}},{"ruleId":"D1","level":"warning","message":{"text":"BookExportRepository.exportTo (cyclomatic 19): BookExportRepository.exportTo 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/kotlin/com/chmouel/liseur/data/library/BookExportRepository.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9259a82544061c8f44f28485c8b0b0b31adf9edb12fe5160361129f70b7d0f3"}},{"ruleId":"D1","level":"warning","message":{"text":"ReaderViewModel.maybeOfferBookOrbitCatchUp (cyclomatic 19): ReaderViewModel.maybeOfferBookOrbitCatchUp 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/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ca0dcc544f73c3381f5ff2ca7f9cf74bc3dea74d4bef020d2258927a6f6e72"}},{"ruleId":"D1","level":"warning","message":{"text":"Mp3Pcm.decode (cyclomatic 19): Mp3Pcm.decode 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/kotlin/com/chmouel/liseur/tts/Mp3Pcm.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6208dc347320afee4637f5fc03e1f29511c6ccfafb44d076fc78a5a154a78d81"}},{"ruleId":"D1","level":"warning","message":{"text":"SpeechReadAloud.start (cyclomatic 19): SpeechReadAloud.start 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/kotlin/com/chmouel/liseur/tts/SpeechReadAloud.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cfc2e1889d132378620852b4d2d81acba588cdc0d4038cbef2112066131f8d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingSelectionActionsKt.ReadingSelectionActions (cyclomatic 19): ReadingSelectionActionsKt.ReadingSelectionActions 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/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fd98a37c89a0ef340125b73f5ce3df9dc4630b5daf867c6256a5825b9ec6cf"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadingStatsScreenKt.PeriodBars (cyclomatic 19): ReadingStatsScreenKt.PeriodBars 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/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b5e83be79e62ed0ee5bad53306edf643a3f32a626e926c23062eba299e2b87"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncPositionSync.refresh (cyclomatic 18): LiseurSyncPositionSync.refresh 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"660eb6ed6adc95e5eee302bdf99708080b76027fd860c5eaaf9f62ce24d7bd48"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncPositionSync.apply (cyclomatic 18): LiseurSyncPositionSync.apply 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3859a617d4f5f401803d58a94e22f2bd018c05189a28d4f68af5cae6d36724"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteCatalogRepositoryKt.mergeCatalogEntry (cyclomatic 18): RemoteCatalogRepositoryKt.mergeCatalogEntry 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/kotlin/com/chmouel/liseur/data/remote/RemoteCatalogRepository.kt"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aca9acc6222e90d402f7c8634b749ee5bf5a02c7f758421785743c77a4c82dc"}},{"ruleId":"D1","level":"warning","message":{"text":"BookSyncDialogKt.BookSyncDialog (cyclomatic 18): BookSyncDialogKt.BookSyncDialog 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/kotlin/com/chmouel/liseur/reader/chrome/BookSyncDialog.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b1895370bf354df75c6843c4778db04c9aa55d540d2b04f2ab9ef1bd06d81e"}},{"ruleId":"D1","level":"warning","message":{"text":"PageTranslationSheetKt.PageTranslationSheet (cyclomatic 18): PageTranslationSheetKt.PageTranslationSheet 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/kotlin/com/chmouel/liseur/translate/PageTranslationSheet.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"635f712ba759d1f078731cb02fe1ba930d543609f2fa24e93b8282b802ca2c4e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexExtractor.extract (cyclomatic 17): CodexExtractor.extract 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/kotlin/com/chmouel/liseur/companion/CodexExtractor.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"759307ded88050949c0ffd29c6207c725d0bf8c4ae640aa1ffd13d94962c86bc"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexViewModel.resume (cyclomatic 17): CodexViewModel.resume 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/kotlin/com/chmouel/liseur/companion/CodexViewModel.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f722397fd7529ad86f76d3aea85d81fea2119f09179488cb79f0d285b12c721"}},{"ruleId":"D1","level":"warning","message":{"text":"BookOrbitPositionSync.syncAll (cyclomatic 17): BookOrbitPositionSync.syncAll 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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionSync.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dcd0cbdf9f0dab68946d9f6153a5a47508e790a54a98754e6afae9d2e0d08e"}},{"ruleId":"D1","level":"warning","message":{"text":"OpdsCatalogClient.browseSection (cyclomatic 17): OpdsCatalogClient.browseSection has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsCatalogClient.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"018550f6bde80e821130301cc41c3166b152777df5622f00b21a96e1ee9ed4b1"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerSettings.settleRestore (cyclomatic 17): ServerSettings.settleRestore 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/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2e8e31e8d960e4ad249128758aecf22b4da3215c0fc06786eb260808905114"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryFilters.accepts (cyclomatic 17): LibraryFilters.accepts 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/kotlin/com/chmouel/liseur/domain/LibraryFilters.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4b266735f306086276f4296e5b0210b4cbe81daee60ef44d878da6b67f529f"}},{"ruleId":"D1","level":"warning","message":{"text":"NoteMarkdown.render (cyclomatic 17): NoteMarkdown.render 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/kotlin/com/chmouel/liseur/reader/annotations/NoteMarkdown.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48d9ab9b5b7b15b91a25ff4b7139472271e2ccd9d044f9bdad78f4edf3f3578"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageViewerKt.ImageViewer (cyclomatic 17): ImageViewerKt.ImageViewer 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/kotlin/com/chmouel/liseur/reader/chrome/ImageViewer.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba3685acc68e69ecf9b7d854981827171af51f1b092a012e9611bffbaee6b86"}},{"ruleId":"D1","level":"warning","message":{"text":"TranslationSheetKt.Translation (cyclomatic 17): TranslationSheetKt.Translation has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e5b782a16c0c1eac9aeff3dbe96567ac9d5bfee0b9bf4445edb2178e578d1d"}},{"ruleId":"D1","level":"warning","message":{"text":"MlKitLanguagesPageKt.LanguageRow (cyclomatic 17): MlKitLanguagesPageKt.LanguageRow has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/play/kotlin/com/chmouel/liseur/translate/MlKitLanguagesPage.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6456ee387b21c319f1b28c26b4e475833fd9adfced0ceaf440e16984827465bf"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexSheetKt.highlightRanges (cyclomatic 16): CodexSheetKt.highlightRanges has cyclomatic complexity 16 (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/kotlin/com/chmouel/liseur/companion/CodexSheet.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e765ba0ad3b2ea7440e9cfff6114c9810e181e2ea39fa700044bcea8bd12ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"BookOrbitPositionExchange.run (cyclomatic 16): BookOrbitPositionExchange.run 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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionExchange.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8efe0157006a3d34cb6b8bd535c2881f1d2187da589444639ac1a733f6c9b5"}},{"ruleId":"D1","level":"warning","message":{"text":"LiseurSyncPositionSync.recoverPush (cyclomatic 16): LiseurSyncPositionSync.recoverPush 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bc5747f38b37a6d9ecbedd2188b79c482afed15a9a14e57f972ab747f0de31"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowseCatalogRepository.listing (cyclomatic 16): BrowseCatalogRepository.listing 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/kotlin/com/chmouel/liseur/data/remote/BrowseCatalogRepository.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ed288cbd7d611f2a51bb4abc440b89863127918c36320d6150a724358f470e"}},{"ruleId":"D1","level":"warning","message":{"text":"UserFontRepository.importLocked (cyclomatic 16): UserFontRepository.importLocked 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/kotlin/com/chmouel/liseur/data/settings/UserFontRepository.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2614155f9ee9294f9177524d885319b17228e4f7340c926326fef716113eba06"}},{"ruleId":"D1","level":"warning","message":{"text":"PageTranslation.walk (cyclomatic 16): PageTranslation.walk 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/kotlin/com/chmouel/liseur/translate/PageTranslation.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1689b92f1d1373aec0af168d43ef83fe4415ebd1a78272e5f53a105c533d6b"}},{"ruleId":"D1","level":"warning","message":{"text":"TranslationSheetKt.TranslationSheet (cyclomatic 16): TranslationSheetKt.TranslationSheet 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/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8cb957de7208df6260552232d9b7d5b46c829e164913e5ed5528801f900cf3"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadAloudVoiceSheetKt.Choice (cyclomatic 16): ReadAloudVoiceSheetKt.Choice 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/kotlin/com/chmouel/liseur/tts/ReadAloudVoiceSheet.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41d89d861057e082203c6a166c104e35f45f514aae1564ea0abb83a8c3423cc"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowseLibrariesScreenKt.BrowseLibrariesRoute (cyclomatic 16): BrowseLibrariesScreenKt.BrowseLibrariesRoute 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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c64584895b418d243fd958478191266173cf92592c98d8716b28a990f19f11"}},{"ruleId":"D1","level":"warning","message":{"text":"SeriesPickerSheetKt.pickerSections (cyclomatic 16): SeriesPickerSheetKt.pickerSections 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/kotlin/com/chmouel/liseur/ui/library/SeriesPickerSheet.kt"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acd0d5f73915850ef277dc668d5c4502796399172d846c1618613ac80eb956f"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerAccountViewModel.credentialsSupplied (cyclomatic 16): ServerAccountViewModel.credentialsSupplied 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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountViewModel.kt"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"00336d814a77dca258f8c38d19a41f0adb87c50cd0e6080f136915e2db9d1bdd"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderScreenKt.ReaderScreen (cognitive 716): ReaderScreenKt.ReaderScreen has cognitive complexity 716 (threshold 15). Drivers by points: if/else 383 (505 pts), boolean chains 164, error handling 11 (19 pts), match/switch 11 (15 pts), loops 12 (13 pts) (nesting depth added 135). 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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"5405fe548d4188f0699a55f72f9ab1f8fea975ec621ffec2dfc2cf7d313c00b7"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsBackupRepository.readArchive (cognitive 130): SettingsBackupRepository.readArchive has cognitive complexity 130 (threshold 15). Drivers by points: if/else 45 (87 pts), boolean chains 20, error handling 12 (19 pts), loops 3 (4 pts) (nesting depth added 50). 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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f12c902ac56145043aa93cc94c772ca04bdfc004a4ba88351253cb92d6a7a9"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.LibraryScreen (cognitive 118): LibraryScreenKt.LibraryScreen has cognitive complexity 118 (threshold 15). Drivers by points: if/else 58 (84 pts), match/switch 11 (17 pts), boolean chains 13, error handling 2 (4 pts) (nesting depth added 34). 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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ce5ced6ba420641fb8f67dbbcdc4976049665b4f44992125023c57693a1d6e"}},{"ruleId":"D2","level":"warning","message":{"text":"WholeBookTranslationScreenKt.WholeBookTranslationContent (cognitive 114): WholeBookTranslationScreenKt.WholeBookTranslationContent has cognitive complexity 114 (threshold 15). Drivers by points: if/else 45 (77 pts), error handling 9 (17 pts), boolean chains 13, match/switch 4 (7 pts) (nesting depth added 43). 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/kotlin/com/chmouel/liseur/translate/WholeBookTranslationScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"384907aa7e86e271472f7d6647bce8bf4af1fbb54b87c71d5c984e9d5ae7d00c"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsBackupScreenKt.SettingsBackupScreen (cognitive 109): SettingsBackupScreenKt.SettingsBackupScreen has cognitive complexity 109 (threshold 15). Drivers by points: if/else 72 (94 pts), boolean chains 8, match/switch 4 (7 pts) (nesting depth added 25). 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/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78f229230e98a4a0d3463990c27847253af4f58739ede30a2beb314b3cd55aa"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexSheetKt.CodexSheet (cognitive 74): CodexSheetKt.CodexSheet has cognitive complexity 74 (threshold 15). Drivers by points: if/else 34 (56 pts), boolean chains 15, match/switch 1 (3 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CodexSheet.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cd2695bcf6b1182810ade6491cb0737f630a1f3bc95936a864adda285aeb5f"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncSnapshots.read (cognitive 71): LiseurSyncSnapshots.read has cognitive complexity 71 (threshold 15). Drivers by points: if/else 33 (51 pts), boolean chains 15, loops 3 (4 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1783ade186136d6d2e24128f8e4ee1bc54cb314789e7fa4c3139618f4eb9e271"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderViewModel.open (cognitive 57): ReaderViewModel.open has cognitive complexity 57 (threshold 15). Drivers by points: if/else 24 (30 pts), boolean chains 17, error handling 6 (10 pts) (nesting depth added 10). 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/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"788aee16b758262e84c0327c80a2c5ea8520b2480ada9f715dc5bd3b098e499c"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivityKt.LiseurApp (cognitive 56): MainActivityKt.LiseurApp has cognitive complexity 56 (threshold 15). Drivers by points: if/else 32 (39 pts), boolean chains 12, match/switch 4 (5 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/MainActivity.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"1564adf5f63138b6ddc60bf6b0d741d88a7eeca3222e4bc815a3c8f0f5fdbfaf"}},{"ruleId":"D2","level":"warning","message":{"text":"ServicesScreenKt.ServerScreen (cognitive 56): ServicesScreenKt.ServerScreen has cognitive complexity 56 (threshold 15). Drivers by points: if/else 33 (46 pts), boolean chains 7, match/switch 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"264586643b203caff080a976b6c1684308387ed196c85dba073a3abdbdf6a9a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderViewModel.onLocatorChanged (cognitive 52): ReaderViewModel.onLocatorChanged has cognitive complexity 52 (threshold 15). Drivers by points: if/else 27 (43 pts), boolean chains 9 (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/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"16741a678ea6a2ee0fcdd352a014b35f74776b9c2d5d7a9e4858e5dba7a51ce6"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsBackupRepository.restore (cognitive 46): SettingsBackupRepository.restore has cognitive complexity 46 (threshold 15). Drivers by points: error handling 28, if/else 16 (17 pts), match/switch 1 (nesting depth added 1). 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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50e27a4137ec7dabf835c7414eaaeb85b35533eda860168e72ca89eebf6072a"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncPositionSync.name (cognitive 45): LiseurSyncPositionSync.name has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (38 pts), boolean chains 4, match/switch 1 (2 pts), loops 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e68c947d041252260d44de2312a80220e3d31f923c8b7611a678f0d07f97f8"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerSettings.validateBackup (cognitive 43): ServerSettings.validateBackup has cognitive complexity 43 (threshold 15). Drivers by points: if/else 21 (33 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"503776f63989aa610b68baacd31b24933f5de25a650780bbe5dd2a3d9faac98a"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowseLibrariesScreenKt.BrowseConnectionScreen (cognitive 43): BrowseLibrariesScreenKt.BrowseConnectionScreen has cognitive complexity 43 (threshold 15). Drivers by points: if/else 29 (30 pts), match/switch 5 (8 pts), boolean chains 5 (nesting depth added 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":"app/src/main/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a455bff019f7416f5e4b265336ac20aae8ba9e800df68cbfffdfe9d6899d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitCfiDom.walk (cognitive 41): BookOrbitCfiDom.walk has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 6, loops 2 (4 pts), match/switch 2 (4 pts) (nesting depth added 21). 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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCfiDom.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7825f9f3be0590db1042d2c8cd21871dc25c2a09816be827d5fe5e8530fce353"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationBackupKt.decodeAnnotationBackup (cognitive 41): AnnotationBackupKt.decodeAnnotationBackup has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 12, loops 2 (3 pts), error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/domain/AnnotationBackup.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b601d97f957da216498cb17cd6882181731f2656348589a9946dea5fa60fff00"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexExtractor.extract (cognitive 40): CodexExtractor.extract has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 21). 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/kotlin/com/chmouel/liseur/companion/CodexExtractor.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3921d7e133260849f9f734872df992520791d018f85a4873daddeac3c12b2196"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerAccountScreenKt.ConnectedCard (cognitive 40): ServerAccountScreenKt.ConnectedCard has cognitive complexity 40 (threshold 15). Drivers by points: if/else 22 (29 pts), boolean chains 7, match/switch 3 (4 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"1273ba0a0aead46075f62e12579e4ad55407f8be011985dc59f6e67862629db0"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingSessionBackupRepository.restore (cognitive 39): ReadingSessionBackupRepository.restore has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 5 (7 pts), boolean chains 4, match/switch 1 (4 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingSessionBackupRepository.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1a8035d04c61ccb6b3b363c877e6ab88eb2eb2180c431619acd844337996a5"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsBackupRepository.prepareExportLocked (cognitive 39): SettingsBackupRepository.prepareExportLocked has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (20 pts), error handling 9 (11 pts), boolean chains 6, loops 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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2886c9aa7bce094a1b992ff4b359ce9d9d40b8fb01e78b8f729ee0cc3050f8b9"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncPositionSync.push (cognitive 39): LiseurSyncPositionSync.push has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (24 pts), match/switch 2 (6 pts), error handling 2 (4 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 21). 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29eb3f734b7c643f7f497851e25f4280ee319acc3ba225df3aaa6b7c004e3fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderActivity.onCreate (cognitive 38): ReaderActivity.onCreate has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 6, match/switch 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/ReaderActivity.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbdf98e2ea4931677fbe3413a4c3882771e045077554f8ec3037570395b6d59"}},{"ruleId":"D2","level":"warning","message":{"text":"ShelfDecorKt.rememberShelfArt (cognitive 38): ShelfDecorKt.rememberShelfArt has cognitive complexity 38 (threshold 15). Drivers by points: if/else 25 (34 pts), match/switch 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ShelfDecor.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cedfc29b1b42ec6b8496c9901ec85d95932163176c1700acd98cd22f32d7967"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerAccountScreenKt.ConnectForm (cognitive 38): ServerAccountScreenKt.ConnectForm has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 10, match/switch 3 (4 pts) (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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"093c2cad23245fbba71855ba8b0e225486c43500b8422861a4a4a59b3859d31f"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncSnapshots.parsePage (cognitive 37): LiseurSyncSnapshots.parsePage has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 12, loops 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"315691e3c4bd516a49dd28c249ff5033f30ebb1a9f00bbc57ab96257907328d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Reimmersion.parse (cognitive 36): Reimmersion.parse has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 6, loops 3 (4 pts), match/switch 1 (3 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/Reimmersion.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b600e34e6794498d4c011162e0cd549c6808568fb9a235e1d2c853a0cddc3056"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncPositionSync.uploadSessions (cognitive 36): LiseurSyncPositionSync.uploadSessions has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 3 (6 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":2478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3931d3aa6fc1cb72ddf0be6414b9f6854e2acc0fa7b77ff20be3256bb2b460a7"}},{"ruleId":"D2","level":"warning","message":{"text":"BookTranslationPreferencesEditorKt.BookTranslationPreferencesEditor (cognitive 36): BookTranslationPreferencesEditorKt.BookTranslationPreferencesEditor has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18, error handling 7 (11 pts), boolean chains 7 (nesting depth added 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":"app/src/main/kotlin/com/chmouel/liseur/translate/BookTranslationPreferencesEditor.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"be83b0399d8e32610bc1038363897b2e49030f7b972c0ba570d5971e27ea4e80"}},{"ruleId":"D2","level":"warning","message":{"text":"Mp3Pcm.decode (cognitive 36): Mp3Pcm.decode has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 4, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/Mp3Pcm.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ef15501a0364cd0f33310ae02f848ea8255b3327e46f6893d66594c09b2f06"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitPositionAgreementRepository.readBackLocked (cognitive 35): BookOrbitPositionAgreementRepository.readBackLocked has cognitive complexity 35 (threshold 15). Drivers by points: if/else 23 (24 pts), boolean chains 7, error handling 2, match/switch 2 (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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d16cb0dfa597c60105b42520e99f01eb6cded7b7557ab5030007eed49567346"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncPositionSync.apply (cognitive 35): LiseurSyncPositionSync.apply has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 6, loops 4 (6 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5a9b53fc81e65f8ffb0c156c0c76877e6bb6b1bbd014e5bde4729d436c6821"}},{"ruleId":"D2","level":"warning","message":{"text":"BookDownloader.download (cognitive 33): BookDownloader.download has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 3, error handling 2, loops 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloader.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f9a3be296409a2f0097e10bd3b73c5c1cc744bcce264f7ab5325a5c2ab3d15"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncPositionSync.run (cognitive 33): LiseurSyncPositionSync.run has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (20 pts), match/switch 2 (5 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"404f5348e01af5e9775f0c7763e05a63d35acb0d7ee898bf7725cb65ceceeb9d"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveSyncConnector.connected (cognitive 33): LiveSyncConnector.connected has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 5 (12 pts), loops 3 (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/kotlin/com/chmouel/liseur/sync/LiveSyncConnector.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56212b57d2fce0acf4514790886856b994b770721321a1ad969a22301b89dac"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitStatusSync.sync (cognitive 32): BookOrbitStatusSync.sync has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 12 (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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitStatusSync.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"22810dd8a74d11c0c96f55a5e7d748bbf1118bd92ba7a2b721794b543440391e"}},{"ruleId":"D2","level":"warning","message":{"text":"BookDownloadWorker.download (cognitive 32): BookDownloadWorker.download has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 8, match/switch 2 (3 pts) (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/kotlin/com/chmouel/liseur/data/calibre/BookDownloadWorker.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b3e641a12b857be9c4640c780903f4fd685b9b668e66869d664f20b4619af0"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerSettings.settleRestore (cognitive 32): ServerSettings.settleRestore has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (29 pts), error handling 3 (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/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85199ebfbdc6a49a4f067ed23b93ab8741506f0b76f93f4408ccb2b7805c47e"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanionLookups.ask (cognitive 31): CompanionLookups.ask has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (21 pts), error handling 4, match/switch 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionLookups.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a804a5e85299a6afed9cde0430b774372392ad45598ddbf528bf160b2182436"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitCfi.parsePath (cognitive 31): BookOrbitCfi.parsePath has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCfi.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8532bbbfbee6f5bf945f57d4b641e62369005fc6e54a644d0bd5b8224dfead"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncSettings.sync (cognitive 31): LiseurSyncSettings.sync has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (24 pts), match/switch 1 (3 pts), boolean chains 2, error handling 1, loops 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSettings.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8a927df2852c0c8ea802a8eabed1aa163284fb2c00fde636a0f4537cdaedf2"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingSelectionActionsKt.ReadingSelectionActions (cognitive 31): ReadingSelectionActionsKt.ReadingSelectionActions has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 5 (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/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1c17e349e35bbbda9596d1ebaf19a0fed95e7540cc16f80864e00a583eb9c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingSelectionActionsKt.SelectionActionEditor (cognitive 31): ReadingSelectionActionsKt.SelectionActionEditor has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (23 pts), boolean chains 8 (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/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"8658372544f5c9c445a4c5013d23f8df3161ab0a5e988bc39f279b00ceb56fa8"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAccountRepository.storeLocked (cognitive 30): RemoteAccountRepository.storeLocked has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 14, if/else 12 (13 pts), match/switch 3 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.kt"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b44e32231469b16976f14f986b5f1d81da290789398b980fb45891b737b43a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadAloudSettingsScreenKt.KeyRow (cognitive 30): ReadAloudSettingsScreenKt.KeyRow has cognitive complexity 30 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 3, 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":"app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d06517229a0e024f7512cf37b4e5da278a91af3dfca3ddd4787adffe2fac4aa"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowseLibrariesScreenKt.CatalogGrid (cognitive 30): BrowseLibrariesScreenKt.CatalogGrid has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 7, match/switch 1 (2 pts) (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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba678e8f57f5d1baa0e323d22d3910b88c05ade76a7f33288077f290c95f994a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingStateMergeKt.reconcileExactPosition (cognitive 29): ReadingStateMergeKt.reconcileExactPosition has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 16, if/else 12 (13 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/domain/ReadingStateMerge.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4258f1010073d93d47b9904a084cd544945dd93314d0ba73c70617c9b383bd5"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCurl.mesh (cognitive 29): PageCurl.mesh has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/chrome/PageCurl.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3270909597b791d4885d935e7dc6aae73ba6ab95212475464cc8aed14ce3391"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncPositionSync.deliverPeak (cognitive 28): LiseurSyncPositionSync.deliverPeak has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, error handling 2 (4 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5efbfd3d1063dbd9ddf7e982923848e5d67b9763e251a8c7aa0f1dec264f121"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowseCatalogRepository.listing (cognitive 28): BrowseCatalogRepository.listing has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 5 (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/kotlin/com/chmouel/liseur/data/remote/BrowseCatalogRepository.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd1655498bbac3d3d47fc28911cf29d99c32634f8f982b1842c95d8459b43f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingStateMergeKt.reconcileReadingState (cognitive 28): ReadingStateMergeKt.reconcileReadingState has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 10, match/switch 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/domain/ReadingStateMerge.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"65420f90e1879ca59934cd907bec9fe331e19c59229b5e79cbe959490dd38982"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpaperKt.Endpaper (cognitive 28): EndpaperKt.Endpaper has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 6 (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/kotlin/com/chmouel/liseur/reader/chrome/Endpaper.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ca5c999bef80fb972864a029f40e727829ec5ef61bda9f7d3b492b1957a18f"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingStatsScreenKt.PeriodBars (cognitive 28): ReadingStatsScreenKt.PeriodBars has cognitive complexity 28 (threshold 15). Drivers by points: if/else 24 (26 pts), match/switch 2 (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/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3a017e37a19f008e1b34e5800b89d655f2c5c0e6bbc2de0175fe6f14a774d5"}},{"ruleId":"D2","level":"warning","message":{"text":"BookExportRepository.exportTo (cognitive 27): BookExportRepository.exportTo has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 6 (8 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/BookExportRepository.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8be434eb7128fc66b9c967fc77e03a5edda803e11b387ef5d23caae4e261d7c"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncPositionSync.refresh (cognitive 27): LiseurSyncPositionSync.refresh has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d3836f7a64bc54cfbf2ae0d13b5223ee6abbabd72a16faead89e1ad7b6ce02"}},{"ruleId":"D2","level":"warning","message":{"text":"PageTranslation.walk (cognitive 27): PageTranslation.walk has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), error handling 2 (4 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/PageTranslation.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"401d146e2a0ea04eebb7778db5ab557575499374c91cce0862f7b6fce0d53e63"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerAccountScreenKt.ServerAccountScreen (cognitive 27): ServerAccountScreenKt.ServerAccountScreen has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 4, 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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f772fbd32f20553d582764590aa4f4fa57a117ba41a822e53ab04cebb6b1c59"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexSheetKt.codexLayout (cognitive 26): CodexSheetKt.codexLayout has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 9 (13 pts) (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/kotlin/com/chmouel/liseur/companion/CodexSheet.kt"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b12897096e3afcbea68f546cb122dfcf36f53fdc9d7b7bcf1738b3ca1de3de3"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitUploadClient.session (cognitive 26): BookOrbitUploadClient.session has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUploadClient.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ab76f810867d190acd8e38b30c1f5a9736b0fc2b02e5327cec65ca2b173915"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationBackupKt.book (cognitive 26): TranslationBackupKt.book has cognitive complexity 26 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 4 (7 pts), match/switch 2 (7 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/domain/TranslationBackup.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38c890b9bbf445ec65b3d8d0672418faef6c056f1927a0989371628fdf1abbb"}},{"ruleId":"D2","level":"warning","message":{"text":"DictionaryReferenceKt.dictionaryReference (cognitive 26): DictionaryReferenceKt.dictionaryReference has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 8, match/switch 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/kotlin/com/chmouel/liseur/reader/dictionary/DictionaryReference.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"446fcd02d4b93c6fac060076b69a20efd9927e0a755639d496cc4d3ae368c25d"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAiSpeechServiceKt.OpenAiRows (cognitive 26): OpenAiSpeechServiceKt.OpenAiRows has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 11, 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/kotlin/com/chmouel/liseur/tts/OpenAiSpeechService.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb339c141ccb1536713ebd49a4d695e7657c05cada28eaa53b47493ef05ecbc"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationWire.record (cognitive 25): AnnotationWire.record has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 7 (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/kotlin/com/chmouel/liseur/data/liseursync/AnnotationWire.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8e3624be236516179c40d8aa5dd451821ebc0e317a5973535a1389e4d3b7f6"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingProgressUiKt.figureText (cognitive 25): ReadingProgressUiKt.figureText has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (24 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/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"189b855af35aeade0e8ffa75bbace771df336d31a5d624c02814b8f72f7fafdd"}},{"ruleId":"D2","level":"warning","message":{"text":"WholeBookTranslation.scan (cognitive 25): WholeBookTranslation.scan has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (5 pts), boolean chains 3, match/switch 1 (3 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/kotlin/com/chmouel/liseur/translate/WholeBookTranslation.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d8c4bac8f22f99abd10bcdc90c8d47e86ec5bec09a07c0be4c1898c058599c"}},{"ruleId":"D2","level":"warning","message":{"text":"WholeBookTranslation.retrying (cognitive 25): WholeBookTranslation.retrying has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (5 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslation.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4368a3cb72445526ad4fe353e9f41c0ae1ce4707779d547282089f5f6b69344b"}},{"ruleId":"D2","level":"warning","message":{"text":"SeriesScreenKt.SeriesScreen (cognitive 25): SeriesScreenKt.SeriesScreen has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 2, 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/kotlin/com/chmouel/liseur/ui/library/SeriesScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cd512207a8e06d39f87f0207909690715447cf9148f39446902cddb8d228e2"}},{"ruleId":"D2","level":"warning","message":{"text":"MainActivityKt.LibraryRoute (cognitive 24): MainActivityKt.LibraryRoute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 6, 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/kotlin/com/chmouel/liseur/MainActivity.kt"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"b524c7cea088ae19c33d2f2e98f112fd7dec2454a819a33bc2ca669e96450618"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanionSheetKt.CharacterProfile (cognitive 24): CompanionSheetKt.CharacterProfile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8cd66ad53de7bede18f77b74e1013f90178fae88d29a21feda51b04694199d"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitPositionSync.syncAll (cognitive 24): BookOrbitPositionSync.syncAll has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionSync.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f14906c6918afd9a5d27d7b28c17714254e47b1ce0b50364dbd5d3d837224e"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncTranslations.pull (cognitive 24): LiseurSyncTranslations.pull has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 2 (4 pts), match/switch 1 (3 pts), boolean chains 2, loops 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"88482ff40862982a9b51d4fdc1993719036e02e37ab2ef508308bd13302e5b6e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpdsCatalogClient.browseSection (cognitive 23): OpdsCatalogClient.browseSection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, error handling 3 (6 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsCatalogClient.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"53090a35107b554414278d72cb1ac2868bed79ca1f9c94312dcd2f0cc2d20995"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteCatalogRepositoryKt.mergeCatalogEntry (cognitive 23): RemoteCatalogRepositoryKt.mergeCatalogEntry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, boolean chains 5, match/switch 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteCatalogRepository.kt"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eee0dac82678bb10550d871e6aebeafa571da0a7f05f4689ad94d6c60bf602a"}},{"ruleId":"D2","level":"warning","message":{"text":"BookSyncDialogKt.BookSyncDialog (cognitive 23): BookSyncDialogKt.BookSyncDialog has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 3 (6 pts) (nesting depth added 10). 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/kotlin/com/chmouel/liseur/reader/chrome/BookSyncDialog.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f3e374a0058fecbc1faaaf065162099432c031ff0f2d48d42108539eb1fdd2"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageViewerKt.ImageViewer (cognitive 23): ImageViewerKt.ImageViewer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 3, loops 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/kotlin/com/chmouel/liseur/reader/chrome/ImageViewer.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"81029fa83d711cfe4b588f724a28fd21d8e04422756f6be3133245834ada9e1a"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioTrackPcmOutput.play (cognitive 23): AudioTrackPcmOutput.play has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/PcmOutput.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eed813da45b2e39b4e18a350d8d6f042ebaad69e25deae3f52bb616680b53c5"}},{"ruleId":"D2","level":"warning","message":{"text":"KomgaSyncRepository.push (cognitive 22): KomgaSyncRepository.push has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 4 (7 pts), boolean chains 5, 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/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"624f9e1d1558d072d5e24fb1621cecb873c3f3b3fb7f45e0075c3bceb4820f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingSessionBackupRepository.writeContents (cognitive 22): ReadingSessionBackupRepository.writeContents has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingSessionBackupRepository.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0638c033a63340b0d813855520f16d3977e7c7c61d4b861fc148acfa34b8d519"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryShelfKt.entryComparator (cognitive 22): LibraryShelfKt.entryComparator has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 1 (nesting depth added 7). 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/kotlin/com/chmouel/liseur/domain/LibraryShelf.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"728f15497dfdcd1fa6130ff8e35eb1a9b6f9ebb541359f6977196c8149ed2589"}},{"ruleId":"D2","level":"warning","message":{"text":"LibrarySortKt.arrangedBy (cognitive 22): LibrarySortKt.arrangedBy has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 1 (nesting depth added 7). 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/kotlin/com/chmouel/liseur/domain/LibrarySort.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"890c33b6d6366cb4b44cddf388d2a28f5dc99d096c25d5004e07ca0620396f69"}},{"ruleId":"D2","level":"warning","message":{"text":"PageTranslationSheetKt.PageTranslationSheet (cognitive 22): PageTranslationSheetKt.PageTranslationSheet has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 5, 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/kotlin/com/chmouel/liseur/translate/PageTranslationSheet.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ea44bccfdd21c67da12e470a095f131af5ad90bd2e9815be207b0d056198e3"}},{"ruleId":"D2","level":"warning","message":{"text":"WholeBookTranslation.run (cognitive 22): WholeBookTranslation.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 3 (5 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 7). 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/kotlin/com/chmouel/liseur/translate/WholeBookTranslation.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db06a778591e23d3419422b1811fc6c57ea01663d0993b3d8718e0846cac548"}},{"ruleId":"D2","level":"warning","message":{"text":"SpeechCache.synthesizeWithRetry (cognitive 22): SpeechCache.synthesizeWithRetry has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/UtterancePrefetcher.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ba753043f6c829c486b25fd71b5a70350516156e3fd310f7f2b9ce6a7b98e0"}},{"ruleId":"D2","level":"warning","message":{"text":"StoryController.show (cognitive 21): StoryController.show has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 8, error handling 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/kotlin/com/chmouel/liseur/companion/StoryController.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa3e7107dd760a8d9fa1a78dd23aa74de0cd2b5bf9a46f35da3cfc1a081e178"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitCatalogClient.cardFor (cognitive 21): BookOrbitCatalogClient.cardFor has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCatalogClient.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"875048e2c3eb4a6a480f0718ec8cb25632244bbba3e8cba4f6d5ce8c768e643d"}},{"ruleId":"D2","level":"warning","message":{"text":"OpdsParser.blockText (cognitive 21): OpdsParser.blockText has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (5 pts), boolean chains 2, loops 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/kotlin/com/chmouel/liseur/data/opds/OpdsParser.kt"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e929f75c38f1de8682f8280146f47f52b6ae0d29c5b2dbc4c6a225f3e723ef"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectionPopupKt.ActionButtons (cognitive 21): SelectionPopupKt.ActionButtons has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/annotations/SelectionPopup.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"da71e6beb87411210bc2a9ea9c93fccb9bb56f96f0eaa6c0d1313cec6e47171e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentsScreenKt.AnnotationRow (cognitive 21): ContentsScreenKt.AnnotationRow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19 (20 pts), 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/kotlin/com/chmouel/liseur/reader/chrome/ContentsScreen.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2a422a120739fc2c08b55931b2dae1f53cf040fb8eac11474606991de01c7f"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadAloudSettingsScreenKt.VoicePicker (cognitive 21): ReadAloudSettingsScreenKt.VoicePicker has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd5f99d70089d831737225cc9559b91f5ad76a6df2933a1d5ce357da985a709"}},{"ruleId":"D2","level":"warning","message":{"text":"SpeechReadAloud.start (cognitive 21): SpeechReadAloud.start has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 3, error handling 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/SpeechReadAloud.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1f27c45cfa45b50f969438a99b8688d769ab48014da0ea7cc88104f6de361c"}},{"ruleId":"D2","level":"warning","message":{"text":"SeriesPickerSheetKt.pickerSections (cognitive 21): SeriesPickerSheetKt.pickerSections 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/kotlin/com/chmouel/liseur/ui/library/SeriesPickerSheet.kt"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"678855497c7e4fb19ad9408d580d191debc604988f98b87bef1fb02222a8f72e"}},{"ruleId":"D2","level":"warning","message":{"text":"ShelvesLibraryKt.PlankBoardRow (cognitive 21): ShelvesLibraryKt.PlankBoardRow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 3 (4 pts), match/switch 1 (3 pts), boolean chains 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":"app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ShelvesLibrary.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab74bb81ba6f7678c36fc81f7cc354c1fa9869ad4c5be6e49f13fe6d3dd5b4dc"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexViewModel.resume (cognitive 20): CodexViewModel.resume has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, error handling 2 (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/kotlin/com/chmouel/liseur/companion/CodexViewModel.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e157661d4824f13ebde3b25c5ed46c59caceb12ca2e6ce238172d16e14ba49e"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexViewModel.loadMore (cognitive 20): CodexViewModel.loadMore has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, error handling 2, 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/kotlin/com/chmouel/liseur/companion/CodexViewModel.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93ac9738e8c0d72b4c67e9e56218212a765a70a862f8f4178c54689dc3ead57"}},{"ruleId":"D2","level":"warning","message":{"text":"StoryTabKt.SoFarSection (cognitive 20): StoryTabKt.SoFarSection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/StoryTab.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"de84afccf09627ee15b6a363aeb79f54b576b445c1d741b6016b66eb78dbccdf"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitPositionAgreementRepository.adoptClosed (cognitive 20): BookOrbitPositionAgreementRepository.adoptClosed has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 16, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e61cddfd3224a16e11c58528d8e54bbc7c6d32bc222de7d6eef53a4b606e64d"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitPositionSync.sync (cognitive 20): BookOrbitPositionSync.sync has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 8, match/switch 2 (3 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionSync.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8c077249aedd029936f78d01f02dc9e68a069ce6f0056b95c51ff6a9468850"}},{"ruleId":"D2","level":"warning","message":{"text":"KosyncPositionSync.act (cognitive 20): KosyncPositionSync.act has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 2 (3 pts) (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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7095073aeb3b7e62606eaeb82c8b64d8c76bf9664ee58a80749b60bfa758a65"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryFilters.accepts (cognitive 20): LibraryFilters.accepts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, match/switch 1 (2 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/kotlin/com/chmouel/liseur/domain/LibraryFilters.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3fd67f18d297add2c71338a7b5656162b86101f522f5fa28a484ad71b86e60"}},{"ruleId":"D2","level":"warning","message":{"text":"MemorableLines.score (cognitive 20): MemorableLines.score has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, 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/kotlin/com/chmouel/liseur/domain/quotes/MemorableLines.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fccd0a88960582620e5b0952bf2ced9c206edfc09ed7f6c9e6570d7d7eb080"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationSettingsScreenKt.SavedTranslationsGroup (cognitive 20): TranslationSettingsScreenKt.SavedTranslationsGroup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 2 (4 pts), boolean chains 3 (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/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac74ab03f33bd5abfdcd97fe60d73d107b645c850b6c70578a8e4e1b1f01457"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerAccountScreenKt.KosyncSection (cognitive 20): ServerAccountScreenKt.KosyncSection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d6b0bfee0ebbc2c73bc6a51a1fde521d0780f9774263017d21a18bb35e8cec"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexSheetKt.highlightRanges (cognitive 19): CodexSheetKt.highlightRanges has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CodexSheet.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b5189bf874adcfc51d0621ac171d918361db4da70d327d0ed3adb4ac5b24cf"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexSheetKt.CodexMap (cognitive 19): CodexSheetKt.CodexMap has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 4, 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/kotlin/com/chmouel/liseur/companion/CodexSheet.kt"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"224c07ab5a4ccb6de5e120db9fc040b4a1448006ccc23b679162e50dc2dba3b6"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanionStore.trim (cognitive 19): CompanionStore.trim has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (6 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/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ab7e2bf5ffd10fa46162e7be813512237ffaedf9409f76f38fdb07d2281827"}},{"ruleId":"D2","level":"warning","message":{"text":"StoryTabKt.StoryRow (cognitive 19): StoryTabKt.StoryRow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/StoryTab.kt"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e40465bd0e8553d165b8f8c9e0034975b50c37a3162db200ef0dad8e83adb4"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitCfiDom.encodePath (cognitive 19): BookOrbitCfiDom.encodePath has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (6 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCfiDom.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e25e6ea109e2282c7c72b9d58bc4400c9ac9a01498645f57510a80df376e76d"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsBackupRepository.writePreparedExportLocked (cognitive 19): SettingsBackupRepository.writePreparedExportLocked has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (7 pts), error handling 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"1970aa36f6b258ab152e8d7ca5acbbd16275b410d5dc4e3f246e34df90fe025a"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsBackupRepository.inspect (cognitive 19): SettingsBackupRepository.inspect has cognitive complexity 19 (threshold 15). Drivers by points: error handling 5 (10 pts), if/else 3 (5 pts), loops 1 (2 pts), boolean chains 1, 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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dd455e39bfc41c81677be0e317e0daa5d0c36b21f1dc14a052001a14d1ca7b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppSettingsRepository.restoreBackupValues (cognitive 19): AppSettingsRepository.restoreBackupValues has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 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/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38cdb7cc53a1c144717fcb4f44f35f7722b910cd41426d6f49682c618880439"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryLayoutKt.planksOf (cognitive 19): LibraryLayoutKt.planksOf has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/domain/LibraryLayout.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"02496c7d69925a4a4c854ff6d5a5f07192488e676862713f60a7062d4b98d2f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderViewModel.maybeOfferBookOrbitCatchUp (cognitive 19): ReaderViewModel.maybeOfferBookOrbitCatchUp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 5, error handling 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":"app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9c47f0c1dbb1678deddb7ca8d9598ed02f589dc5b6b5e866a4bd08dcaa5df7"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteEditorKt.NoteEditor (cognitive 19): NoteEditorKt.NoteEditor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 3 (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/kotlin/com/chmouel/liseur/reader/annotations/NoteEditor.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe935e79231e71c15087475652c6c79e2c086c6ac31a76b5e8ebf1059a23e9aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadAloudPlayerKt.ReadAloudPlayer (cognitive 19): ReadAloudPlayerKt.ReadAloudPlayer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudPlayer.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4518552554a8415e85f078c799538e0412793976173852c982e230ac86e279"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingSelectionActionsKt.ActionRow (cognitive 19): ReadingSelectionActionsKt.ActionRow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 3 (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/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.kt"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a61f2d295bdb71c7de11933e802c30cb42eaf785d68640eb4b68d796d9a1bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerAccountScreenKt.BulkDownloadStatus (cognitive 19): ServerAccountScreenKt.BulkDownloadStatus has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"534a27c6147601c3f57d659c934662a431d6ad17b249bec27cad2a9d889129f0"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitPositionSync.syncPosition (cognitive 18): BookOrbitPositionSync.syncPosition has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionSync.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3090ec5ba628acf22b066d20e2e2fc36f3afbdf6b95e340857d4f61b390c9a1"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalLibraryRepository.shelve (cognitive 18): LocalLibraryRepository.shelve has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f35a7a0530b5f544d85ae4daef4e00ffedf5e44f6218b0b5b24d6a93b4c2fa"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalLibraryRepository.findEpubs (cognitive 18): LocalLibraryRepository.findEpubs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"962b02479151aeb2bd29dc45d7d8dd4bf6787de146b6e9ee127e679efdafab05"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncPositionSync.seedAll (cognitive 18): LiseurSyncPositionSync.seedAll has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d62a55525cfe108a7fd646cb7115465b73f0a1ed375cf7d9c0914e4a18e7d4"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncPositionSync.recoverPush (cognitive 18): LiseurSyncPositionSync.recoverPush has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, match/switch 2 (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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f8831c09f0d968bf546dcaa8c188d48e753f851c4a0ebb7857932e501451ae"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkResolver.prefetchCatalog (cognitive 18): WorkResolver.prefetchCatalog has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (4 pts), loops 2 (3 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/WorkResolver.kt"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa762940b21c7a1553ae6c6da72c6d2c2d7423d90d6e9ccf1157723d4c40050"}},{"ruleId":"D2","level":"warning","message":{"text":"OpdsCatalogClient.allBooks (cognitive 18): OpdsCatalogClient.allBooks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsCatalogClient.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0d6c1b8599bd0fbf746b546b8eb6e0b620a00a1b4189affe7deabcc70b7f46"}},{"ruleId":"D2","level":"warning","message":{"text":"QuoteScanner.walk (cognitive 18): QuoteScanner.walk has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/quotes/HomeQuotes.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb71181b80b25981e80ed6b4d5e343437e3fe507483349cf9fb02f71379ef011"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowseCatalogRepository.categoryBooks (cognitive 18): BrowseCatalogRepository.categoryBooks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 2 (3 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/kotlin/com/chmouel/liseur/data/remote/BrowseCatalogRepository.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0603a1229213fc457484d8017901f0e9bb1bffbff7f33d3dcec9b34d273f43cb"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslatedPages.follow (cognitive 18): TranslatedPages.follow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/TranslatedPages.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"82823d5d1cb1639771ee4a6fa31a36c1be7a2c4bd9e2ed0036501751652d92de"}},{"ruleId":"D2","level":"warning","message":{"text":"NoteMarkdown.inline (cognitive 18): NoteMarkdown.inline has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 5, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/annotations/NoteMarkdown.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7ec762e94812816589c6dea5a7d01304670539e540a84172d1898064c15508"}},{"ruleId":"D2","level":"warning","message":{"text":"WiktionaryHtmlKt.definitionItemsOf (cognitive 18): WiktionaryHtmlKt.definitionItemsOf has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/dictionary/WiktionaryHtml.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ee043d995a21c9455a5ed08608f157df091c3ca029c99441ff5e2de82c5df0"}},{"ruleId":"D2","level":"warning","message":{"text":"SpeechCache.request (cognitive 18): SpeechCache.request has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/UtterancePrefetcher.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95d6afc9b2d5ff91f978eb7b7ac84dd9ebfd5c2d4b06e3024ea429b196610a7"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeLibraryKt.HomeLibrary (cognitive 18): HomeLibraryKt.HomeLibrary has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, 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/kotlin/com/chmouel/liseur/ui/library/styles/HomeLibrary.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"15383d632db179183db6a2962c84a976da5fc80ba20058989085823c2591439a"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeLibraryKt.HeroCard (cognitive 18): HomeLibraryKt.HeroCard has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/HomeLibrary.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cc84f4885080d88e1dff6fd8046f1bd3e24e481e3abbe286845eb8bda7f8b2"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanionSheetKt.AliasPills (cognitive 17): CompanionSheetKt.AliasPills has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"325a311a8d3b743531f4e65dacf3178e6acf46abee4d573fd3707d4d42060d4a"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.around (cognitive 17): Session.around has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (8 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/Investigation.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf62e403bf46732ac3729d0178c760fdad7f20861be1e32f3a29c424ffc60ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicationCodexSource.scan (cognitive 17): PublicationCodexSource.scan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (6 pts), match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/PublicationCodexSource.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d49034a852bcdf38527df1117b7b33380b0bd3ae69d4aaeb8590b146391dc4"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalLibraryRepository.reindexBook (cognitive 17): LocalLibraryRepository.reindexBook has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"6893b7affe36f3a76300cad5bf599d497cd6d9f48400c5f46141a6b8c08b8408"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsBackupRepository.readStagedArchive (cognitive 17): SettingsBackupRepository.readStagedArchive has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a32dd158e0c1863a0c7cf6b9e402de8c74bf462ba5852e2f8e6e91419f97a1"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncAnnotations.reconcile (cognitive 17): LiseurSyncAnnotations.reconcile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29ab8656f54f384d484996df58cb3c273a7b8c2cc5ab708eefa9a98d1f7af1d"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncAnnotations.push (cognitive 17): LiseurSyncAnnotations.push has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b3c5c1343bd57a0d6fb775631f534defef6e2a5dc19224e0f952f9dedf4e79"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncTranslations.sync (cognitive 17): LiseurSyncTranslations.sync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a065e422e4deb2b5708ebdfece538f87fc03b1e61fc8ce27e632e6980579d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingPositionBackupKt.decodeReadingPositionBackup (cognitive 17): ReadingPositionBackupKt.decodeReadingPositionBackup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/domain/ReadingPositionBackup.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c560b70d429a52190884d024bc6f9b73bfeb9ed140cdb5453d04a37a6acf0c25"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderCompanionHostKt.CompanionPanelHost (cognitive 17): ReaderCompanionHostKt.CompanionPanelHost has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 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/kotlin/com/chmouel/liseur/reader/ReaderCompanionHost.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef15bc421f743a4bb7f2b94e07ae2569647ba16a9e04adb72af6e861acc86ce"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderTapZones.actionAt (cognitive 17): ReaderTapZones.actionAt has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 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":"app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ReaderTapZones.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f404edcc1231536487e91f0314ef9e8fee949ca6125016adaced6f2934a7b44"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingProgressUiKt.ReadingFooter (cognitive 17): ReadingProgressUiKt.ReadingFooter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5b5ac791523f87c226a26925d968f87c725f8e8bd6a793aef192994f6d5b60"}},{"ruleId":"D2","level":"warning","message":{"text":"LatestPositionSync.drain (cognitive 17): LatestPositionSync.drain has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, error handling 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/sync/ReadingPositionPublisher.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b68f6dc438489c2cecc11bc8a05649714675455c7cb9272a49cdeca1bd85e0"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationSettingsScreenKt.TranslationSettingsScreen (cognitive 17): TranslationSettingsScreenKt.TranslationSettingsScreen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, 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/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ac292847041e65cc749e111ad82c4bce834bcaa511ce73bf3bf3c0d0abe5bf"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationSettingsScreenKt.TestRow (cognitive 17): TranslationSettingsScreenKt.TestRow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 3, error handling 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c27f73f8b394329787eefd403b40c3f26b5f721bf95e1fe0c7cc33b5f3df3e4"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationSheetKt.TranslationSheet (cognitive 17): TranslationSheetKt.TranslationSheet has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, error handling 1, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c36d63e645afff27cb46672c9ddc157aec0dfa7555323ba5c8e55f56c3e0d74"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadAloudVoiceSheetKt.Choice (cognitive 17): ReadAloudVoiceSheetKt.Choice has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, match/switch 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/kotlin/com/chmouel/liseur/tts/ReadAloudVoiceSheet.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"410c449bca60d29528d9ce8c09244a6251d42f3aeadcaaf87ee0ac26538e730a"}},{"ruleId":"D2","level":"warning","message":{"text":"feature-graphic.html.problems (cognitive 17): feature-graphic.html.problems has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 3 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. 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":"promo/feature-graphic.html"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f9b7ead0efbef1ce97c2f11503776e94d19d0725debb69465c0111bea65593"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.run (cognitive 16): Session.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, error handling 1 (2 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/Investigation.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce630c0e0c481e7afdeb6e436320a12b8db079ef4fd4cebe48c2717c27520b61"}},{"ruleId":"D2","level":"warning","message":{"text":"BookOrbitCfi.parse (cognitive 16): BookOrbitCfi.parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, match/switch 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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCfi.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85355ac376fbaa74db2a3f2a031d1d38a02588c3e435bebf865f2a2a83f0f05"}},{"ruleId":"D2","level":"warning","message":{"text":"KosyncPositionSync.run (cognitive 16): KosyncPositionSync.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, match/switch 1 (2 pts), 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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6e79067cd4601de47eec0ef9e51d2f5310082a7a5912bf679dadd29b649e01"}},{"ruleId":"D2","level":"warning","message":{"text":"BookBackupRepository.prepareContents (cognitive 16): BookBackupRepository.prepareContents has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/BookBackupRepository.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"80beda5b3a82c86c0516cdbfd5b45235debd565923f4914d7d3cf996c8b7a2f8"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncPositionSync.previewBook (cognitive 16): LiseurSyncPositionSync.previewBook has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"548947d2629ab93609c118c495fc3162ef2f6fd69cf8772ffbace6ffc2c30400"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncTranslations.post (cognitive 16): LiseurSyncTranslations.post has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2, match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56a9541f670eefcbf4b6d453c5d858ad7d09f94b31a0e18ce2ef36032ee41bd"}},{"ruleId":"D2","level":"warning","message":{"text":"LiseurSyncTranslations.drainClears (cognitive 16): LiseurSyncTranslations.drainClears has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), error handling 2 (4 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5f87f17a08b798246fcad457a6265f5d6a6f66bb721fcb93cf71de4e8f8a70"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteCatalogRepository.retryPendingSeriesClaims (cognitive 16): RemoteCatalogRepository.retryPendingSeriesClaims has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, error handling 2, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteCatalogRepository.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"718509487a8f03d3180e19cf80c79790fcb9779fe9888254f0e3e09038a53d60"}},{"ruleId":"D2","level":"warning","message":{"text":"SeriesShelfKt.arrangedBy (cognitive 16): SeriesShelfKt.arrangedBy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (nesting depth added 5). 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/kotlin/com/chmouel/liseur/domain/SeriesShelf.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"585d83155947d00e906bf3473246b745f936b2294cd37702e8969c06c0f0eebe"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderViewModel.applyBookOrbitChoice (cognitive 16): ReaderViewModel.applyBookOrbitChoice has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 4, error handling 3 (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/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76a3e0c03c34e11cc8a979155d962dcd15ab123be1de6e994671347aac71d57"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionSheetKt.DefinitionSheet (cognitive 16): DefinitionSheetKt.DefinitionSheet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, 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/kotlin/com/chmouel/liseur/reader/dictionary/DefinitionSheet.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d981a201c2d7627af9dd05dbf0ead859ef056916fa2f38a3279afa1d82b8d499"}},{"ruleId":"D2","level":"warning","message":{"text":"SentenceTranslations.resolve (cognitive 16): SentenceTranslations.resolve has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 3 (7 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SentenceTranslations.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e9308253eab76e17f2db052d71058e85e592b1e657b35b7a0cdcb1df3b1a73"}},{"ruleId":"D2","level":"warning","message":{"text":"SpeechTtsEngine.awaitCurrentAudio (cognitive 16): SpeechTtsEngine.awaitCurrentAudio has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/SpeechTtsEngine.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"637cc8f03d454a06a77284e3959a69cbd0f310b31234a6b420908e0a00601b9c"}},{"ruleId":"D2","level":"warning","message":{"text":"BookDetailsScreenKt.BookActions (cognitive 16): BookDetailsScreenKt.BookActions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/library/BookDetailsScreen.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da95ae88412a6d14e2dd69973fd8ea046d0ee074b04e4e2cff1f6c9082f1fa7"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryScreenKt.BookCard (cognitive 16): LibraryScreenKt.BookCard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, 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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":2270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2729c0dfddb691c25440f9f1ca35dd8b77dd6d8117c1ffb1d45caabd05738dd"}},{"ruleId":"D2","level":"warning","message":{"text":"SeriesPickerSheetKt.SeriesOptionRow (cognitive 16): SeriesPickerSheetKt.SeriesOptionRow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2 (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/kotlin/com/chmouel/liseur/ui/library/SeriesPickerSheet.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb21651db22fbfcda1aee9d9906d0c49e9d106005988af1c5e29f00f8564d3c"}},{"ruleId":"D2","level":"warning","message":{"text":"MainTabBarKt.icon (cognitive 16): MainTabBarKt.icon has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (nesting depth added 5). 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/kotlin/com/chmouel/liseur/ui/navigation/MainTabBar.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7005b10b54b22e31a7975854f16fc546ad4feeadf3489d6c42ee507a0480b9"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadingStatsScreenKt.ComparisonLine (cognitive 16): ReadingStatsScreenKt.ComparisonLine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 3 (nesting depth added 4). 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/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a234ddc836152adc8bad0d20de63ed9ebd3ee47b020d78c364aa9be4104f8ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.readingProgressDao: MethodTooLong \u2014 readingProgressDao runs 1206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1106 over it, 12.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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c5eb930fd4720094730133091be8aae2bc325e4fa880dc1db84f20672ad8d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.furthestPositionDao: MethodTooLong \u2014 furthestPositionDao runs 1205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1105 over it, 12.05\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9b3a9c5c984e051ae259300362acde06d7af17effa1314dff5a4a7c23293c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.readingSessionDao: MethodTooLong \u2014 readingSessionDao runs 1204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1104 over it, 12.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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda647bc500853b1f4680eb61795f0beed3ab9493a8bfc63ddf2050e473206e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.syncPeerStateDao: MethodTooLong \u2014 syncPeerStateDao runs 1203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1103 over it, 12.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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"110a5a9cd75e7d0d3204a92fa6f19c1eaadc2893e8e182008f82bbba775fb44f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.workIdentityDao: MethodTooLong \u2014 workIdentityDao runs 1202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1102 over it, 12.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8814ce2a457f27e8b0aac1602b7747e4e92af491851b3b585efd4d17ffb0c62"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookDao: MethodTooLong \u2014 bookDao runs 1201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1101 over it, 12.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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49d5e21b9ba1ca45fedc6d19df7d8239a6c602b9246bca252531dacc5be54cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.seriesOrderDao: MethodTooLong \u2014 seriesOrderDao runs 1200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1100 over it, 12.00\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f54c22c80d847493c3e042a25a3c5a434f8dd6f2b51b22d00bc944a3a1f7937"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.libraryFolderDao: MethodTooLong \u2014 libraryFolderDao runs 1199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1099 over it, 11.99\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0451b0281867987442efce018e9232f2ae2a9c15c4c6cbffc0766d5e09ceff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.remoteServerDao: MethodTooLong \u2014 remoteServerDao runs 1198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1098 over it, 11.98\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c8cc2be9a547e3cb2ab0756a05af8219bd309d9d043ed2e9834fde0c916a26"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.kosyncPeerDao: MethodTooLong \u2014 kosyncPeerDao runs 1197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1097 over it, 11.97\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0365f4abab40e3e55cc2ed38735b81be8b8d37a5a8dec80da72126008f34d04a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.annotationDao: MethodTooLong \u2014 annotationDao runs 1196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1096 over it, 11.96\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e18bca272537a01c49a6c4e6b6016fec7b88675375ca85bf3dc3e1a5b6598e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.annotationSyncDao: MethodTooLong \u2014 annotationSyncDao runs 1195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1095 over it, 11.95\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17ddf1b081869024c17030a76ed1ca9e0846318abb0a2f2be099cbc5a8375d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.typographyDao: MethodTooLong \u2014 typographyDao runs 1194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1094 over it, 11.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afa3f44313e957887f358cd363d113bc8905a5dd194ef63bc27b6ca869cf91e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookScreenDao: MethodTooLong \u2014 bookScreenDao runs 1193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1093 over it, 11.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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"308c177e1ff8bca16c2a42aa3354310d6de7d44187e5ca1085681c134087415c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookReadingModeDao: MethodTooLong \u2014 bookReadingModeDao runs 1192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1092 over it, 11.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c1b8c634b72a11fee819dfa907d80b3ad7b4d0869aeaf4b36755ed32c8184a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.seriesExtraDao: MethodTooLong \u2014 seriesExtraDao runs 1191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1091 over it, 11.91\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e374e9aa7b84a948f83faec8458c779e880182e4ab2d0335700d059f1a4aef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.uploadRefusalDao: MethodTooLong \u2014 uploadRefusalDao runs 1190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1090 over it, 11.90\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25d14d12c900f02590348195571c2b62ecef5f570c3cc7e2df2c4fc90f8007d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.sessionRefusalDao: MethodTooLong \u2014 sessionRefusalDao runs 1189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1089 over it, 11.89\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"941c4e17998ed7ddce3736e666bda3edbae19bc6018dc86e7756502b5e669fe5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.sessionTransmissionDao: MethodTooLong \u2014 sessionTransmissionDao runs 1188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1088 over it, 11.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77e9904881c48e13a9d4af600671ce3235d1d9a4d8800a372d0e87b34eabffb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.starterCatalogProgressDao: MethodTooLong \u2014 starterCatalogProgressDao runs 1187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1087 over it, 11.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caf298ae48b24ab5ebf9202690181a6a2012418aa42a146c01c9a5bbb451496"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookOrbitBindingDao: MethodTooLong \u2014 bookOrbitBindingDao runs 1186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1086 over it, 11.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aa071309cd6bd51dd5faddb36815110c8e6164e40db31fbfa4e7277c01cf90"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookOrbitCfiDao: MethodTooLong \u2014 bookOrbitCfiDao runs 1185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1085 over it, 11.85\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"423bc71f7296fe4333a0951c1a805222da82d1186f1a15347c062c38248dc95e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookOrbitLocalCfiDao: MethodTooLong \u2014 bookOrbitLocalCfiDao runs 1184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1084 over it, 11.84\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13591afb8e7907e3460f7e9563a89aaaf3106966417bb33c1a0faac96adfb53"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookOrbitPositionAgreementDao: MethodTooLong \u2014 bookOrbitPositionAgreementDao runs 1183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1083 over it, 11.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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e785207a82f70668960ae9c871701c272b13dfc784d02ece2ace0f24819dcc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookOrbitPositionTraversalDao: MethodTooLong \u2014 bookOrbitPositionTraversalDao runs 1182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1082 over it, 11.82\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d81f3471033e62d58f101ea8fc734179d9799153a9dc9005b84e6fd43bc698"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookOrbitStatusAgreementDao: MethodTooLong \u2014 bookOrbitStatusAgreementDao runs 1181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1081 over it, 11.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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3287e89541985fb6627eb24c1f83036ed55a4ba7851d23ff4fbdf4f2e3c12de8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.remoteStatsDao: MethodTooLong \u2014 remoteStatsDao runs 1180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1080 over it, 11.80\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"947b09e868b80b8a566de3dda1659ff09154571fb52b0468dd678793bb554bb0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookAiPreferencesDao: MethodTooLong \u2014 bookAiPreferencesDao runs 1179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1079 over it, 11.79\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5590800f72bd4387d06be987e5f8680558d5cd451ce0b9249851f044cff3391"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.glossaryDao: MethodTooLong \u2014 glossaryDao runs 1178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1078 over it, 11.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca8caec0e8709d55d9d00e18f888a277fe15d5693119aa5a31763423c9fd167"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.bookMetadataDao: MethodTooLong \u2014 bookMetadataDao runs 1177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1077 over it, 11.77\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f743ac84e4a8185193b051660fa053195b12f602dcb2eb85b56e3af2d0cfa3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LiseurDatabase.sessionImportSourceDao: MethodTooLong \u2014 sessionImportSourceDao runs 1176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1076 over it, 11.76\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc6f5b5ff5a80c598da3ca6efb763d2a19ba601209dd1014fb6eccc22b37a1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reader/ReaderScreen.kt: FileTooLong \u2014 3456 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: class (439-5752). The bar is 500 significant lines; this is 2956 over it, 6.91\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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3d632abc07c9344c81bd95b569c11b4b65873c67b347fcf4aa54a75239795d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReaderViewModel: ClassTooLong \u2014 1813 significant lines (blank, comment-only and punctuation-only lines excluded), 133 methods. The bar is 400 significant lines; this is 1413 over it, 4.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9e04584c64f31daab506a80d838ce70c9b3aeeb6edb8128481a4494fd2fbd5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReaderViewModel: TooManyMethods \u2014 133 methods. The bar is 30 methods; this is 103 over it, 4.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e4a256aee8b92b87ded088addf2a9c0aa419f56189f0ed9c2534a07e5bd0a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsBackupScreenKt.SettingsBackupScreen: MethodTooLong \u2014 SettingsBackupScreen runs 430 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 330 over it, 4.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3750ec04d316042b6e1ed1f10fdc1deeb9f86e0950276e81e68395f454370fe9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/LibraryScreen.kt: FileTooLong \u2014 2098 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1598 over it, 4.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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee13e33d52b5a02ef6b626664fb6ebeec3b4210bda60d71c42932f8a7c0aa23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reader/ReaderViewModel.kt: FileTooLong \u2014 1967 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ReaderViewModel (157-3297). The bar is 500 significant lines; this is 1467 over it, 3.93\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/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"262c40a9bc55e106eb8061684c45e4716666963d3c0edea9950ea6251f466d32"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiseurSyncPositionSync: ClassTooLong \u2014 1569 significant lines (blank, comment-only and punctuation-only lines excluded), 75 methods. The bar is 400 significant lines; this is 1169 over it, 3.92\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9aba55cbdc9f9c5897d1f3beff77a179ec2a4fcbda0f0fca52ff80d345efde8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReaderActivity.onCreate: MethodTooLong \u2014 onCreate runs 375 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 275 over it, 3.75\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/kotlin/com/chmouel/liseur/reader/ReaderActivity.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"78008d27d13331f252bc5cee857819a935dbbe71146fbe282ebbce2b14143c86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: liseursync/LiseurSyncPositionSync.kt: FileTooLong \u2014 1637 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: LiseurSyncPositionSync (80-3071). The bar is 500 significant lines; this is 1137 over it, 3.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"008882836a37fa8ed069f26c944c3d1e5cfc059a158114bbfe6a049b51b509e5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsBackupRepository: ClassTooLong \u2014 1283 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 883 over it, 3.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebe5fd1df47005fddcae1d3ad472fc88709efee56d40a3019c199691ced293a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WholeBookTranslationScreenKt.WholeBookTranslationContent: MethodTooLong \u2014 WholeBookTranslationContent runs 311 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 211 over it, 3.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslationScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"294d10793595a7bbde2229c02a334b7174bb7233a64368b7d79fbc0708990184"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiseurDatabase: ClassTooLong \u2014 1210 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 810 over it, 3.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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0069ffabdbd5319cd8a15a7f0ce4254484344e812cd9682289fd244401d3125"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/SettingsBackupRepository.kt: FileTooLong \u2014 1432 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: SettingsBackupRepository (176-1822). The bar is 500 significant lines; this is 932 over it, 2.86\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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c2de21663003658a922dd7297cebcb7b6df84d0be01a731ef0e0921cc32010"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppSettingsRepository: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\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/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a6b490d3f6a90fff53b42456722642967fbbcfda77105b1332d56e08711dc9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsBackupRepository.readArchive: MethodTooLong \u2014 readArchive runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5498e363ec614ccea48ad810125daf31b4e85d388e40b64f3ee68fa17032a6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/LiseurDatabase.kt: FileTooLong \u2014 1264 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: LiseurDatabase (51-2132). The bar is 500 significant lines; this is 764 over it, 2.53\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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"658efbe76c1675f56e4b90a37d0352fbe947ab50534d0caffb393dfa448a2380"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiseurSyncPositionSync: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"677bc5ea2c7e250b60d93c109a7ddfee3d4d25e6cbb3b366090f895f46d535d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/ServerAccountScreen.kt: FileTooLong \u2014 1234 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 734 over it, 2.47\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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a91476182d5cb65e672750b056c96c065e3827d59f4f9ffa02d5e91a40abe5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/BrowseLibrariesScreen.kt: FileTooLong \u2014 1146 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 646 over it, 2.29\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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"245054eb59619cd26bb43c609cb3cff01ca7b0fca245ab92fea753925ec343e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServicesScreenKt.ServerScreen: MethodTooLong \u2014 ServerScreen runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\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/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a27af8a24bc808393c7c471ecb340f44b29a0481f30a215d66108e83d3e82a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SeriesScreenKt.SeriesScreen: MethodTooLong \u2014 SeriesScreen runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\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/kotlin/com/chmouel/liseur/ui/library/SeriesScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"782c3a3bb2eb642ec89a8ba77e822cff1ba66449811216cd1a813c1cb1ff730a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/LibraryViewModel.kt: FileTooLong \u2014 1096 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: LibraryViewModel (512-1980). The bar is 500 significant lines; this is 596 over it, 2.19\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/kotlin/com/chmouel/liseur/ui/library/LibraryViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b55d10274ab607db5fac4f74a3baa1732ae819cf19b8a18ae74641f93d1d4f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReaderViewModel.open: MethodTooLong \u2014 open runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26b0669dfd4d1244ad25f869e88f0dbd671554771b762f9317af49c4a02cae6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServerAccountScreenKt.ConnectForm: MethodTooLong \u2014 ConnectForm runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1e96c4cd85c898bba6547ad08228e354d3f33e0ae286bdcdee73f5923cc522"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LibraryViewModel: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 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/kotlin/com/chmouel/liseur/ui/library/LibraryViewModel.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78300bb1bb0b653d9aec6e21335878d99c32eb5656d0d02b9f2f92289d018de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: liseur/MainActivity.kt: FileTooLong \u2014 1022 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 522 over it, 2.04\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/kotlin/com/chmouel/liseur/MainActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e29a6ad9335cc225b29165d5a486c23e1d1e0784dad87dde3b95eb03c412e1d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LibraryViewModel: ClassTooLong \u2014 792 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 392 over it, 1.98\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/kotlin/com/chmouel/liseur/ui/library/LibraryViewModel.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f9d5b35139b5d0a26bc6f788775e4b7f0c8d0e6e90513d966d371ff9908bfc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsBackupRepository.prepareExportLocked: MethodTooLong \u2014 prepareExportLocked 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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49adb01823a302f0df0b372d00f486861a1dc72eebd7d5b53454247a2f2e26f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReadingProgressDao: ClassTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 367 over it, 1.92\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1959aead7797139f2097fe237b9785e6c9081812d66b21d2cee16a4f20b8c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReadingNavigationScreenKt.ReadingNavigationScreen: MethodTooLong \u2014 ReadingNavigationScreen runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/settings/ReadingNavigationScreen.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"516d07a6030a93ebebc3230717fb9bb60ccea873e3131f8f000da0b23910ef74"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SavedTranslations: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.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/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbbfc2c9386ac95d11da4b69e1b8f97681f04e17559e433d741ffbe8a2ce2d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServerAccountScreenKt.ConnectedCard: MethodTooLong \u2014 ConnectedCard runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"987faa2a38ec3acff78c03e7b16b385275b6c3ce5c939c87d4abe7cd524005f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EndpaperKt.Endpaper: MethodTooLong \u2014 Endpaper runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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/kotlin/com/chmouel/liseur/reader/chrome/Endpaper.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fffa5f63551a48b3a289d1c2d003775748199dacedbdf06524de19300a3c05e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReadingProgressDao: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b540f5e8c816b394c3d65f66be7622622ab75b9376702b100b10b66892458ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppContainer: ClassTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 319 over it, 1.80\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/kotlin/com/chmouel/liseur/AppContainer.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bbb6dafe65ff1b4de1e99ab903d8cd2137eee971a302e12e2b4ae57a2402b3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalLibraryRepository: ClassTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 302 over it, 1.76\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/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cab337f752c9a68e6123e473911fbaea40ff53d073820900176189b384bde11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/ReadingProgress.kt: FileTooLong \u2014 866 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: ReadingProgressDao (205-1369). The bar is 500 significant lines; this is 366 over it, 1.73\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/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3f7e965d7699055e3e41cbe66e3c7a00eb6cf75dcef9af4f83f3092dffe438"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: liseur/AppContainer.kt: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: AppContainer (122-1224). The bar is 500 significant lines; this is 337 over it, 1.67\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/kotlin/com/chmouel/liseur/AppContainer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3607aec2f94679d11da578a76d8e591cea9bc43e53c45d5f07d3de539fb151"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tts/ReadAloudSettingsScreen.kt: FileTooLong \u2014 829 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 329 over it, 1.66\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/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe06f7ea1a11d08c8618507d03334ade4c335e6ce85b3e64da3ef0691338656c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServerAccountScreenKt.ServerAccountScreen: MethodTooLong \u2014 ServerAccountScreen 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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded31bfe097ebcc3819dc2f64425633aa62e2a60cb84bf5dd25da23662e83ee8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookTranslationPreferencesEditorKt.BookTranslationPreferencesEditor: MethodTooLong \u2014 BookTranslationPreferencesEditor runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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/kotlin/com/chmouel/liseur/translate/BookTranslationPreferencesEditor.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ec84a595980e34bb6398bc5bd02737a5f76a8866a443ede96a7e69c5c75ca2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/AppSettings.kt: FileTooLong \u2014 804 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: AppSettingsRepository (544-1447). The bar is 500 significant lines; this is 304 over it, 1.61\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/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a563464321cc53f1d7f3d760738e52e3eaa9ce9658af94afcd220b60628bb274"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrowseLibrariesScreenKt.BrowseConnectionScreen: MethodTooLong \u2014 BrowseConnectionScreen runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5408e7a27211440f18fef654d9b9d083e4d5fd19aec6aefc128d0cec3f40801"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/LocalLibraryRepository.kt: FileTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: LocalLibraryRepository (67-1620). The bar is 500 significant lines; this is 282 over it, 1.56\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba562f7f7c3f1ffc40d05b99ad2a96f78cd6e300f99068832110c08ecbc45e6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: translate/TranslationSettingsScreen.kt: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 278 over it, 1.56\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/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5272c9e8ebc3ee48189dd23f15891e1acbb2c1b18d81a039de6b15f9893a3a48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chrome/ReadingProgressUi.kt: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 267 over it, 1.53\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/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a648bc0a90b216dc4a483d88d712f0e2fcbe0bfb56b71e84c6576c3dcab49eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/SeriesScreen.kt: FileTooLong \u2014 751 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 251 over it, 1.50\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/kotlin/com/chmouel/liseur/ui/library/SeriesScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb77d69db6d4f2d93144ea9e2e915bde8f63beeda4431ea3229e67d2da23be4d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalLibraryRepository: 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/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef046aad69d75f3a394572093983b2f51fc87c34e134c6ad6e7eb26bf640823"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServerAccountViewModel: 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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountViewModel.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c565d747d69359b70d681ae90a1563eddbc3bc2712cdc716becb344e253b1628"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/BookDetailsScreen.kt: FileTooLong \u2014 745 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 245 over it, 1.49\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/kotlin/com/chmouel/liseur/ui/library/BookDetailsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"361851853998fe410798624255a6bb66723760bef57d17e495a4d8ff2c9facd7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsBackupRepository: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06e65e3177d269c6d4de3ebfed7e922f1cfe47cf7f1877a2bd7b6a1f5a50d32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bookorbit/BookOrbitPositionAgreement.kt: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: BookOrbitPositionAgreementRepository (70-803). The bar is 500 significant lines; this is 233 over it, 1.47\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf2290651f7a88ccb84f6f06d8f586f4afad138b38558e7f7ee1dfe399c78e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: translate/SavedTranslations.kt: FileTooLong \u2014 729 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: SavedTranslations (481-1374). The bar is 500 significant lines; this is 229 over it, 1.46\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/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1069962652db0ec08cc87e2da0b54a8482a1deb1dce4c3d12adabc4047c9cc5b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReaderActivity: ClassTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 164 over it, 1.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/ReaderActivity.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"950e425d35b142a73c22b46ead8e687d41ffa76313a81ba212d8f5f66ed32778"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SpeechReadAloud: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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/kotlin/com/chmouel/liseur/tts/SpeechReadAloud.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f67c442d579a629f5d83836f49f56416b5b2de515c767b173ca238b794bfa8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiseurSyncAnnotations: ClassTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 160 over it, 1.40\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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f705d2cdd215be7ba3ba71662b1d86c4888c3290fd884209080bc26d2fe592a3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BookDao: ClassTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 400 significant lines; this is 156 over it, 1.39\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/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be883011c95b18d8573b462b8939d0f8a6f3f74a751f6543e133c8013566bae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: styles/HomeLibrary.kt: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 182 over it, 1.36\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/kotlin/com/chmouel/liseur/ui/library/styles/HomeLibrary.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e120458c7e3a0d4ed948c2bfdc75a0707c1ef073dd0d80548019142994e22a2c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BookOrbitPositionAgreementRepository: ClassTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 140 over it, 1.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"181685f7e71fadb66b6fc992c7a43e57e5a7f8380079621d9bccf7ead77cebc7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageViewerKt.ImageViewer: MethodTooLong \u2014 ImageViewer 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/kotlin/com/chmouel/liseur/reader/chrome/ImageViewer.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b03e83c8e0a942044338f25f1dbab66caec33ed2ec426efd4384b911abec336"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAiSpeechServiceKt.OpenAiRows: MethodTooLong \u2014 OpenAiRows 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/kotlin/com/chmouel/liseur/tts/OpenAiSpeechService.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2a38c2c0b285ed0b597e6f30d9625a8c05246ac93743ff7c01a178c3e1a32e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reader/ReaderActivity.kt: FileTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: ReaderActivity (82-1068). The bar is 500 significant lines; this is 160 over it, 1.32\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/kotlin/com/chmouel/liseur/reader/ReaderActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaa8608e001077d9eb611cc39e08564e3bc5a6d6a2fbd7435dc5f38f5b24105"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContentsScreenKt.ContentsScreen: MethodTooLong \u2014 ContentsScreen runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ContentsScreen.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"224a4fc80056b452a891746a40703bb58b8913f67900dcae1441176fb85c41c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/Book.kt: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: BookDao (279-1114). The bar is 500 significant lines; this is 158 over it, 1.32\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/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c540e7c78acf36b9a1014701adadefae6ea5ed85cc5de3416f497879c878ac0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reading/ReadingAppearanceControls.kt: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 156 over it, 1.31\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/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab74a9fbd0ad0b948a49b65fa1554e27493c1d5df69d9ad4e956a28ade493f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppSettingsRepository: ClassTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods. The bar is 400 significant lines; this is 121 over it, 1.30\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/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48a6cfb96a6010d8b52495ab57ba0e4aeea885999b030bf9f205de4e0e8f841"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteAccountRepository: ClassTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 117 over it, 1.29\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/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76cb61d6801a3e137cce81e501b731121264ea9fe89e04c63b2b27f95165372"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/SettingsBackupScreen.kt: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 123 over it, 1.25\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/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d895d8e3c610f8e38d7123fdc0da274b6378a345b3cc5a8c8fdba0939a9b9b3e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BookOrbitPositionAgreementRepository: 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":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c9df89b4b602064be6121ff6872b272b80e4acfa8abbcfc294cab476590b5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: companion/CodexSheet.kt: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 109 over it, 1.22\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/kotlin/com/chmouel/liseur/companion/CodexSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfa5baca47e585652da47036e9d2c8818e035042c3c7ae127ae4564688b96cb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrowseLibrariesViewModel: 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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesViewModel.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd23e34fc948a022b7be7f5da4aff65412ad0d6840594a1a01e63e9f3051df79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Companion.mergeDashboard: MethodTooLong \u2014 mergeDashboard 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/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsViewModel.kt"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee4eb80695466ba953f448af8cfda026c60d6da33718a989096f1fbddaa3047"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompanionSettingsScreenKt.CompanionSettingsScreen: MethodTooLong \u2014 CompanionSettingsScreen 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/kotlin/com/chmouel/liseur/companion/CompanionSettingsScreen.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb834734402b2e5e547a6b365433387879f323386b6d549d92b44c00ff0cab1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KomgaSyncRepository: ClassTooLong \u2014 472 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 72 over it, 1.18\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/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8948cf21728f57f0f689f11109b9920da35322f0ec798c2f0f968d48a639e283"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiseurSyncApi: 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncApi.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cc212689813437bfdc16fd061dd7f8ad33ed5e73e0d3a03df5e4c0849bcf45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stats/ReadingStatsScreen.kt: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 82 over it, 1.16\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/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f320a4140a3b8e7bbcba0355ba1441dc3b1fc96f0d2fff45e8b7fe9ae6d04d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SavedTranslations: ClassTooLong \u2014 464 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 64 over it, 1.16\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/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a81f1444afba36164df606495e1f78193f126e848281b7268320bcf5fc3820a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: liseursync/LiseurSyncAnnotations.kt: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: LiseurSyncAnnotations (53-1182). The bar is 500 significant lines; this is 77 over it, 1.15\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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0301c481bad7ddb9a704c3c2124587ce46c49b3d553f9dc29e35afe28c0fa1a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeLibraryKt.HeroCard: MethodTooLong \u2014 HeroCard runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/HomeLibrary.kt"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7280950f1c1bc525d09b6ce9d4e57b6224f7fa460af19bcd265f3cb7d25f4b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenAiSpeechService: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/OpenAiSpeechService.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ac720592c619c200415624dd5c5b432e5cbf9dadd12eeab2e86642620fe852"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NoteEditorKt.NoteEditor: MethodTooLong \u2014 NoteEditor runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/kotlin/com/chmouel/liseur/reader/annotations/NoteEditor.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1dd1f8f3ff80f006c6284e7d21aa82dc48759a2ee15259a2f364b51572ebe3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: library/SeriesPickerSheet.kt: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 59 over it, 1.12\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/kotlin/com/chmouel/liseur/ui/library/SeriesPickerSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3778d4a7d874bb8f4feaf3fc7169fd5876b3593127098add5c7f322ad0d9655c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/ServerAccountViewModel.kt: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: ServerAccountViewModel (212-1005). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a710bfa99096158eed08088e6bddd81a9b72a824da930b6df55f5f744a2c4e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SyncPeerStateDao: 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/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6486837fce97926c6790610352387bd52ecd660f9d8915b308b12947acca4a28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpdsParser: 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/kotlin/com/chmouel/liseur/data/opds/OpdsParser.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb53bc08426a19c5a97eb55590af795f125acc4fddf1df6a8ac1c562f31ef47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote/RemoteAccountRepository.kt: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: RemoteAccountRepository (42-1227). The bar is 500 significant lines; this is 50 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cef80cb009f8f1f9d8cc621c948e0540fa67d35a49c6e4ab47f6fc92b7b109"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReaderViewModel.onLocatorChanged: MethodTooLong \u2014 onLocatorChanged 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/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"f474ab8bf15608fb1d1bd63648b3714d5f63fcbd0319a106be8a58d1b6e175de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: translate/TranslationSheet.kt: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 48 over it, 1.10\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/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59839ccf6d888a21c5e2d309028a2ce5a1ec15a24d29bd1daa2271eee37cdb13"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServerAccountScreenKt.KosyncSection: MethodTooLong \u2014 KosyncSection 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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8e793874df8b42767d6b3633f61c81aa3245396a7d9bf61e66bf010dc9b1f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranslationSettingsScreenKt.TranslationSettingsScreen: MethodTooLong \u2014 TranslationSettingsScreen 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/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f650a6a7a289178bcc568d863c0dd7352ad1d6bf81f418bfc2a2a695c40e7a6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemoteAccountRepository: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"93da51bc3ed06be8e1ac0785ce5bf9d48442dad998a578933ad71db04897f4ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServiceTranslate: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/ServiceTranslate.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a6abedd9dae510bbeb3826282c0d8b22d16b6e5e5310986e4573afca3e28f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReadAloudSettingsScreenKt.VoicePicker: MethodTooLong \u2014 VoicePicker 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/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"f852d127dea503da961ee1a43d547a4208e043958231d1b94f2b7714426a5ae7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReadingNavigationScreenKt.DictionarySiteRow: MethodTooLong \u2014 DictionarySiteRow runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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/kotlin/com/chmouel/liseur/ui/settings/ReadingNavigationScreen.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a2da5bc32d00ed61e973ebef4d8a5dfd64f587c622ab4067d39de98a29807a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ServerAccountViewModel: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 18 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountViewModel.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65f12409c6e3efd01b997b5ff89fd165a1c84fb94bb8572177c18c819e2aa1f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiseurSyncSnapshots: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 16 over it, 1.04\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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e803e3a9214bd4e09435249c4506ad08c1dffc487f0e2dafafc02a73bbdeaafa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: komga/KomgaSyncRepository.kt: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: KomgaSyncRepository (83-856). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4152a3a09af823085cee17959757c3eb533f92b7a3b0fc9e13c105db9c0642"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stats/ReadingStatsViewModel.kt: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: ReadingStatsViewModel (155-909). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26fad0f2a6f40f6be9972fcf572258841704561cd1f842cb3f4e2594c3264f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BookDownloadRepository: 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/kotlin/com/chmouel/liseur/data/calibre/BookDownloadRepository.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a9bcae76fb4af03c224c4a47ee49061b60404d06070a857550814846dc2d84"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LiseurDatabase: 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/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1e9aba325c5e201cd55b1df6c59385e3c8b188ae47d581132ebc44990a3fb1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReadingSelectionActionsKt.SelectionActionEditor: MethodTooLong \u2014 SelectionActionEditor 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/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cb9534d92b70ddaf9db973f7f4049e52fa1eaab561fe5b6196454145a1d58b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReadingAppearanceScreenKt.ReadingAppearanceScreen: MethodTooLong \u2014 ReadingAppearanceScreen 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/kotlin/com/chmouel/liseur/ui/settings/ReadingAppearanceScreen.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"630d277b84a5c7ef7aa254302f6756c032d20212a1de27fc85c8875191546a11"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: companion/CompanionSheet.kt: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 11 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/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13847c36bba11ac35d5cf548a7f1bb8ca4185f619755ef71ad93bb3198c2b495"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: styles/ShelvesLibrary.kt: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 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/kotlin/com/chmouel/liseur/ui/library/styles/ShelvesLibrary.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2f35bc34170881406def94226198a8338bc1df135985a40daf3761cfa53a91"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SpeechReadAloud: ClassTooLong \u2014 405 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/SpeechReadAloud.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1d579de3781626dc867eba06ca7c3fb327b4261534af0246cfa2073065b57a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tts/SpeechReadAloud.kt: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: SpeechReadAloud (69-711). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/tts/SpeechReadAloud.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd37c081326c4925af94f4d07de573be08db0157484bb28bffa1a86394fdd9b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReadingStatsViewModel: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsViewModel.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69ec5366a8ef6c7bde85b95c77866f63d9831cc936ed39d8102daaf72e29332"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tts/OpenAiSpeechService.kt: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2 over it, 1.00\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/kotlin/com/chmouel/liseur/tts/OpenAiSpeechService.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d05870a6471140a2da46927ab0a6facc2891528306dcafa13a7a5ac413da33"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (64 shared lines): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:268-355 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:300-388 \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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"600acfa4ff73fa4bfb01e3261a5b43ca837b75971f93b12c87272f6fe575c391"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSettingsScreen.kt:83-229 | app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt:141-286 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/HiddenBooksScreen.kt:48-98 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ReadingAppearanceScreen.kt:103-234 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsScreen.kt:122-444 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/WatchedFoldersScreen.kt:59-174 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSettingsScreen.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"70adf34e0640b23c5a1a6b7000e8bd998fa47939cb8322e52a66b8520dfaf145"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt:221-251 | app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt:165-248 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ReadingNavigationScreen.kt:125-348 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:160-341 \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/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df1ead29071ab92352436bf42efafa565e3dda02c3adbc8f8605f6f713e876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2288-2380 | app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/StyleParts.kt:72-146 \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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da6fc0064fcf9849271548c185e7f6653ae9c2da220ceaa96af1d3fa7774a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/companion/ServerCompanionService.kt:176-231 | app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt:314-351 \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/kotlin/com/chmouel/liseur/companion/ServerCompanionService.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"59aaa428ef693367f5b5d126a568dedccb81c992f2da1f02b5013898c1e9c416"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:523-590 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:641-712 \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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9b9c6427c74cda9d075f1345d37669f586eb9994c7635ffa3fafb941370bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:188-236 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:506-564 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ede6366347ea63c216194554797bf69c33af250f49cf1a36e22a35e24f0830"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/domain/SessionBackup.kt:23-57 | app/src/main/kotlin/com/chmouel/liseur/domain/TranslationBackup.kt:18-49 \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/kotlin/com/chmouel/liseur/domain/SessionBackup.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf6d5102bfa04893dee767c054b7e5b684c67001283e2f27c3f3f99db04da3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:203-239 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:220-257 \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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"684d924709c7dbbc4074a89f8a507f052a8d129e498b48e64bf9d5851f56e77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:118-153 | app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:126-160 \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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a555640d93d164ad27f23b888edcd2bf8111b373b75b065b22f54bb3d01332"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:567-608 | app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingFineTypography.kt:264-304 \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/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"797e6d0cc56088cb65fd4ce3345c2e03806e3ae1df15a9bd36dcd593db81d86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2662-2699 | app/src/main/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt:709-742 \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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":2662}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9f9ded9a9ae3a8338f16f8ddcfe3c4f67c8ac03e5ebab489e1400607e1a59a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt:203-231 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:1396-1431 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee5e66e1fb874ae0a578a0e1ee536024c2dd4c1611763a2eb4d5d9e53708638"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/companion/RecapScheduler.kt:443-463 | app/src/main/kotlin/com/chmouel/liseur/companion/Reimmersion.kt:194-216 | app/src/main/kotlin/com/chmouel/liseur/companion/StorySummaries.kt:358-377 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/RecapScheduler.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5f5c1d7f7a75937e98654c7a6320c6a4e98abf7c5e82dac0709817ecd399cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt:1275-1304 | app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt:1317-1339 \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/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35310827f91f8106559b2dd9b8ade0a2e3309afa2273a59efaa180d521ef71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/annotations/NoteEditor.kt:254-290 | app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt:481-506 \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/kotlin/com/chmouel/liseur/reader/annotations/NoteEditor.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28246fb1a2285dae505c09e33d60e00d5882c7fe7be014621e4140da03a1494"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:181-206 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:464-492 \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/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd856751f126c86cec4a1d2161a037048215f777f49c9f1bc70672b5337a1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncCatalogClient.kt:32-48 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncUploadClient.kt:59-88 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncCatalogClient.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3527e35571789395b86a93b76d80f45566818e760d715ecc6f4828182bfea6d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/translate/OpenAiChatClient.kt:54-70 | app/src/main/kotlin/com/chmouel/liseur/translate/OpenAiChatClient.kt:97-110 \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/kotlin/com/chmouel/liseur/translate/OpenAiChatClient.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae25b2adf6bdf93532bd04b17437ebc844265c355c8cf0aafe221a57f1e885ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:248-266 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:266-285 \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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e385816a3f354d1a7d2a517d4a1dfe870bf09be418c3c29c9d45b1dff084dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUrl.kt:36-53 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaUrl.kt:30-46 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUrl.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9434d6f754054ca9d4b6a62dd6dd937684afff57453338058f4fe8d7cbcb6468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingFineTypography.kt:199-219 | app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingFineTypography.kt:228-248 \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/kotlin/com/chmouel/liseur/ui/reading/ReadingFineTypography.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf77ac9af59bca6207a22df2445dca1f9b973a6715c0a46172cca4693d7d626f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/translate/DeviceTranslationService.kt:142-175 | app/src/play/kotlin/com/chmouel/liseur/translate/MlKitTranslationService.kt:156-187 \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/kotlin/com/chmouel/liseur/translate/DeviceTranslationService.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2da8a23c0c7f3971391949e1251a18cfa3fe23789d389549d232ce662dc4bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt:295-306 | app/src/play/kotlin/com/chmouel/liseur/tts/GeminiTtsClient.kt:228-241 \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/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10b3087676a219072876388e84decbcd6d614cc4905a794df3be9efaace1006"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt:1147-1160 | app/src/main/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt:1206-1220 \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/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0476c854b118baa03a38ae3b33d9543555c06bb166888ee4fc2645ac01e4f27e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt:850-883 | app/src/main/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt:891-916 \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/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"2496ee0d98d7cd0cad11e8d1e275b113c0420b0cb372f6a3b8097b413466168c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt:149-170 | app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt:184-205 \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/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9872f8413757617da580e0c764566d8f5d3aa02ac44aadb42367709bb3b5b84b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/dictionary/WiktionaryClient.kt:338-354 | app/src/main/kotlin/com/chmouel/liseur/translate/TranslationHttp.kt:44-70 \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/kotlin/com/chmouel/liseur/reader/dictionary/WiktionaryClient.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96e532428ededaf7ba3e6b8f8d1af12919ce1728432ea335971d8b946be7a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1648-1663 | app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1669-1687 \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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"502af07fe86f08715511ba48fd346c36a0f765940429730085dac29ee55e2de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/UploadBookOfferDialog.kt:38-61 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1476-1497 \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/kotlin/com/chmouel/liseur/ui/UploadBookOfferDialog.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"71dc60955aa67f824c7af9aa6ebf9e1e4c108d423d033be32a8346e28a46dc0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/calibre/CalibreUrl.kt:18-34 | app/src/main/kotlin/com/chmouel/liseur/domain/DictionaryUrl.kt:29-44 \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/kotlin/com/chmouel/liseur/data/calibre/CalibreUrl.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"212d302cdb65d54c37251969713c241a33d2dd6afc580a92945cf0efcc96d7ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/library/SvgCover.kt:116-127 | app/src/main/kotlin/com/chmouel/liseur/data/library/SvgCover.kt:202-211 \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/kotlin/com/chmouel/liseur/data/library/SvgCover.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"393631ed55b7c707cef4e9192c457c43a0e5756271a042b57eb09ccf1203e0fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt:418-427 | app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt:442-452 \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/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaaede3943e32b90272427f0b6370325a3526f536b7951a029a814c4c02f9781"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt:187-197 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt:203-212 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a598f1c750ccfc921b3ecac5ca621f7cc635f27d54435aafd7773814ccae829"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSetupSheet.kt:197-213 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ReadingNavigationScreen.kt:625-639 \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/kotlin/com/chmouel/liseur/translate/TranslationSetupSheet.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f1fb6258d4d6f4b30304b783f744a7bc7abc231cb6b0b518fffd1ef44e0b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitAuth.kt:92-111 | app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitSetupClient.kt:195-206 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitAuth.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0e083552236339d7e54b28714dcf8fc9231e799a71d818b1eac6bd6b882578"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:833-852 | app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:859-878 | app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:909-923 \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/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"40200be59c0d22b081ba8b2431c266d7a8a741c7c1c456e0b8e1cb0fa0e7f60d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt:660-671 | app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt:695-705 \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/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dad86940a7b6fa679f8a72386df26e2868d1b502d02bb0eeccdbf486d3eede"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt:367-374 | app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt:405-413 \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/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d766e51e36b4785647980a77866cc9c4087f14861d4458b14cf2f479d515cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUploadClient.kt:433-445 | app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUploadClient.kt:550-564 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUploadClient.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9275d4259413523b4129c82c2009386aa14e52f858dcc51d30ff4a4fe5ac04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/progress/BookPositions.kt:262-272 | app/src/main/kotlin/com/chmouel/liseur/reader/progress/BookPositions.kt:274-283 \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/kotlin/com/chmouel/liseur/reader/progress/BookPositions.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fcb92ee56a0037560b6909f0baba8722a096c864c342750f52e85f37baa76d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/chrome/TypographySheet.kt:124-143 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1743-1763 | app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.kt:58-66 \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":"app/src/main/kotlin/com/chmouel/liseur/reader/chrome/TypographySheet.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c28e2f2d642311ec976eb4ac545940538f2412126a93fda021f39bd3ff66643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/foss/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.kt:16-29 | app/src/play/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.kt:17-31 \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/foss/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24bfd618a5caab6ba6edf8d775efde796689f18f489be1fe88c500e8dd6d40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1445-1455 | app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1457-1467 \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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"805c54d9304bc620fd389058a77a8b74e7ef10cb0280a4cf76986519d1dac3e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt:108-115 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.kt:93-100 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"797bcc0c6be8470a874a0f3ec4c81c95fcb3335bb7873a12090410dd040de418"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/ClearTranslationsDialog.kt:12-24 | app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ExternalLinkDialog.kt:24-38 | app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt:666-675 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/ClearTranslationsDialog.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb01e96b8c63ada72e40ce12995db3afea6b99454273cf84a4d0bb0ef0a418a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1368-1379 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1430-1441 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1450-1461 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ad964ae5025734569da64d93872e2783515f56a46bcf0e4f4acb577f08709c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/chrome/AdvancedSheet.kt:209-228 | app/src/main/kotlin/com/chmouel/liseur/reader/chrome/AdvancedSheet.kt:235-254 \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/kotlin/com/chmouel/liseur/reader/chrome/AdvancedSheet.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"164e5c10eadbd4f21e41da8261706243e48c8e99d0e2dc61305b4f9871d9b7b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt:282-292 | app/src/play/kotlin/com/chmouel/liseur/tts/GeminiTtsClient.kt:217-225 \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/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f183bc71c6b16d74c65628379d639c3005318f8ec2e5ff9492944426fc877f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt:110-119 | app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt:194-202 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9fc89357a8e1af156d6cf95e3f2918830f8760657e5097ba72d8d36ce4fec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitSetupClient.kt:102-123 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSetupClient.kt:95-108 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitSetupClient.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe16936185cb6ed0a8588d8dc7a9dcaa024821276036beb6a1782e07cc79f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2474-2491 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2753-2770 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2780-2797 | app/src/main/kotlin/com/chmouel/liseur/ui/library/SeriesUi.kt:264-281 \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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"229724570739f8f13b6876b29d03146607235f47f3c1f43a6197e35dbb72d4b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt:406-415 | app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt:430-439 \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/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16f5f983e7e084f09dddb584a10f342a6939ca3cca1ece257d5567ed6a8a092"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt:1308-1316 | app/src/main/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt:1319-1326 \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/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8193d6082759fcd31febe5ff8abbd0e41233957e6bfcdbd4b15f716e177a21b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/foss/kotlin/com/chmouel/liseur/translate/TranslateFeatureFactory.kt:12-24 | app/src/play/kotlin/com/chmouel/liseur/translate/TranslateFeatureFactory.kt:12-27 \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/foss/kotlin/com/chmouel/liseur/translate/TranslateFeatureFactory.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46957ce64d8501d99f64e00d4b8b802941ab684825af7858db6a3cee8418e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/companion/CodexViewModel.kt:183-190 | app/src/main/kotlin/com/chmouel/liseur/companion/CodexViewModel.kt:193-198 \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/kotlin/com/chmouel/liseur/companion/CodexViewModel.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"376c4adea68dfa5190c9a52425aae7b76bfac132a7a7650c1f7a3364a8dcd804"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt:611-632 | app/src/main/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt:199-224 | app/src/main/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt:498-517 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96bd5dcb741aa084865823052b9929ee9ba6af61f766606db1c0eb5c7a8b2e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt:293-308 | app/src/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationService.kt:158-172 \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/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa03289d850ee614a28e25bfeba79acd7a3ef1e94c8683926852192f246233ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/companion/ServerCompanionService.kt:127-135 | app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt:378-386 | app/src/main/kotlin/com/chmouel/liseur/tts/OpenAiSpeechService.kt:434-442 \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":"app/src/main/kotlin/com/chmouel/liseur/companion/ServerCompanionService.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d78f0c24eacc5d96d5af00a973b4038e44672e160e2c3700cc492361d8ca67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt:329-334 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt:337-343 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"739dd598fc9aa9b43caad32c3b8809065cebe60e3cab7e9ce0d26c503a495c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryEmptyStates.kt:367-382 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryEmptyStates.kt:395-408 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryEmptyStates.kt:421-434 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryEmptyStates.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68e3614ec4c4e026d85f2feaf535f7d2a494f603b24e6d58d6079cb16db0510"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt:171-176 | app/src/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt:178-183 \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/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba1cdb5e210f4a77b6a60401b78953fdfb77815681879123d8acc1fa3954862"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/library/DocumentIdentity.kt:134-150 | app/src/main/kotlin/com/chmouel/liseur/data/library/DocumentIdentity.kt:152-161 \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/kotlin/com/chmouel/liseur/data/library/DocumentIdentity.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"712c12ba526e5f9f380b551db3fac923e432acf877109fbc2fa1f1f79a842ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ContentsScreen.kt:550-559 | app/src/main/kotlin/com/chmouel/liseur/reader/search/SearchScreen.kt:306-315 \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/kotlin/com/chmouel/liseur/reader/chrome/ContentsScreen.kt"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"3850b4cba4f4b6c5fb16700a6ce11ce7d824ec295574e28ad542c0f66f600b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/play/kotlin/com/chmouel/liseur/translate/GeminiCacheDiagnostics.kt:71-79 | app/src/main/kotlin/com/chmouel/liseur/translate/ChatCacheDiagnostics.kt:27-34 \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/play/kotlin/com/chmouel/liseur/translate/GeminiCacheDiagnostics.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa6b6ae95debb36848128ec74db8206fcbbf383716dd2b7da7f45e89325ea27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt:1118-1127 | app/src/main/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt:1135-1144 | app/src/main/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt:1190-1199 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/settings/AppSettings.kt"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d36a2f533259cb2cd8ccab1e6517f5c21e0973328e7e9d47fb8f2954a242d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/chrome/Endpaper.kt:522-527 | app/src/main/kotlin/com/chmouel/liseur/ui/library/SeriesScreen.kt:1092-1097 \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/kotlin/com/chmouel/liseur/reader/chrome/Endpaper.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b630fb16ccaf18b168d32fda4480b7114a639ce8559e24748ed33c848a901cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCfiRepository.kt:300-304 | app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt:780-784 \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":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCfiRepository.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5389bdfa9b40b172abf80d7af39b1ccd0e1ec77f6e92b4369d7896b44a12a225"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/domain/SessionBackup.kt:134-137 | app/src/main/kotlin/com/chmouel/liseur/domain/TranslationBackup.kt:139-142 \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/kotlin/com/chmouel/liseur/domain/SessionBackup.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e39aa3d88e1ef5cb9b7f15f499df954b211a363d8290c7dd7f63f125d04204"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1731-1740 | app/src/play/kotlin/com/chmouel/liseur/translate/MlKitLanguagesPage.kt:185-192 \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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03df7b20ce613e56d680a0ec3395b9537eb78dd04c3928f7ca74c2ce83d1de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt:264-269 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaHttp.kt:85-90 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd9ce5911a7dbceff6f00cbf3e46ca0ab69947413ce93eff69ffa0f0a402a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitEpubInfoClient.kt:61-69 | app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitProgressClient.kt:88-94 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitEpubInfoClient.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df7ab4219e9a13feb200345418d1b65df7bd2b898f3312851d74d3d0d41bab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/ImageAtPoint.kt:280-288 | app/src/main/kotlin/com/chmouel/liseur/reader/SpokenMarkTaps.kt:147-153 \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/kotlin/com/chmouel/liseur/reader/ImageAtPoint.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e1c8108e7da284c4cb5b40e04596fb207b47f49fe4c65812a8b76668502c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/IssuedMoves.kt:237-248 | app/src/main/kotlin/com/chmouel/liseur/reader/progress/OpeningRestoration.kt:127-133 \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/kotlin/com/chmouel/liseur/reader/IssuedMoves.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"675a9d5df064b9572fc4221c53a4109c137c738e49a95220ae0e0024eedf0ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/translate/BookFacts.kt:72-75 | app/src/main/kotlin/com/chmouel/liseur/tts/ServerKeys.kt:70-73 \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/kotlin/com/chmouel/liseur/translate/BookFacts.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"af146105fa29a4fe837483678a34797f4a2ce1e591b1512c37215502323e8308"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:611-618 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:292-298 \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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1728e05eec1b7967ed714ad2379deb2dcbd56737453c9c43c681a08a12895ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/DictionarySelection.kt:158-164 | app/src/main/kotlin/com/chmouel/liseur/reader/TranslatedPages.kt:361-365 \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":"app/src/main/kotlin/com/chmouel/liseur/reader/DictionarySelection.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ba8b4e5c9ade8cabd69105572b5c80a92dab5ce58c88ed4a5d69dea3b1e8d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/domain/SessionBackup.kt:128-131 | app/src/main/kotlin/com/chmouel/liseur/domain/TranslationBackup.kt:133-136 \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/kotlin/com/chmouel/liseur/domain/SessionBackup.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e6ba7040c134696fddbff265e77241de9b57d5fcf3a097140d427889b791ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/SelectionBlock.kt:23-32 | app/src/main/kotlin/com/chmouel/liseur/reader/progress/ScrollProgression.kt:30-39 \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/kotlin/com/chmouel/liseur/reader/SelectionBlock.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4fe63b17e618114c27a282624d96989895c65cd49c2e0c8d771de52b670b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/AppContainer.kt:240-250 | app/src/main/kotlin/com/chmouel/liseur/ui/widget/WidgetUpdater.kt:99-110 \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/kotlin/com/chmouel/liseur/AppContainer.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ad9012ebaaed18acf7fd1ef9ab185a86f7b6167ee25d8d5fc78ac9ddbb09cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncCatalogClient.kt:154-156 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:2888-2890 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncCatalogClient.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdab0da883f57733eaa8a061370dafe4e5144f0393be502d5493d815cb935af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt:92-94 | app/src/main/kotlin/com/chmouel/liseur/translate/TranslationService.kt:115-117 | app/src/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationService.kt:75-78 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91f2d7a293f7080eebaaaa331da6652d82beff8167a3a4c7d93c7ba5fe6feb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt:294-297 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaHttp.kt:115-118 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"61aed51cf81866ef753a33c5e6e1173ed97f1a3f53b983126fd1e03d0c32dbfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt:468-475 | app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:107-114 \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/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"3082e7f195051bfd27ecf69f7abe58fd41addccd9de270d08f435c0e32eecbdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitSetupClient.kt:212-217 | app/src/main/kotlin/com/chmouel/liseur/data/remote/SyncFailure.kt:195-201 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitSetupClient.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"92769ad4ba452672c2cdeeb62c047b3586d13453b51b7ce27ee8d5783c63ff89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/domain/SessionBackup.kt:139-142 | app/src/main/kotlin/com/chmouel/liseur/domain/TranslationBackup.kt:144-147 \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/kotlin/com/chmouel/liseur/domain/SessionBackup.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa48b9850bba762bcf7a970a4ec94d870b136b446f577362446c65816dd6e6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt:313-313 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaHttp.kt:140-140 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"979847c8378784dcf767218971a6ce6519ba0aad8ae5451de77152edc0d346e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt:544-552 | app/src/main/kotlin/com/chmouel/liseur/companion/CompanionViewModel.kt:400-407 | app/src/main/kotlin/com/chmouel/liseur/companion/StoryController.kt:252-259 | app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt:1195-1203 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec64f66c2a8abf63006d539864d4a193292e31963a9e41849d91aa1d6fe5765d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaFileSource.kt:22-26 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncFileSource.kt:23-27 \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":"app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaFileSource.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6af26aab3d34826dc070ac01408ec432aef5a788bddf5c0c73f61fabf9558f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:507-509 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:621-623 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt:1070-1072 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.kt:459-461 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"981c4abd50602ab31913f4e3d55caf2a429bb3d11b53e84ce3921b206cf62ddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/reader/SelectionHandleFix.kt:294-302 | app/src/main/kotlin/com/chmouel/liseur/reader/footnotes/SameDocumentLinks.kt:133-142 \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/kotlin/com/chmouel/liseur/reader/SelectionHandleFix.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7357d4148a2178637dc78c7f3e9128ea1a4e0abe46d457830ecf985958a3ebb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncServerSetup.kt:198-198 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/WorkResolver.kt:555-555 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncServerSetup.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8896ba93cc025db472e590eba5f49a60b2e2c31a4a061b2fd3c2320b3d7351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:524-560 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:643-679 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:524\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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2256140ab229ca0ea0a811cbf87a375cf1c072c3f5af7182ff59d3e631f72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2303-2333 | app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/StyleParts.kt:89-116 \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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2303\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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"006f5e792fdbca4d65cf2bfc583821d3d90e7e00f39adcbb98dd17fd53107c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201330 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:561-590 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:687-712 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:561\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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb6e9de278b4a1e39a89ccc2fcb4dd89e69936ee5f5bc8790a4c29ac3ac7fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:298-326 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:331-359 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:298\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:297\u0060 calls \u0060allRemote\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:329\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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59a846f053fbba6f7f975b9ee4fdedbc521bdaf4fd2abe3273ddc4eb77fb59d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:330-355 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:363-388 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:330\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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96aafb4a97a70352953c392ecc3f877150f671c2bd622a8a304568ada90067f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/tts/OpenAiTtsClient.kt:508-533 | app/src/play/kotlin/com/chmouel/liseur/tts/GeminiTtsClient.kt:85-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. 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/kotlin/com/chmouel/liseur/tts/OpenAiTtsClient.kt"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32d5fea15960023e3056246fc58840b0049db61dad0825a6d68ccd468f6d206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:711-731 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:1525-1545 \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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:711\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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b4d405564ef731f9e45260663e4ab26896c3da7b46862ebac313f7df0d9b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/play/kotlin/com/chmouel/liseur/companion/GeminiCompanionService.kt:108-129 | app/src/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationService.kt:177-198 \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/play/kotlin/com/chmouel/liseur/companion/GeminiCompanionService.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4740fcd1501f2940ee1579b19b58ea6d8fe6dd73fa4cef3cc5821630053c48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/WorkResolver.kt:267-285 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/WorkResolver.kt:483-501 \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/kotlin/com/chmouel/liseur/data/liseursync/WorkResolver.kt:267\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/kotlin/com/chmouel/liseur/data/liseursync/WorkResolver.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a2c8090de3c00f6cb168bfcf7c94732af12f6f6f9d764235b64df6d15d0357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201318 lines \u00D7 6): app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSettingsScreen.kt:110-120 | app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt:183-193 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/HiddenBooksScreen.kt:56-66 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ReadingAppearanceScreen.kt:113-123 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsScreen.kt:148-165 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/WatchedFoldersScreen.kt:97-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSettingsScreen.kt:110\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/kotlin/com/chmouel/liseur/companion/CompanionSettingsScreen.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7e541e31cf3367f67646df8a55274efefa549192b0e8aa513b9de2d1d3aeb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 4): app/src/main/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt:230-244 | app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt:187-201 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ReadingNavigationScreen.kt:134-151 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:179-195 \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/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt:230\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/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8ef23a7761972886fefd6be97a3c8251207ac63e29eb7e2b72f2beeffd1a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/MainActivity.kt:1227-1244 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1209-1226 \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/kotlin/com/chmouel/liseur/MainActivity.kt:1227\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/kotlin/com/chmouel/liseur/MainActivity.kt"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc624cb5930422df7482276c7a216fd57bf4d9708f5244c2532352d0e425728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:220-236 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:548-564 \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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:220\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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fd28ccbf4b0a09863d8df4a089b9d78eb9d643629449a4c44f1f6b353ce013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1160-1175 | app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1180-1196 \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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1160\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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8516af97d0d239b883f934672d8547bfe102e6511cf0d988421bbe28b6cb7834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ContentsScreen.kt:237-253 | app/src/main/kotlin/com/chmouel/liseur/reader/search/SearchScreen.kt:169-183 \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/kotlin/com/chmouel/liseur/reader/chrome/ContentsScreen.kt:237\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/kotlin/com/chmouel/liseur/reader/search/SearchScreen.kt:165\u0060 calls \u0060hits\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ContentsScreen.kt:233\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/kotlin/com/chmouel/liseur/reader/chrome/ContentsScreen.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc8f432c81d8e2d0c78152daf390d5984ff3c7c7efd1215c1f8c5b38d778ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:304-319 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:337-352 | app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:363-377 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:304\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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09b92232fd47ed7af67fe67dd727d328fd7ee4808127a3b24f2168deb58d678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/companion/ServerCompanionService.kt:181-198 | app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt:319-333 \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/kotlin/com/chmouel/liseur/companion/ServerCompanionService.kt:181\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/kotlin/com/chmouel/liseur/companion/ServerCompanionService.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b3317454dec571ac619f12b4aa1a628b5c1ca8f5e38b1423979298b50c680a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt:614-629 | app/src/main/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt:204-219 \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/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt:614\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/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fb736eb568cfd73d8688d6a8dc6cf78463d82186783eb66a9c860ce24acdaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2523-2533 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2569-2584 \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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2523\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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":2523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6845410d40c0de60eb641d3598184688cc78231651889f4eaa139b0387fc2cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUrl.kt:40-53 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaUrl.kt:32-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUrl.kt:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUrl.kt:38\u0060 calls \u0060stripApiSuffix\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaUrl.kt:31\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUrl.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8a3b35d4e9f5d7e71580bfbdc2566dc7990a70aee3ec4ea6b11fc42ab85c39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/CalibreUrl.kt:20-30 | app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteUrl.kt:43-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. 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/kotlin/com/chmouel/liseur/data/calibre/CalibreUrl.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7a6ab5eea6934c4cbbd5885f5f2ad64044ee9b182af80bcc0431a1773a36ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:218-232 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:235-249 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:218\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:250\u0060 calls \u0060takeIf\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:233\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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c75fe5f12536fe8e7632c8d8b2bda5582d731f8fdf01377f81e634929a0635e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/dictionary/DefinitionSheet.kt:391-405 | app/src/main/kotlin/com/chmouel/liseur/reader/dictionary/DefinitionSheet.kt:484-498 \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/kotlin/com/chmouel/liseur/reader/dictionary/DefinitionSheet.kt:391\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/kotlin/com/chmouel/liseur/reader/dictionary/DefinitionSheet.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f041d1e39c54a14f8265423951c4633507f705e09b2bb3b6a90ec5be2f0c68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/BookDetailsScreen.kt:135-149 | app/src/main/kotlin/com/chmouel/liseur/ui/stats/BookReadingStatsScreen.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/kotlin/com/chmouel/liseur/ui/library/BookDetailsScreen.kt:135\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/kotlin/com/chmouel/liseur/ui/library/BookDetailsScreen.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69f47d068f4de582d3a46af144aeca7e0d07cdf711da445f4d9f2a096345c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1607-1621 | app/src/main/kotlin/com/chmouel/liseur/ui/library/SeriesPickerSheet.kt:242-256 \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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1607\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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13339a0861fd8aa9ed62d0dbaf6d404b5b0818fc0e52881401898d98b151220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/stats/BookReadingStatsScreen.kt:239-253 | app/src/main/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt:623-637 \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/kotlin/com/chmouel/liseur/ui/stats/BookReadingStatsScreen.kt:239\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/kotlin/com/chmouel/liseur/ui/stats/BookReadingStatsScreen.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a0ee02aefbd074277ed51a8c2bbc3b3468d1cddd49e9e3cf734f116ccb6203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:302-312 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:663-676 \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/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:302\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/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd8c50437a6affa215d0103ca4168444faeb97f818ddfde0191281f0158b361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationOptions.kt:158-169 | app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt:425-438 \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/kotlin/com/chmouel/liseur/translate/ServerTranslationOptions.kt:158\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/kotlin/com/chmouel/liseur/translate/ServerTranslationOptions.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5712196c7ce22b4e2ed589b80c12488f793f5e4bf39cac9c8c2321df58f3ddda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/UploadBookOfferDialog.kt:48-61 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1485-1497 \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/kotlin/com/chmouel/liseur/ui/UploadBookOfferDialog.kt:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/UploadBookOfferDialog.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef7199d8839fb760fb352597f2146bd59f8f4f9b0741a1370ebe6e9654fd601"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ShelvesLibrary.kt:515-528 | app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/StyleParts.kt:78-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ShelvesLibrary.kt:515\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/kotlin/com/chmouel/liseur/ui/library/styles/ShelvesLibrary.kt"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97859c01613d69a6fd9df353ddb9fd6428bdf7c28d410371c92d3cc870bfe43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt:238-251 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt:348-361 \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/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt:362\u0060 calls \u0060Column\u0060, \u0060padding\u0060, \u0060Text\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt:252\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/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c240f28681fe26ec707bdbb9df509fa7acf629d7c446fafc20e9e0a264e67f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:204-216 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:221-233 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:204\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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bcc193d17c86759257e762fbcd815cbc683a1b80539204ccf3391e1b5401ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingFineTypography.kt:207-219 | app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingFineTypography.kt:236-248 \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/kotlin/com/chmouel/liseur/ui/reading/ReadingFineTypography.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/kotlin/com/chmouel/liseur/ui/reading/ReadingFineTypography.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a492a3b64f82202b8002d1c7e2eff108ae376b1865f6627e803276e43b5aa4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:691-703 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:1338-1349 \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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"8580e23003a63b6a813844e4449829f0e4f4b69055f79e9b37a9ec6d25bf6189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:722-733 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:797-808 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:1536-1547 \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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:722\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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed3360bbe1f8e70d64b7a1798f5bb2816e40c6354331d880aa2b16d5527edd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/companion/ServerCompanionService.kt:219-230 | app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt:340-351 \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/kotlin/com/chmouel/liseur/companion/ServerCompanionService.kt:219\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/kotlin/com/chmouel/liseur/companion/ServerCompanionService.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a361c6e37e0595dd21061f5cfee95f60c301128009731ec76db817a84b53f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:195-206 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:513-524 \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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:195\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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2126b0688309033781970c6cc2a1d5f721b79c75ff2d255ea643a6517c3a1ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:485-496 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:1670-1681 \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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:485\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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"578a511c6cd74f5201c088bef7916e5a2d7a78db00df8f078980ee37f9295a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:1249-1260 | app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:1901-1912 \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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:1249\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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0489e961d09f52a05ca0ef9c0c2e7a9d5ca70a73bfad28ead7f905d7ec6c6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/translate/PageTranslationSheet.kt:163-174 | app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt:188-199 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/chmouel/liseur/translate/PageTranslationSheet.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/kotlin/com/chmouel/liseur/translate/PageTranslationSheet.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f9b4f8348e66cb58e543d9efad2255861d7a665e69a15b6b0e17a9f3e6e737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:907-918 | app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:1083-1094 \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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:907\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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56ab7bdae6994791f4c28b3f20d7b3c24909b0a6499fde89fdcc18fec70bb1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/foss/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.kt:16-26 | app/src/play/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.kt:17-27 \u2014 before extracting anything, compare \u0060app/src/foss/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.kt\u0060 and \u0060app/src/play/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.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 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/foss/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/src/play/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.kt:28\u0060 calls \u0060GeminiSpeechService\u0060 and \u0060app/src/foss/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.kt:27\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/foss/kotlin/com/chmouel/liseur/readaloud/ReadAloudFeatureFactory.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d9d366f53fe20e0f31f92512e5178eaf86264575e6b6301bc858a90e581e86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitTime.kt:24-34 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaTime.kt:28-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":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitTime.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb1d258283caf712d1c914c80326f5bcb5ab42ba3548cb2338744ad8595052f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1383-1393 | app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1418-1428 \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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1383\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1382\u0060 calls \u0060outputStream\u0060, \u0060buffered\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1417\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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c5957974d869ba17c9ff657876ddd9fa8151585b1606e9171a10cfa21d030a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:259-269 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:476-486 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce2a3826343a72145c559563a27435a550f282577c3b4e1280cdf5f5ebd03d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:4889-4899 | app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:4901-4911 \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":"app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":4889}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ae1f577e417f4a6effea031439a0db87d8dad1deeef2cbc226882d25442f1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2291-2301 | app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/StyleParts.kt:76-87 \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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2291\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/kotlin/com/chmouel/liseur/ui/library/styles/StyleParts.kt:75\u0060 calls \u0060listOfNotNull\u0060, \u0060joinToString\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2290\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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3429f93c15bcc7058374e85b9929f1098c1a9e2b4374ab3d6aececcc17deb20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:780-790 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:1310-1320 \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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:780\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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:777\u0060 calls \u0060Text\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:1307\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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73ca13eba85a4eb524b687c1cf27811011b623121bd08c96503bd7c4d09dd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:647-656 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:678-687 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:647\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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b6097de94a43f1742a7c7de6efe0cccaeb3589d4559799f2a062b7e8ceec04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:2040-2049 | app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:2149-2156 \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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:2040\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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc95874f6ce8847ff240468152e7ad63671c17362964aa5a15cf1425e579982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt:1078-1087 | app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt:1161-1169 \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/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt:1078\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/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f458ec54f223996b4ea2282959e9743dc8dd2d3be03d59cd58ab913d50f4bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt:530-539 | app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt:546-555 \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/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"076483eca93c69a9b811b2ce44a9dfccb7792a62c8a12f2975e6138257403f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2664-2678 | app/src/main/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt:712-721 \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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2664\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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":2664}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cb6cc36b0e8fca4b2ff58726dbea3fee70820b0fbd1b905b4ec23576648f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:772-781 | app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:788-797 \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/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:772\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/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:801\u0060 calls \u0060widthClass\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:782\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/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f39f0db980e62dbe008d72aedeba32750d4294c4df0cbabef570cc66a1fee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt:451-459 | app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt:560-568 \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/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt:451\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/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8587ad1961133b8f86061f99b697ee29490e71e18da2c422bc50be5c8eb1e3c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/companion/Investigation.kt:229-237 | app/src/main/kotlin/com/chmouel/liseur/companion/Investigation.kt:259-267 \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/kotlin/com/chmouel/liseur/companion/Investigation.kt:229\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/kotlin/com/chmouel/liseur/companion/Investigation.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d403523e707e1e00676456262e783cc58b777dc648762793b738f308faae379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:274-282 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:306-314 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:274\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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc31dba7eea96c3048e11992564523aa5bc638f5f78142afcb798627a4959be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt:1279-1287 | app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt:1321-1329 \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/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt:1279\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/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bacbae167f3b49e2770eda4165ea7264108969937221516eb6d8b50d168c6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/domain/SessionBackup.kt:64-72 | app/src/main/kotlin/com/chmouel/liseur/domain/TranslationBackup.kt:63-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/kotlin/com/chmouel/liseur/domain/SessionBackup.kt:64\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/kotlin/com/chmouel/liseur/domain/SessionBackup.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2686f5c4ee93feda3168d5fe1cff5753ece096707633d1ff59b01a5de51c41bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/annotations/BookmarkRibbon.kt:89-97 | app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ShelfDecor.kt:317-325 \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/kotlin/com/chmouel/liseur/reader/annotations/BookmarkRibbon.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8d7e1a0120ab5221ad34d46e2bf4a565987264fd456695b7765b30171f2d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt:224-232 | app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt:270-278 \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/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt:224\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/kotlin/com/chmouel/liseur/reader/chrome/ReadingProgressUi.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0148ee203be01027f1ad316e9507c6d335f6bfc7067588d0269a79300a18a8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2475-2483 | app/src/main/kotlin/com/chmouel/liseur/ui/library/SeriesUi.kt:265-273 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2475\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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":2475}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20a94c2a3b353c6c389836ee91329733a281df0abcb796c49901d9c93164892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt:2677-2685 | app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/StylePreview.kt:184-192 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4521f739268f2673e4581983af286076e5e92e19c989de0a90053f59cf635b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:838-846 | app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:864-872 \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/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt:838\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/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe290e45cb03fe75f58b0d280f2e062a41933be8a42d5de8d177f273fcb1e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/src/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt:296-303 | app/src/play/kotlin/com/chmouel/liseur/tts/GeminiTtsClient.kt:229-237 \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/play/kotlin/com/chmouel/liseur/tts/GeminiTtsClient.kt:229\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/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c75a8f0770f0d570da938ff003d1cbabe6ce02d871476447aeb5f749dfad65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1651-1658 | app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1673-1680 \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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1651\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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4d762ad2107783524cc2d8bd636696162a30f88a86968062f8cdde05a42d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/chrome/AdvancedSheet.kt:131-138 | app/src/main/kotlin/com/chmouel/liseur/reader/chrome/TypographySheet.kt:80-87 \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/kotlin/com/chmouel/liseur/reader/chrome/AdvancedSheet.kt:131\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/kotlin/com/chmouel/liseur/reader/chrome/AdvancedSheet.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"47760fd3c4a4030803ec3b21a8ef48ffd59ab475c04e6a7a36f7ef73cfebf219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt:533-540 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt:932-940 \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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt:533\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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82e789dd0f3f6e0aa874dca70a738fbc74e089a3ea0c31a8db557a350f069ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/companion/RecapScheduler.kt:452-458 | app/src/main/kotlin/com/chmouel/liseur/companion/StorySummaries.kt:365-372 \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/kotlin/com/chmouel/liseur/companion/RecapScheduler.kt:452\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/kotlin/com/chmouel/liseur/companion/RecapScheduler.kt"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fd1f1dcb9493fb891ef99a54ee96118c69f68e703bb3a4531b41d6adba93f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt:252-258 | app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt:363-369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt:252\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9a5458fe69c66e77ecd7cc98fd84e304ad3c04a70e16354e16f61618ffcd44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:177-183 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:183-189 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:177\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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"265dbe44fbb3b7c445916dacebd8c234165e06aa9c014ae40be700c7fc14a196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:251-257 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:269-275 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:251\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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70dad56ca47a5c449c3bdf15b38f24d195338b2956806fb5cf1327be9df7103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/library/BookBackupRepository.kt:175-181 | app/src/main/kotlin/com/chmouel/liseur/data/library/BookBackupRepository.kt:281-287 \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/kotlin/com/chmouel/liseur/data/library/BookBackupRepository.kt:175\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/kotlin/com/chmouel/liseur/data/library/BookBackupRepository.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7827730d17f31b7ddd8225cbc4f86c2e288df882a06a877ca81771519ce985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1004-1010 | app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1311-1317 \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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt:1004\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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cabc09ea1aff13c42a91ceea1a9170c2537808566f113b7ef4169aab72bb0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/library/SvgCover.kt:116-122 | app/src/main/kotlin/com/chmouel/liseur/data/library/SvgCover.kt:202-208 \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/kotlin/com/chmouel/liseur/data/library/SvgCover.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/library/SvgCover.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"708d649dcf03de7cbd520fa6823a34d45d6b8a8c14f09a5fc7610366f4856661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/translate/PageTranslationSheet.kt:330-337 | app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudVoiceSheet.kt:346-353 \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/kotlin/com/chmouel/liseur/translate/PageTranslationSheet.kt:330\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/kotlin/com/chmouel/liseur/translate/PageTranslationSheet.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbd35088acbb064c756c177b6ad7b0db478b7bac8dc7078148a5f8e340bc51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt:767-773 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsScreen.kt:466-472 \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/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt:767\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/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3e3fce3d9c6d0f89156955d9d3988917be720b5b4b7cead9de36d48aa03ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsZipBackupUi.kt:226-232 | app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsZipBackupUi.kt:382-388 \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/kotlin/com/chmouel/liseur/ui/settings/SettingsZipBackupUi.kt:226\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, \u0060app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsZipBackupUi.kt:233\u0060 calls \u0060fill\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsZipBackupUi.kt:389\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/kotlin/com/chmouel/liseur/ui/settings/SettingsZipBackupUi.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f084d8438b6eb08d5fd22f91e487b680920cc35e7da091cfdff293314bd689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt:187-194 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt:203-210 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt:187\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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt:195\u0060 calls \u0060parseOrNull\u0060, \u0060RemoteHttpFailure\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt:211\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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d117dd830de6991c821676937e334a72145454551bda36e1dd5fb272d92cd45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt:170-175 | app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt:554-558 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9df7d3fae34f24547123bdad1d6000837a1a606f6ed33b8f1ce3be44b01a861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/library/AnnotationBackupRepository.kt:101-105 | app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingSessionBackupRepository.kt:54-60 \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/kotlin/com/chmouel/liseur/data/library/AnnotationBackupRepository.kt:101\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/kotlin/com/chmouel/liseur/data/library/AnnotationBackupRepository.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ef9b29bb2e4836845afe432ace1a44872bffa10ff111e548463bfd0f0ef141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt:1046-1051 | app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt:1140-1144 \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/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt:1046\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/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dc668a3068d80ae5528652fbeb6b4c13c91d3b4eed322ad102f4a885f46d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt:109-115 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.kt:94-100 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9f38fa21cd40a73ac7a41daea2ba22a527cccbce9e3d4e09a061b8e886ac61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/domain/BookBackup.kt:24-28 | app/src/main/kotlin/com/chmouel/liseur/domain/ReadingPositionBackup.kt:29-33 \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/kotlin/com/chmouel/liseur/domain/BookBackup.kt:24\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/kotlin/com/chmouel/liseur/domain/BookBackup.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b76cecaaee339033bb4f8de7b9089e00b0e2f9cc4c5f505914b342a1d8145c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/providers/ServicePicker.kt:120-125 | app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt:659-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/providers/ServicePicker.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfc4d26aa5b27a9a0b1a6744bc9db086e6323e7cdfd8af45f7669a0272d964e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:4603-4607 | app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:5607-5611 \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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt:4603\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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":4603}}}],"partialFingerprints":{"codehealthFindingId/v1":"be475677c18fd4f03fe102633059f64afd043237077b901a87a8b704b21d226c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt:304-309 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaHttp.kt:131-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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2ac83a15d0d9d74cee66e3478a8241a0aa75bc7f3e32b32175c075786be8e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt:323-327 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaHttp.kt:149-153 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaHttp.kt:139\u0060 calls \u0060intOrNull\u0060, \u0060longOrNull\u0060, \u0060toLong\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt:320\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabadd4b7c49df925b11af8dca1e8b8277e65863fd2c06aef002178b5d2aca72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt:631-638 | app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt:831-838 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 197 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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"749a8ee269e215ad13c4669c6583a3522cedbd0e7291eee3fbba57594c73c6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:674-681 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:2941-2948 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:2938\u0060 calls \u0060positionStatus\u0060, \u0060readingStatusFor\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:672\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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"58358263797edaef6120aea2f768d75842c28eb19ee975bc0ade2475493086ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt:683-689 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt:2950-2956 \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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dee2e4310aa319436ae10841e8b2ddf59713d2a67bad4948f41cd2f479e586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt:239-244 | app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncUploadClient.kt:152-157 \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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35817cf51a336da8a8a769a1a9d37ff59ce756f0e18f61d8515292c6938b8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/src/main/kotlin/com/chmouel/liseur/reader/SelectionHandleFix.kt:277-285 | app/src/main/kotlin/com/chmouel/liseur/reader/WideContentFit.kt:119-127 | app/src/main/kotlin/com/chmouel/liseur/reader/footnotes/FootnoteLayout.kt:336-344 \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/kotlin/com/chmouel/liseur/reader/SelectionHandleFix.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a669ab112db375b9f6ce9e1df6049c20eb2e40eb3cb7e12b56c37ab4fe948f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/reader/progress/BookOrbitViewportCfi.kt:134-138 | app/src/main/kotlin/com/chmouel/liseur/reader/progress/ExactLocatorAnchor.kt:255-259 \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/kotlin/com/chmouel/liseur/reader/progress/BookOrbitViewportCfi.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fc96b00b7b42a30e4c25323964c4e10c390f1f1d8c86b006bb971ae5ea0fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/kotlin/com/chmouel/liseur/translate/TranslationHttp.kt:31-38 | app/src/main/kotlin/com/chmouel/liseur/tts/OpenAiTtsClient.kt:761-768 | app/src/play/kotlin/com/chmouel/liseur/tts/GeminiTtsClient.kt:251-258 \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/kotlin/com/chmouel/liseur/translate/TranslationHttp.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc64172f2a04a0ed3b1070971d7d2d6c8914c0ffe64d59e4dd3268701c428ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/translate/TranslationHttp.kt:73-77 | app/src/main/kotlin/com/chmouel/liseur/tts/OpenAiTtsClient.kt:701-705 \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/kotlin/com/chmouel/liseur/translate/TranslationHttp.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95f18a6bc6188cf6b6754df70282ebbd02759cded141855d48e92bec301974c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt:630-635 | app/src/main/kotlin/com/chmouel/liseur/translate/ServerTranslationService.kt:388-393 \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/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaa9114174ceb17ba70789362155ece5793edd5b2689db43090c7924cbcfdfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt:240-247 | app/src/main/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt:262-269 | app/src/main/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt:323-330 \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/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt:240\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/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"370707fe76522498273e5332e12aa87067aedaeeb3a91e914ac34fe9c19bb88e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/src/main/kotlin/com/chmouel/liseur/data/library/AnnotationBackupRepository.kt:101-105 | app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingPositionBackupRepository.kt:40-44 | app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingSessionBackupRepository.kt:54-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/chmouel/liseur/data/library/AnnotationBackupRepository.kt:101\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/kotlin/com/chmouel/liseur/data/library/AnnotationBackupRepository.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6bd37e8fd28b645d027e356e25b236bd93121ed66c35340b00ce3e3331887f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/calibre/CalibreUrl.kt:24-30 | app/src/main/kotlin/com/chmouel/liseur/domain/DictionaryUrl.kt:34-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/chmouel/liseur/data/calibre/CalibreUrl.kt:24\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/kotlin/com/chmouel/liseur/data/calibre/CalibreUrl.kt:23\u0060 calls \u0060startsWith\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/domain/DictionaryUrl.kt:33\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/kotlin/com/chmouel/liseur/data/calibre/CalibreUrl.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"526b17e5a0b81a31e4006709eb8b1b046347c888235a7281e2718650b5163410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCatalogClient.kt:64-68 | app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCatalogClient.kt:126-130 \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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCatalogClient.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf91919669ea7dbc358eb5badff983972f62b721f090c1136db5f7e97c1a640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt:839-843 | app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt:918-922 | app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt:989-993 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"2817bafa0e7c7153b438ac1e1d18a0343856f143219405526356b407686f8384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslations.kt:314-319 | app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslations.kt:372-377 \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 \u0060preview\u0060 to \u0060WholeBookPreview\u0060 in one and \u0060WholeBookPreview): Unit = container.translationAdmissions.bulk(preview.bookUrl\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslations.kt:371\u0060 calls \u0060check\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslations.kt:313\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/kotlin/com/chmouel/liseur/translate/WholeBookTranslations.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"89adcd1d1a72cf7be306aafa89b36274aa2128fd227c89e478fe6a54440befa6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MlKitTranslationTest (LCOM4 11): MlKitTranslationTest\u0027s methods fall into 11 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 11 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/testPlay/kotlin/com/chmouel/liseur/translate/MlKitTranslationTest.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cb18b0f91ca96d9deb1cf48460ed915171a10c1c65825f8a950b43a8704a91"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GeminiTranslationTest (LCOM4 4): GeminiTranslationTest\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/testPlay/kotlin/com/chmouel/liseur/translate/GeminiTranslationTest.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"46809a994380671e0303f0276bf311827079ae42358906c45555400cb02e23ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt: app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt changed 217 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 523 in ReaderScreenKt.ReaderScreen at line 447. 125 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/ReaderScreen.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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fefbf103b6907d9be8c4490e57907d379095707ab5e0da0b5f29e2fb34371d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/MainActivity.kt: app/src/main/kotlin/com/chmouel/liseur/MainActivity.kt changed 98 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in MainActivityKt.LiseurApp at line 300. 20 of those changes were fix/bug commits, and the other 78 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/MainActivity.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/MainActivity.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"521fe4046bdf657f6a9126725f13f5e720bee44e2e6bfc6504cacb41ee6af766"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt: app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt changed 62 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in LibraryScreenKt.LibraryScreen at line 204. 22 of those changes were fix/bug commits, and the other 40 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8054bc62f6b36b3c0e010dc7e146a75216ba8e6c2adb97014027eaff09e79624"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt: app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt changed 98 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in ReaderViewModel.open at line 1408. 47 of those changes were fix/bug commits, and the other 51 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.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/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ca2d943812a7714fef71ced18e070ece915a1dcb43efeb79aaa95fa48cb865"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt: app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in SettingsBackupRepository.readArchive at line 1037. 18 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.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/kotlin/com/chmouel/liseur/data/library/SettingsBackupRepository.kt"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1099970648e740375c5e6f71b63577bad4a009c979b0b79d65d33bf316dc4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/reader/ReaderActivity.kt: app/src/main/kotlin/com/chmouel/liseur/reader/ReaderActivity.kt changed 83 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ReaderActivity.onCreate at line 147. 28 of those changes were fix/bug commits, and the other 55 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/ReaderActivity.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/kotlin/com/chmouel/liseur/reader/ReaderActivity.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a88f01d21336ee8e09fbd959f074358421d46e0b145e959f2e1e99338629d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt: app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in SettingsBackupScreenKt.SettingsBackupScreen at line 69. 12 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.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/kotlin/com/chmouel/liseur/ui/settings/SettingsBackupScreen.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f611da2d2d655180f47defc46025bd580b96760d28c863e86abf45101a36da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt changed 50 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in LiseurSyncPositionSync.name at line 1006. 34 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec59efcfcf1193e9d7c1854fb1eaad2ff00afcc3037f357d47fb6feca78b041b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.kt: app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.kt changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in RemoteAccountRepository.storeLocked at line 656. 13 of those changes were fix/bug commits, and the other 27 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.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/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.kt"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc0ed4a5460704de679e8f0123b94ec2ada4a4b19dfa86377edb623f3d37ca4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/companion/CodexSheet.kt: app/src/main/kotlin/com/chmouel/liseur/companion/CodexSheet.kt changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in CodexSheetKt.CodexSheet at line 140. 15 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/companion/CodexSheet.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/kotlin/com/chmouel/liseur/companion/CodexSheet.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b75d21b29591c7598653295a5d6db73ffef6fac03947b1210d6376db91623f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt: app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in ServerAccountScreenKt.ConnectedCard at line 958. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.kt"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb230d09b526a8bd9064d0c6463bd0086666f35beeeb96364cb73e07542774b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt: app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ReadAloudSettingsScreenKt.KeyRow at line 954. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.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/kotlin/com/chmouel/liseur/tts/ReadAloudSettingsScreen.kt"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cad8c0d446164347a4fd694d12a1966f767ee2fd939869398576a6e2d469e90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/reader/annotations/SelectionPopup.kt: app/src/main/kotlin/com/chmouel/liseur/reader/annotations/SelectionPopup.kt changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in SelectionPopupKt.ActionButtons at line 307. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/annotations/SelectionPopup.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/kotlin/com/chmouel/liseur/reader/annotations/SelectionPopup.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1ed911526ec7a7be89181bf3bcbd919d7091ba399fec39d05ab14d7765b73f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/tts/SpeechReadAloud.kt: app/src/main/kotlin/com/chmouel/liseur/tts/SpeechReadAloud.kt changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SpeechReadAloud.start at line 232. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/tts/SpeechReadAloud.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/kotlin/com/chmouel/liseur/tts/SpeechReadAloud.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc7ff849b7ea6c921eb5025ce6970a86dddb57f9b1540cd66e4dd62f17812ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt: app/src/main/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ReadingStatsScreenKt.PeriodBars at line 418. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.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/kotlin/com/chmouel/liseur/ui/stats/ReadingStatsScreen.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1876044e898031fe947462f8b48e57f1db0021e8c765ad2cf4975bcc5caa1b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in LiseurSyncSnapshots.read at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSnapshots.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a517d41fac36b02ceccce8ac2d70638c2f557002c9be9fe3284face2fe7a1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt: app/src/main/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in ServicesScreenKt.ServerScreen at line 265. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/providers/ServicesScreen.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/kotlin/com/chmouel/liseur/providers/ServicesScreen.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"49719cd4f36e4a61e5ee28a8aed08aa510bd086441ba3eb001fc2470745f4992"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt: app/src/main/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in BrowseLibrariesScreenKt.BrowseConnectionScreen at line 462. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28deb4fb6888ad91059642bafd0c12be03b8a22a982d98ac58b9945295bef94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteCatalogRepository.kt: app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteCatalogRepository.kt changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in RemoteCatalogRepositoryKt.mergeCatalogEntry at line 755. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteCatalogRepository.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/kotlin/com/chmouel/liseur/data/remote/RemoteCatalogRepository.kt"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"38937ef31ddaae6ae40e1b9384ea1310059e1053e03b97c73b4425f3a841b024"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/translate/PageTranslation.kt: app/src/main/kotlin/com/chmouel/liseur/translate/PageTranslation.kt changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PageTranslation.walk at line 365. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/translate/PageTranslation.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/kotlin/com/chmouel/liseur/translate/PageTranslation.kt"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8616003e99b3db9bb8e4bd0e4b46316473ff7dd1e3995dbe22fdd738786c931"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt: app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CompanionSheetKt.CharacterProfile at line 88. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSheet.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/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"186fe55d43e054ce819ea46299271fcdae0549107d609b564f4faad9a4da4cca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/companion/CompanionLookups.kt: app/src/main/kotlin/com/chmouel/liseur/companion/CompanionLookups.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in CompanionLookups.ask at line 271. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/companion/CompanionLookups.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/kotlin/com/chmouel/liseur/companion/CompanionLookups.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2f519d591e5693232d58618aa195f1334193bd06f35d788735e8595267170f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt: app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BookOrbitPositionAgreementRepository.readBackLocked at line 681. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.kt"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"6217e9eaea5d7312a7cbe91785193b448d835b279ffd93bbbd607b6c0f0d4702"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/tts/OpenAiSpeechService.kt: app/src/main/kotlin/com/chmouel/liseur/tts/OpenAiSpeechService.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in OpenAiSpeechServiceKt.OpenAiRows at line 510. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/tts/OpenAiSpeechService.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/kotlin/com/chmouel/liseur/tts/OpenAiSpeechService.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3de7c432fdf69a9920a3974d17f13006db0e8abcbabf9eb099fe0ce68be6d72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslationScreen.kt: app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslationScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in WholeBookTranslationScreenKt.WholeBookTranslationContent at line 99. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslationScreen.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/kotlin/com/chmouel/liseur/translate/WholeBookTranslationScreen.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6babffda5d2e2dcbb625834a35972de86d527297690bfa1242dbd591420d7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt: app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in KomgaSyncRepository.push at line 723. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.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/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f8aa2916f9061c79d2b8b4f5f078719de7b052309e1eb2d6b3052d7af3bffc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSettings.kt: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSettings.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in LiseurSyncSettings.sync at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSettings.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSettings.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9e24bf3e91a59825ddc42ff5b5eb5a31ffff9948360279089887f09059ccfa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsCatalogClient.kt: app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsCatalogClient.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in OpdsCatalogClient.browseSection at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsCatalogClient.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/kotlin/com/chmouel/liseur/data/opds/OpdsCatalogClient.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef046aabc34f5f74ff2a1604c90837946a2ca4247a8807834c4858f214a30d62"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloadWorker.kt: app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloadWorker.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in BookDownloadWorker.download at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloadWorker.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/kotlin/com/chmouel/liseur/data/calibre/BookDownloadWorker.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa65fb1b4bd15059914bd2be4b505831dd680fa61649818e59ce5a5594887d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt: app/src/main/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ServerSettings.validateBackup at line 432. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/settings/ServerSettings.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/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"204fbe568d0846df8f9f8e05b7906654a0ae17c6c5d6e91a866f17043c91767d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt: app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TranslationSheetKt.Translation at line 275. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/translate/TranslationSheet.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/kotlin/com/chmouel/liseur/translate/TranslationSheet.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b346ee3e71c3bc2de8aaadbfd6d99c0c1dce48eeb69142b2cf61465815169336"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountViewModel.kt: app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountViewModel.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ServerAccountViewModel.credentialsSupplied at line 886. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountViewModel.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/kotlin/com/chmouel/liseur/ui/settings/ServerAccountViewModel.kt"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1377dd2a69584059cfa415b2a92978499c9d3d50a70b3e578f948af135e574"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitStatusSync.kt: app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitStatusSync.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in BookOrbitStatusSync.sync at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitStatusSync.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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitStatusSync.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8814cd6bfcbd2b0de0c6aba0510ccbcc4fb337a5bb44fe9f3efbeb26ba9edb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/companion/CodexViewModel.kt: app/src/main/kotlin/com/chmouel/liseur/companion/CodexViewModel.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CodexViewModel.resume at line 242. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/companion/CodexViewModel.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/kotlin/com/chmouel/liseur/companion/CodexViewModel.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"172b4fca21add49fae88ea1818663bd6775183821c37b874cf2c8c5094a16769"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/domain/AnnotationBackup.kt: app/src/main/kotlin/com/chmouel/liseur/domain/AnnotationBackup.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AnnotationBackupKt.decodeAnnotationBackup at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/domain/AnnotationBackup.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/kotlin/com/chmouel/liseur/domain/AnnotationBackup.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"128059ae7e9414d42530cf416405d217159977fc2c874b6bca296290d8d20dea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/domain/ReadingStateMerge.kt: app/src/main/kotlin/com/chmouel/liseur/domain/ReadingStateMerge.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ReadingStateMergeKt.reconcileExactPosition at line 357. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/domain/ReadingStateMerge.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/kotlin/com/chmouel/liseur/domain/ReadingStateMerge.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"447228573a317b508e2c65f840f0a3f358e0e56960da2185c9be938d5426c6d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/ui/library/SeriesScreen.kt: app/src/main/kotlin/com/chmouel/liseur/ui/library/SeriesScreen.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in SeriesScreenKt.SeriesScreen at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/library/SeriesScreen.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/kotlin/com/chmouel/liseur/ui/library/SeriesScreen.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b50c7010c901a8a44f0303714f20d3591351998a72cf282ad4d87a02a3858c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/reader/chrome/Endpaper.kt: app/src/main/kotlin/com/chmouel/liseur/reader/chrome/Endpaper.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in EndpaperKt.Endpaper at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/chrome/Endpaper.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/kotlin/com/chmouel/liseur/reader/chrome/Endpaper.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ed656547121f976d9ecd00c4fbbe4bd6f280971d979549fd897b239be6789e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.kt: app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ReadingSelectionActionsKt.SelectionActionEditor at line 387. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.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/kotlin/com/chmouel/liseur/ui/reading/ReadingSelectionActions.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3661a2d887e64b536874e251c4d8812535773ac2246b0122e6dd68633cd7ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/reader/chrome/BookSyncDialog.kt: app/src/main/kotlin/com/chmouel/liseur/reader/chrome/BookSyncDialog.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in BookSyncDialogKt.BookSyncDialog at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/chrome/BookSyncDialog.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/kotlin/com/chmouel/liseur/reader/chrome/BookSyncDialog.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"aacb7ffd8380d94f6a5ba1364afc4247193a394919adc7e7fa41087eb59afedd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/AnnotationWire.kt: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/AnnotationWire.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in AnnotationWire.record at line 230. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/liseursync/AnnotationWire.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/kotlin/com/chmouel/liseur/data/liseursync/AnnotationWire.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc12eecb7fce99940a136be5b1693d46c7324aad4f1bb7b63ee36a02f45cdb2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloader.kt: app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloader.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in BookDownloader.download at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloader.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/kotlin/com/chmouel/liseur/data/calibre/BookDownloader.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41c0a7025e77621ab095b60779a2f389d71fa393cffad5ae16caed0a41afdec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ShelfDecor.kt: app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ShelfDecor.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in ShelfDecorKt.rememberShelfArt at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ShelfDecor.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/kotlin/com/chmouel/liseur/ui/library/styles/ShelfDecor.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db3bb063d940edac34b215d0c7870054720642b2dad6a4b46ee6469a900c03d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ImageViewer.kt: app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ImageViewer.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ImageViewerKt.ImageViewer at line 132. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ImageViewer.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/kotlin/com/chmouel/liseur/reader/chrome/ImageViewer.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8578eb3875d950cee54d3155550042587a70896da3ad76134914d267e7a85d2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingSessionBackupRepository.kt: app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingSessionBackupRepository.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ReadingSessionBackupRepository.restore at line 106. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingSessionBackupRepository.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/kotlin/com/chmouel/liseur/data/library/ReadingSessionBackupRepository.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b841a956518db9292a0320119e26a85dffe4b9c400762efef3c65bbf1f56751"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/domain/LibraryFilters.kt: app/src/main/kotlin/com/chmouel/liseur/domain/LibraryFilters.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in LibraryFilters.accepts at line 165. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/domain/LibraryFilters.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/kotlin/com/chmouel/liseur/domain/LibraryFilters.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5c22b5538b5816c1884ca175bef105e1296e524f0cdb56327028905616f24f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionSync.kt: app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionSync.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in BookOrbitPositionSync.sync at line 176. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionSync.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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionSync.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ac8020af9a8e0da33a617583d8b3a4007709fc3eb99fbefcbba837d2d3da6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/companion/StoryController.kt: app/src/main/kotlin/com/chmouel/liseur/companion/StoryController.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in StoryController.show at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/companion/StoryController.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/kotlin/com/chmouel/liseur/companion/StoryController.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6211d0f92cdbc154accf2e0e169d55626c4a9f07f211838e47262a003ef1f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionExchange.kt: app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionExchange.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in BookOrbitPositionExchange.run at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionExchange.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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionExchange.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3565f148f4e3486c748ce88cf95a86835e16d1017043faf37346ea8b5d7f34f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudVoiceSheet.kt: app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudVoiceSheet.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ReadAloudVoiceSheetKt.Choice at line 161. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudVoiceSheet.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/kotlin/com/chmouel/liseur/tts/ReadAloudVoiceSheet.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"958bbcb50dfad9e94f9904465942f1499dddbcab5810793603da0780a65a988a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt: app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt changed 32 times in last 90 days and 25 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is LocalLibraryRepository.shelve at line 771), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Show a translator with other roles as the translator\u201D; \u201Cfix: Let a download that lands first keep the book\u201D; \u201Cfix: Keep stale reads off covers, series and copied ids\u201D; \u201Cfix: Leave a book alone when its file changes during a reread\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.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/kotlin/com/chmouel/liseur/data/library/LocalLibraryRepository.kt"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0e4d5fc57fb320fbc021e99b64781dc98321dedbfe2609081ce43446ca88d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt: app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt changed 29 times in last 90 days and 18 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is ReadingProgressDao.adoptFinishedOverride at line 1179), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: never reuse a choice\u0027s name after an account changes\u201D; \u201Cfix: keep an account\u0027s and a recording\u0027s edges straight\u201D; \u201Cfix: keep an owed reset and a partial place straight\u201D; \u201Cfix: keep a recording\u0027s span with the place it reached\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingProgress.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/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"213b7f2416170371b12bc3f96dfcd30532a95830a3a4266b0b643e188f591ed7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsZipBackupUi.kt: app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsZipBackupUi.kt changed 22 times in last 90 days and 17 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is SettingsBackupViewModel.prepareExport at line 197), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep one copy of a restored reading sitting\u201D; \u201Cfix: Stop restored reading time from counting twice\u201D; \u201Cfix: Keep the prepared backup when Android restarts the screen\u201D; \u201Cfix: Ignore malformed backup state when Liseur starts\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsZipBackupUi.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/kotlin/com/chmouel/liseur/ui/settings/SettingsZipBackupUi.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8754e04410376e83c9237ed56e4d10d1d897f4751735028f9b5f2a3ffc1bda5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloadRepository.kt: app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloadRepository.kt changed 22 times in last 90 days and 14 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is BookDownloadRepository.deleteFromServer at line 531), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Stop a refresh or a late file read from describing the wrong copy\u201D; \u201Cfix: Forget a book\u0027s file hash when its download is removed or replaced\u201D; \u201Cfix: Tighten a few edge cases around uploads and server deletes\u201D; \u201Cfix: Leave a new account\u0027s link alone after a late server delete\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloadRepository.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/kotlin/com/chmouel/liseur/data/calibre/BookDownloadRepository.kt"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b8a80c3c6b172c6f06b94aaa3bc5c6117da7dc969fb059040a634b26fe5174"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/library/BookRemoval.kt: app/src/main/kotlin/com/chmouel/liseur/data/library/BookRemoval.kt changed 20 times in last 90 days and 14 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is BookRemoval.deleteFolder at line 52), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Forget the old file\u0027s details when a new download lands\u201D; \u201Cfix: Keep old server details and stale downloads off a relinked book\u201D; \u201Cfix: Stop a refresh or a late file read from describing the wrong copy\u201D; \u201Cfix: Keep book details true to the book after removals and refreshes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/library/BookRemoval.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/kotlin/com/chmouel/liseur/data/library/BookRemoval.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"52914fc32a27c5b50d6d0a13a254ed5ff3b1bed3e5bdab9bea1147b63ab22fd7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/TranslatedPages.kt: app/src/main/kotlin/com/chmouel/liseur/reader/TranslatedPages.kt changed 18 times in last 90 days and 13 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is TranslatedPages.measure at line 268), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: check the reader page still exists before measuring it\u201D; \u201Cfix: Prevent crashes during scroll-mode changes\u201D; \u201Cfix: Reject stale dictionary lookups\u201D; \u201Cfix: Show translation attribution and bound lookups\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/TranslatedPages.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/kotlin/com/chmouel/liseur/reader/TranslatedPages.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"30473f0cf99909f32769eaa06032956ff02ad578422edcd9ddc7ec3323c1450e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsParser.kt: app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsParser.kt changed 17 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is OpdsParser.blockText at line 698), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(opds): Read the cover relations older catalogs still use\u201D; \u201Cfix: Never default to a Kobo file and number look-alike formats\u201D; \u201Cfix: Keep every OPDS format choice reliable\u201D; \u201Cfix: Show an xhtml summary\u0027s escaped text as written\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsParser.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/kotlin/com/chmouel/liseur/data/opds/OpdsParser.kt"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3e7f1c00b0ff63806ed4101c8dcc4f1608a20f8110cb6367f81e679a813e03"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt: app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt changed 16 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is SavedTranslations.restoreKept at line 776), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Ask again before a job runs on a new key\u201D; \u201Cfix: Ensure whole-book translation pause persists reliably\u201D; \u201Cfix: Keep account clears from getting stuck\u201D; \u201Cfix: keep cleared translations from returning\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.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/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"b894945359118760fb490c3cbe0dcec2e6f5c3f6cd7b656a1928aa037eaf6f89"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/remote/BookUploadWorker.kt: app/src/main/kotlin/com/chmouel/liseur/data/remote/BookUploadWorker.kt changed 12 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is BookUploadWorker.doWork at line 31), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Tighten a few edge cases around uploads and server deletes\u201D; \u201Cfix: Stop retrying uploads that cannot be matched without download rights\u201D; \u201Cfix: Check a sent book\u0027s file again before trusting old links\u201D; \u201Cfix: Relink sent books after signing back in to BookOrbit\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/remote/BookUploadWorker.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/kotlin/com/chmouel/liseur/data/remote/BookUploadWorker.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6cf3a5d0a46b9a53fb204f92fe653a27f8150d842ffc13d2cb06b6e3c89329"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/quotes/HomeQuotes.kt: app/src/main/kotlin/com/chmouel/liseur/data/quotes/HomeQuotes.kt changed 9 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is QuoteScanner.walk at line 512), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Check a cached paragraph where it ends, not only where it opens\u201D; \u201Cfix: Keep a hidden book out of Home and check lines by their chapter\u201D; \u201Cfix: Take the ceilng place from the furthest point, not an older peak\u201D; \u201Cfix: Leave a book alone when its ceiling has no place to stop at\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/quotes/HomeQuotes.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/kotlin/com/chmouel/liseur/data/quotes/HomeQuotes.kt"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28a9ac859c2a41e3e551f58486fa91e43ef38e2ae1b7feeab9c4b6854fc6caa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/ReaderPreferencesMapper.kt: app/src/main/kotlin/com/chmouel/liseur/reader/ReaderPreferencesMapper.kt changed 11 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is ReaderPreferencesMapperKt.toEpubPreferences at line 59), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep the reader\u0027s place when opening notes\u201D; \u201Cfix: Make narrow margins work on tablets\u201D; \u201Cfix: Keep fixed-layout EPUB pages unchanged\u201D; \u201Cfix: Resize EPUB text with native Android zoom\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/ReaderPreferencesMapper.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/kotlin/com/chmouel/liseur/reader/ReaderPreferencesMapper.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"95269c683807f06a251f1210099267d0cd54f53026cef1a2dc75db07c357c88b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt: app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt changed 10 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is KoboSyncRepository.run at line 268), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep an unread reset protected after reading on\u201D; \u201Cfix: Ignore replies from before a restore\u201D; \u201Cfix: ask each sync partner whether it would dial\u201D; \u201Cfix: Reject stale catch-up accounts\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acef6c2d952f0a2a1bdff7d7d3e10fe30a8808520be4864d2c905a9c02f0064"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/ui/LiseurModalBottomSheet.kt: app/src/main/kotlin/com/chmouel/liseur/ui/LiseurModalBottomSheet.kt changed 10 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is LiseurModalBottomSheetKt.PopupBack at line 238), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Stop sheets bouncing when dragged by the handle or title\u201D; \u201Cfix: Stop sheets bouncing at the end of a list\u201D; \u201Cfix: Let Back step out of a sheet\u0027s inner page on e-ink screens\u201D; \u201Cfix: Open the voice service menu on e-ink readers\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/LiseurModalBottomSheet.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/kotlin/com/chmouel/liseur/ui/LiseurModalBottomSheet.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"3058d1bcbdd4a2884f9cb4ecf793c61c97f0c788541c1b8e2d60c0fe363692f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt: app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is KosyncPositionSync.act at line 476), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep an unread reset protected after reading on\u201D; \u201Cfix: Stop stale uploads after a pairing restore\u201D; \u201Cfix: Ignore late replies from old pairings\u201D; \u201Cfix: ask to reach servers on the home network\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a5086c2a006800f1ee56bf4438c54cafe15c7091aa8bb1e61a1ec58ec9a9c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/ui/library/BookDetailsScreen.kt: app/src/main/kotlin/com/chmouel/liseur/ui/library/BookDetailsScreen.kt changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is BookDetailsScreenKt.BookActions at line 293), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Stop the continue reading card outliving the unread mark\u201D; \u201Cfix: Show a book marked unread as unread everywhere\u201D; \u201Cfix: Stop offering a finished book as a fresh start\u201D; \u201Cfix: Keep stale reads off covers, series and copied ids\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/library/BookDetailsScreen.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/kotlin/com/chmouel/liseur/ui/library/BookDetailsScreen.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"4776441db15cbfd40654bc754e53b2f863fe5ba87d3f47504dac9e136373cd1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/settings/SettingsSyncRepository.kt: app/src/main/kotlin/com/chmouel/liseur/data/settings/SettingsSyncRepository.kt changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is SettingsSyncRepository.claimDevice at line 72), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Preserve settings edits after lost replies\u201D; \u201Cfix: restore settings when an account signs in as another device\u201D; \u201Cfix: Move phones that copied the old size from another device\u201D; \u201Cfix: Judge the new default size per sync account\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/settings/SettingsSyncRepository.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/kotlin/com/chmouel/liseur/data/settings/SettingsSyncRepository.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad5fe7a51d5cc06c4aad286d9e59f48371920cd121bf93882778306097a6008"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/NavigatorPositionEvent.kt: app/src/main/kotlin/com/chmouel/liseur/reader/NavigatorPositionEvent.kt changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is NavigatorPositionEventKt.classifyNavigatorEmission at line 66), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Save the reader\u0027s first page turn\u201D; \u201Cfix: Keep deliberate reading choices on pause\u201D; \u201Cfix: Keep the selected server page on pause\u201D; \u201Cfix: Keep the reading place you actually reached\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/NavigatorPositionEvent.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/kotlin/com/chmouel/liseur/reader/NavigatorPositionEvent.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae91f527c72aef540e9cb60c4c3288660e821bdd58572f5fc3e67b13e0b6fe1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslations.kt: app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslations.kt changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is WholeBookTranslations.execute at line 308), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep a finished job from stopping the next one\u201D; \u201Cfix: Wait out a failing server before resuming\u201D; \u201Cfix: Tighten when whole-book translations resume\u201D; \u201Cfix: Ensure whole-book translation pause persists reliably\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslations.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/kotlin/com/chmouel/liseur/translate/WholeBookTranslations.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"12982fd384d15ab83e323442d1b30aa16c6433bf485d251c9312639cae3c5afb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingPositionBackupRepository.kt: app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingPositionBackupRepository.kt changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ReadingPositionBackupRepository.writeContents at line 28), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep reading history during recovery\u201D; \u201Cfix: keep a book\u0027s status honest across the edges around it\u201D; \u201Cfix: Refresh finished books after restoring positions\u201D; \u201Cfix: Keep percentage-only positions in backups\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/library/ReadingPositionBackupRepository.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/kotlin/com/chmouel/liseur/data/library/ReadingPositionBackupRepository.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"479fffe623106e36db8b8d4aa9f647c2ae52762b856f60dc23c35e1b4e9c8ffe"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesViewModel.kt: app/src/main/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesViewModel.kt changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is BrowseLibrariesViewModel.prepareCategory at line 555), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Leave the old catalog behind when the library opens the chooser\u201D; \u201Cfix: Keep the free catalog chooser from bouncing back\u201D; \u201Cfix(browse): Keep the free-catalog chooser reachable once every preset is saved\u201D; \u201Cfix: Show the Back preview when leaving the catalog browser\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesViewModel.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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesViewModel.kt"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a8f5bd5fe27f30a05fe38c3f4ab6fc544a655b924f8815660f9a73ccd3a271"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/chrome/PageTurnEffect.kt: app/src/main/kotlin/com/chmouel/liseur/reader/chrome/PageTurnEffect.kt changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is PageTurner.beginDraggedTurn at line 204), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: turn every page the same way\u201D; \u201Cfix: keep a turned page turned when the reader leaves mid-flick\u201D; \u201Cfix: keep the book still while a picture is open\u201D; \u201Cfix(reader): drop a turn\u0027s wait when the screenful did not move\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/chrome/PageTurnEffect.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/kotlin/com/chmouel/liseur/reader/chrome/PageTurnEffect.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"da58d525e358aaef1fe2056dc51d5926558eb464fdb8075fea7e27c97e8e902a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/domain/SeriesShelf.kt: app/src/main/kotlin/com/chmouel/liseur/domain/SeriesShelf.kt changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is SeriesShelfKt.arrangedBy at line 298), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Stop the continue reading card outliving the unread mark\u201D; \u201Cfix: Show a book marked unread as unread everywhere\u201D; \u201Cfix: keep series details in a steady order\u201D; \u201Cfix: keep duplicate series copies in order\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/domain/SeriesShelf.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/kotlin/com/chmouel/liseur/domain/SeriesShelf.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b01817e42dea797f823d10b508517f32732162dd31dc6f221b8dbc195785392"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/progress/ExactLocatorAnchor.kt: app/src/main/kotlin/com/chmouel/liseur/reader/progress/ExactLocatorAnchor.kt changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is ExactLocatorAnchor.parseJavascriptResult at line 31), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep the reader\u0027s place when opening notes\u201D; \u201Cfix: tell a bookmarked page by its locator, not its page number\u201D; \u201Cfix(reader): mark where the reader is, not where they were (#82)\u201D; \u201Cfix: keep reading position when typography changes (#64)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/progress/ExactLocatorAnchor.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/kotlin/com/chmouel/liseur/reader/progress/ExactLocatorAnchor.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa01f07679721ac5ec59aaa6cc78971d44e1ed1864f63c50737985760c27e765"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslationService.kt: app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslationService.kt changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is WholeBookTranslationService.onStartCommand at line 57), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep a finished job from stopping the next one\u201D; \u201Cfix: Keep translation notices in the app language\u201D; \u201Cfix: Tighten when whole-book translations resume\u201D; \u201Cfix: Ensure whole-book translation pause persists reliably\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/translate/WholeBookTranslationService.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/kotlin/com/chmouel/liseur/translate/WholeBookTranslationService.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25f09043745b715ca2308fabc3132e1c66282ec297f7e239abfa11a490329eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ScrollMovement.kt: app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ScrollMovement.kt changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is ScrollMovement.sample at line 80), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep scrolling and failed saves from upsetting the saved place\u201D; \u201Cfix: Keep the reader\u0027s own scrolling from being ignored\u201D; \u201Cfix: Do not count showing the toolbar as reading on\u201D; \u201Cfix: Save the reader\u0027s first page turn\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/chrome/ScrollMovement.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/kotlin/com/chmouel/liseur/reader/chrome/ScrollMovement.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1487cd22b4bace775b97ff80e058b532da8f3fa81adf75bffe63f7e2bf9042f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/remote/LocalNetworkAccess.kt: app/src/main/kotlin/com/chmouel/liseur/data/remote/LocalNetworkAccess.kt changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is AndroidLocalNetworkAccess.blocks at line 117), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Skip cellular networks in local access checks\u201D; \u201Cfix: Keep public catalogs reachable on mobile data\u201D; \u201Cfix: sync after the network is allowed from the system settings\u201D; \u201Cfix: say so when a catalog refresh is blocked, rather than stalling\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/remote/LocalNetworkAccess.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/kotlin/com/chmouel/liseur/data/remote/LocalNetworkAccess.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdcc0c8f5b25d5494af25aa15949827fdfbb8ddef14607fbf7553744c13b457"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt: app/src/main/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is SyncPeerState.pendingChoice at line 93), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep newer sync seeds when older echoes arrive\u201D; \u201Cfix: reconnecting to liseur-sync keeps the device and the account\u201D; \u201Cfix: stop one file being shelved twice, and let entries be removed\u201D; \u201Cfix: Save the reading position on Android 9 and older\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/db/SyncPeerState.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/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc1426cbe7a7023eb0d40c8e67bd2499c67e217f53439abf2c195efdbb24b95"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/search/SearchScreen.kt: app/src/main/kotlin/com/chmouel/liseur/reader/search/SearchScreen.kt changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is SearchScreenKt.SearchScreen at line 82), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep faded reader text readable on Night red\u201D; \u201Cfix: Give screen readers the role and state of custom controls\u201D; \u201Cfix: Let lists scroll behind the navigation bar\u201D; \u201Cfix(reader): keep search and contents clear of keyboard and notch\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/search/SearchScreen.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/kotlin/com/chmouel/liseur/reader/search/SearchScreen.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd7916924d8d80e74eb9250bc8b8d629fde82c61364fbd4dc04d4d85d004dcb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/translate/SentenceTranslations.kt: app/src/main/kotlin/com/chmouel/liseur/translate/SentenceTranslations.kt changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is SentenceTranslations.translatedAdmitted at line 232), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Isolate in-flight translation settings\u201D; \u201Cfix: Save each translation under the settings it was asked with\u201D; \u201Cfix: Keep translated speech matched to the right sentence\u201D; \u201Cfix: Keep read-aloud aligned with the page\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/translate/SentenceTranslations.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/kotlin/com/chmouel/liseur/translate/SentenceTranslations.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec7237dcf1f78b577685f5ac25579adbe6be82e6a0a48d2b51132d5a874139d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/progress/BookPositions.kt: app/src/main/kotlin/com/chmouel/liseur/reader/progress/BookPositions.kt changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is BookPositions.of at line 287), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: make the reading footer page number move on every page turn\u201D; \u201Cfix: keep two copies of one page apart while scrolling\u201D; \u201Cfix: ask the right question about a scrolled or repeated page\u201D; \u201Cfix: Treat blank chapter names as unnamed\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/progress/BookPositions.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/kotlin/com/chmouel/liseur/reader/progress/BookPositions.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"395afda939e33134b480049722782cec069246118d33b265f185b4dac2d17192"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/annotations/NoteSheet.kt: app/src/main/kotlin/com/chmouel/liseur/reader/annotations/NoteSheet.kt changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is NoteSheetKt.NoteSheet at line 76), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep faded reader text readable on Night red\u201D; \u201Cfix: Give screen readers the role and state of custom controls\u201D; \u201Cfix: Separate note timestamps from overall annotation updates\u201D; \u201Cfix: keep note actions reachable\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/annotations/NoteSheet.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/kotlin/com/chmouel/liseur/reader/annotations/NoteSheet.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d358878b951d4886000e5a5afeaa2e1cfc868a6b2d89fb98445b5c24a8c5b0a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/ReaderReadAloud.kt: app/src/main/kotlin/com/chmouel/liseur/reader/ReaderReadAloud.kt changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is ReaderReadAloudKt.handoffPageTranslationToReadAloud at line 44), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep paused read aloud after closing the app\u201D; \u201Cfix: Stop stale speech after translation changes\u201D; \u201Cfix: Cancel stale translated read-aloud starts\u201D; \u201Cfix: Handle translated page actions safely\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/ReaderReadAloud.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/kotlin/com/chmouel/liseur/reader/ReaderReadAloud.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6911bde35f5153207b505c270b586736c03fbd20dac23fd95b35e67bd0b9b014"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/dictionary/WiktionaryClient.kt: app/src/main/kotlin/com/chmouel/liseur/reader/dictionary/WiktionaryClient.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is WiktionaryClient.translations at line 132), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Find translations on more Wiktionary editions\u201D; \u201Cfix: Show definitions before fetching base meanings\u201D; \u201Cfix: Show meanings for plural words\u201D; \u201Cfix(dictionary): make non-English Wiktionary editions work (#58)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/dictionary/WiktionaryClient.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/kotlin/com/chmouel/liseur/reader/dictionary/WiktionaryClient.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1ce3a342166e9a86dc0258cb49973e82d6762db03849f3b59e4bc8bdb9d927"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncUploadClient.kt: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncUploadClient.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is LiseurSyncUploadClient.answerFor at line 131), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Close gaps found in BookOrbit upload and delete review\u201D; \u201Cfix(upload): stop offering a book the server has already refused\u201D; \u201Cfix(sync): an uploaded book is a catalog book, so name it as one\u201D; \u201Cfix(upload): a server that cannot be reached has not said no\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncUploadClient.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncUploadClient.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e4fef2c4abc8422fbecd965f097c758057b53f83b770742fe0f0f5b7a46e78"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/library/EpubAuthors.kt: app/src/main/kotlin/com/chmouel/liseur/data/library/EpubAuthors.kt changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is EpubAuthorsKt.matchesJoinedAuthorIdentity at line 134), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Show a translator with other roles as the translator\u201D; \u201Cfix: Match author names that contain commas\u201D; \u201Cfix: Guard author repairs against replaced books\u201D; \u201Cfix: Find the EPUB package among renditions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/library/EpubAuthors.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/kotlin/com/chmouel/liseur/data/library/EpubAuthors.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"223557f69b3461590f1ccc3703094f6a5143cb1ea88c6887b40b58226a11708b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/remote/LocalNetworkAddress.kt: app/src/main/kotlin/com/chmouel/liseur/data/remote/LocalNetworkAddress.kt changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is LocalNetworkAddress.literalVerdict at line 84), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep public catalogs reachable on mobile data\u201D; \u201Cfix: do not mistake a name beginning with 127 for the phone itself\u201D; \u201Cfix: leave the live connection alone when the network is blocked\u201D; \u201Cfix: ask each sync partner whether it would dial\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/remote/LocalNetworkAddress.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/kotlin/com/chmouel/liseur/data/remote/LocalNetworkAddress.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd1caaa53dc56d287493292829b66a6e3449ed7e2a55faef3bb81e736db9901"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/sync/LiveSyncConnector.kt: app/src/main/kotlin/com/chmouel/liseur/sync/LiveSyncConnector.kt changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is LiveSyncConnector.connected at line 95), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: reopen the live connection once the network is allowed\u201D; \u201Cfix: leave the live connection alone when the network is blocked\u201D; \u201Cfix: Serialize live lifecycle transitions\u201D; \u201Cfix: Guard live lifecycle transitions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/sync/LiveSyncConnector.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/kotlin/com/chmouel/liseur/sync/LiveSyncConnector.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"047dd13a2ff7e243322ce100dec4b2a4f569b5e1b443903b25988de652fc4a25"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/domain/ReadingPositionBackup.kt: app/src/main/kotlin/com/chmouel/liseur/domain/ReadingPositionBackup.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is ReadingPositionBackupKt.decodeReadingPositionBackup at line 25), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: keep a book\u0027s status honest across the edges around it\u201D; \u201Cfix: Keep percentage-only positions in backups\u201D; \u201Cfix: Match restored positions to the right book\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/domain/ReadingPositionBackup.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/kotlin/com/chmouel/liseur/domain/ReadingPositionBackup.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ceaab2a04b6434f4216a7b729c4dd1714e2b8861c426a3c002b8756b7482cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt: app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is LiseurSyncHttp.send at line 183), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: a refused reading session no longer takes its batch with it\u201D; \u201Cfix: reconnecting to liseur-sync keeps the device and the account\u201D; \u201Cfix: Stop a sync once the server has stopped answering\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"65915052fdd3a4190728c9d49166cf5ce2aed162d869cfa30458382c8da252dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/ui/library/BookDetailsViewModel.kt: app/src/main/kotlin/com/chmouel/liseur/ui/library/BookDetailsViewModel.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is BookDetailsViewModel.details at line 82), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Show a book marked unread as unread everywhere\u201D; \u201Cfix: Show a server\u0027s page count before the catalog is refreshed\u201D; \u201Cfix: Keep book details true to the book after removals and refreshes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/library/BookDetailsViewModel.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/kotlin/com/chmouel/liseur/ui/library/BookDetailsViewModel.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec4c9c1ad0a2fe0e520684049a0810a326ae8a846d8fc22bac0e5db4c73aa9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/db/BookMetadata.kt: app/src/main/kotlin/com/chmouel/liseur/data/db/BookMetadata.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is BookMetadataDao.replaceCatalog at line 180), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: guard catalog details against relink and reread aliased files\u201D; \u201Cfix: Keep old server details and stale downloads off a relinked book\u201D; \u201Cfix: Keep book details true to the book after removals and refreshes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/db/BookMetadata.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/kotlin/com/chmouel/liseur/data/db/BookMetadata.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1a8883bb8ae50ce886ad60111bb53a631c4c074fb1e01e3398f7164665afe2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/db/UploadRefusal.kt: app/src/main/kotlin/com/chmouel/liseur/data/db/UploadRefusal.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is UploadRefusalDao.rekeyAccount at line 183), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Start a replaced book fresh, server link and settings included\u201D; \u201Cfix: Remember sent books the server kept unlinked\u201D; \u201Cfix: reconnecting to liseur-sync keeps the device and the account\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/db/UploadRefusal.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/kotlin/com/chmouel/liseur/data/db/UploadRefusal.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3278af06aee11c5966bf9cb4fc3291eeb96f1f882becf91921ea87f7fe38b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/ui/stats/StatsSnapshotUnion.kt: app/src/main/kotlin/com/chmouel/liseur/ui/stats/StatsSnapshotUnion.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is StatsSnapshotUnionKt.uniteSnapshot at line 14), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Show the real day a book was started after a reinstall\u201D; \u201Cfix: Count other devices\u0027 reading on the stats widget\u201D; \u201Cfix: Guard against overflowing timestamps and mislabeled pace\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/ui/stats/StatsSnapshotUnion.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/kotlin/com/chmouel/liseur/ui/stats/StatsSnapshotUnion.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f5a2ea74d9085f95944fff104b8a977a0d31909f916652ff2df9f073d03d37"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/companion/CharacterPage.kt: app/src/main/kotlin/com/chmouel/liseur/companion/CharacterPage.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is CharacterPageKt.codexViews at line 18), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep a not-a-name verdict on its own page\u201D; \u201Cfix: Stop a shared alias joining two characters\u201D; \u201Cfix: Tell apart recap relationships worded the same\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/companion/CharacterPage.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/kotlin/com/chmouel/liseur/companion/CharacterPage.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce183b5fefbdf294514e738433f6ba41cadfb937983ae206184b13a98c36bf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/domain/quotes/QuoteRules.kt: app/src/main/kotlin/com/chmouel/liseur/domain/quotes/QuoteRules.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is QuoteRules.lineWithinCeiling at line 94), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Check a cached paragraph where it ends, not only where it opens\u201D; \u201Cfix: Keep the quote store short of book text\u201D; \u201Cfix: Keep the Home quote honest about what was read\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/domain/quotes/QuoteRules.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/kotlin/com/chmouel/liseur/domain/quotes/QuoteRules.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea699af1924adf1f2a36b2aba78bc0e45b9ac37cd2286458f751838bf09e5b0a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/SpokenPassage.kt: app/src/main/kotlin/com/chmouel/liseur/reader/SpokenPassage.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is SpokenPassage.isShowing at line 43), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: check the reader page still exists before measuring it\u201D; \u201Cfix: Show saved translations in books that space sentences with spans\u201D; \u201Cfix: Check the page actually on screen before following the voice\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/SpokenPassage.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/kotlin/com/chmouel/liseur/reader/SpokenPassage.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"290d5056541e78ac7c04898addcbbfb9b3eff40e996d100176a37a597d10ffb7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/play/kotlin/com/chmouel/liseur/insights/FlavorUsageReporting.kt: app/src/play/kotlin/com/chmouel/liseur/insights/FlavorUsageReporting.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is PlayUsageReporting.start at line 85), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Save crash reports even while an upload is stuck\u201D; \u201Cfix: Never send old reports after reporting is turned back on\u201D; \u201Cfix: Keep the app responsive while reporting is turned off\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/play/kotlin/com/chmouel/liseur/insights/FlavorUsageReporting.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/play/kotlin/com/chmouel/liseur/insights/FlavorUsageReporting.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c00eb2ba8877202e8e53a4fce3aa4ae20d461c0ce22b4064afe73e5f49a249c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/library/FileMetadata.kt: app/src/main/kotlin/com/chmouel/liseur/data/library/FileMetadata.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is FileMetadataKt.fileMetadata at line 24), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Show contributors under their primary name\u201D; \u201Cfix: Show a translator with other roles as the translator\u201D; \u201Cfix: Keep book details right for restored files, alias names and empty fields\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/library/FileMetadata.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/kotlin/com/chmouel/liseur/data/library/FileMetadata.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8d43b27821eef8352cf906baa21723e1dab8c000bf4f2af1880d401843d6f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/remote/CatalogMetadata.kt: app/src/main/kotlin/com/chmouel/liseur/data/remote/CatalogMetadata.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is CatalogMetadataKt.catalogMetadataRow at line 14), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: guard catalog details against relink and reread aliased files\u201D; \u201Cfix: Keep old server details and stale downloads off a relinked book\u201D; \u201Cfix: Keep book details true to the book after removals and refreshes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/remote/CatalogMetadata.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/kotlin/com/chmouel/liseur/data/remote/CatalogMetadata.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e11132d45d204b8be8e68cf9e2147749513f6709817bb0882251e1a76964a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/translate/TranslationContext.kt: app/src/main/kotlin/com/chmouel/liseur/translate/TranslationContext.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is PrecedingSentences.find at line 107), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Find earlier text for a passage already read past\u201D; \u201Cfix: Find a read-aloud passage\u0027s earlier text every time\u201D; \u201Cfix: Find earlier text for grouped read-aloud sentences\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/translate/TranslationContext.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/kotlin/com/chmouel/liseur/translate/TranslationContext.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf7207a6ceb07602cc59ccbcd86726a45abd148fdd741f1ec5891723523ac04"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/PositionSaveDecision.kt: app/src/main/kotlin/com/chmouel/liseur/reader/PositionSaveDecision.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is PositionSaveDecisionKt.shouldSkipPositionSave at line 9), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Save a declined BookOrbit offer only once\u201D; \u201Cfix: Save the reader\u0027s chosen page reliably\u201D; \u201Cfix: Save BookOrbit reading choices\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/PositionSaveDecision.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/kotlin/com/chmouel/liseur/reader/PositionSaveDecision.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5f17234c6b83485f3592e89c407b2aceb7bd417255b7808719a4abfcbb7bf9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/domain/BookExport.kt: app/src/main/kotlin/com/chmouel/liseur/domain/BookExport.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is BookExportKt.bookExportFileName at line 4), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Reject malformed annotation backups\u201D; \u201Cfix: Clean export names and annotation counts\u201D; \u201Cfix: Reject ambiguous annotation backups\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/domain/BookExport.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/kotlin/com/chmouel/liseur/domain/BookExport.kt"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5530f6a511fc4fadbefad701ae8d90aa21cc15a1a8af59296a8979dce0f796de"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitAdoptedSource.kt: app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitAdoptedSource.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is BookOrbitAdoptedSource.holds at line 86), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Tighten a few edge cases around uploads and server deletes\u201D; \u201Cfix: Only forget the lost book for the account that lost it\u201D; \u201Cfix: Stop syncing an uploaded book whose file was swapped\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitAdoptedSource.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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitAdoptedSource.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad97a8b1c773c92fc7f04e67d3cf300a6ffc1c2a972781f0271e952f28f6901f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/remote/PrivateAddress.kt: app/src/main/kotlin/com/chmouel/liseur/data/remote/PrivateAddress.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is PrivateAddress.isPrivateV4 at line 130), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Keep public catalogs reachable on mobile data\u201D; \u201Cfix: leave the live connection alone when the network is blocked\u201D; \u201Cfix: ask to reach servers on the home network\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/remote/PrivateAddress.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/kotlin/com/chmouel/liseur/data/remote/PrivateAddress.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"860bf19e9e05718bbb28850be9d9e1a866b6f138e5ae001b11d7983eda3e845a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/data/library/SvgCover.kt: app/src/main/kotlin/com/chmouel/liseur/data/library/SvgCover.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is SvgCoverKt.svgCoverSize at line 50), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: measure what a cover asks for before drawing it\u201D; \u201Cfix: keep a tiny cover from asking for a huge bitmap\u201D; \u201Cfix: tighten how a cover file is read and drawn\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/data/library/SvgCover.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/kotlin/com/chmouel/liseur/data/library/SvgCover.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"602dfdf13ce36f88c7db12af3c4e42b8794e5b7f367b9c5483619a8bb7ab4d21"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/kotlin/com/chmouel/liseur/reader/ImageAtPoint.kt: app/src/main/kotlin/com/chmouel/liseur/reader/ImageAtPoint.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is ImageAtPoint.parse at line 253), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: show the caption the book printed, and other review fixes\u201D; \u201Cfix: land the right gesture on the right thing\u201D; \u201Cfix: open pictures in fixed-layout books, and light art on a light page\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:03:15 \u002B01:00\u0027 --until=\u00272026-11-16 19:03:15 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/chmouel/liseur/reader/ImageAtPoint.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/kotlin/com/chmouel/liseur/reader/ImageAtPoint.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dc06a55114bc0545a0404bd202de69e3bd7797bb9495ea7b6872b10d1dc411"}},{"ruleId":"D20","level":"note","message":{"text":"ADR declares no status: \u0060docs/adr/0039-the-widget-borrows-the-dashboards-other-devices.md\u0060 declares no status, while 73 of the 73 other records in \u0060docs/adr\u0060 do, so a reader cannot tell whether this decision is in force. Add a \u0060Status:\u0060 line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/0039-the-widget-borrows-the-dashboards-other-devices.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c96d317bb84bb14c0f2e834ea1991c911aec9e20f7c8fc2f25eb9d6d241be9f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/adr/0066-choosing-an-opds-download-format.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/0066-choosing-an-opds-download-format.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85abb6ef7644a416ee48f2555e56b93812a57335bb82ac5ca8278170db36b22"}},{"ruleId":"D20","level":"note","message":{"text":"ADR still proposed, but the code already adopted it: docs/adr/0003-read-aloud-tts.md:3 says \u0022proposed\u0022, but the production code already uses every element its Decision names: \u0060TtsNavigator\u0060 (app/src/main/kotlin/com/chmouel/liseur/tts/ReadAloudPlayback.kt), \u0060TextToSpeech\u0060 (app/src/main/kotlin/com/chmouel/liseur/tts/DeviceSpeechService.kt). A proposal the code has adopted is a decision in force; mark it accepted, or, if the code should not do this, say so."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/0003-read-aloud-tts.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ca40dba7203043984caa4b4094f69e5724eb78497c8f0f62368622ef1dac46"}},{"ruleId":"D20","level":"note","message":{"text":"ADR still proposed, but the code already adopted it: docs/adr/0058-codex-hosts-the-character-profile.md:3 says \u0022proposed\u0022, but the production code already uses every element its Decision names: \u0060CodexStore.FORMAT\u0060 (app/src/main/kotlin/com/chmouel/liseur/companion/CompanionViewModel.kt), \u0060PassageText.VERSION\u0060 (app/src/main/kotlin/com/chmouel/liseur/companion/CompanionSheet.kt). A proposal the code has adopted is a decision in force; mark it accepted, or, if the code should not do this, say so."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/0058-codex-hosts-the-character-profile.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d374a09258de027cff63d1517a513fc47fdb6afad4354d0966551e86e18d753e"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060app\u0060 (150596 LoC, 2778 module-visible types across 56 directories) overshoots its size bounds. 1 of 3 build unit(s) (Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 3.3/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c9ca2f4e1cbcc84bf010a889b5e2cd34ca985c674f80891b0f288e779770d1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd809db854703f47076cbf521e9e8f676733596aa99acc767b7000f52f9a1e46"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9baf2754b4f180599fa5f31c74964f889a650466531b3510dc173c81059f1d9f"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"63778fa624412affc09bbae17ed4e235deee47c1e8fbbd49594e08c2f223c987"},"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":"3b0367e7ea9bdd389991714fe83002077989c3eac9db9d8bdc3becd4dd073aee"},"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":"6bf5392b618657307110f6c34d05c5aea437df02d434638627bd5012139da7bc"},"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":"765792892e552cd9ba52713b6d846b5fe10d7d9a51504e813d1117c426a4c4f2"},"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":"cb23e31b87cae6883ba44042dbda76d08b7f25210337df17765da857135979ec"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"eec14e06afc5bd05ec0ed1e5173a96b64452b43ec2c68de79a45cb527eca0fab"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"def850840d0299f9a864f6c2234ad0ceef094d192e1fcba108df0730f0d465f9"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e80293a646582f91aff68cfbf2396be9ed97a17510ae16d2ba855c65b06fb24"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e27afca339fa8d52def1964bb5694678a533c6ed0e483b25955745450e36190a"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37756d559b760b26d091ae6981f1dcdf4932e9324bda87f1b3e729bb123c7e73"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","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":"d4e2602a5c1925c5195645e2765064a6f10cb2ac824e5f17ab026bfc3a492078"},"properties":{"dependency":{"package":"@xmldom/xmldom","version":"0.9.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.9.12","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"9d1fd4c8b5b842e73fb1b25bedeb660ec7b81701bfe1d5867268c52b2fea88bd"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.16.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"25b0fafb1afe3e902df9ae3f5c947b7f3d394bef800ad962a950d7d1d01c99fa"},"properties":{"dependency":{"package":"esbuild","version":"0.27.7","advisory":"[GHSA redacted]","severity":"low","fixedVersion":"0.28.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: MainActivity.kt \u2192 AdvancedSheet.kt, ReadingAppearanceScreen.kt, ReadingNavigationScreen.kt, SettingsScreen.kt: \u0060app/src/main/kotlin/com/chmouel/liseur/MainActivity.kt\u0060 changes together with 4 other files \u2014 \u0060app/src/main/kotlin/com/chmouel/liseur/reader/chrome/AdvancedSheet.kt\u0060, \u0060app/src/main/kotlin/com/chmouel/liseur/ui/settings/ReadingAppearanceScreen.kt\u0060, \u0060app/src/main/kotlin/com/chmouel/liseur/ui/settings/ReadingNavigationScreen.kt\u0060, \u0060app/src/main/kotlin/com/chmouel/liseur/ui/settings/SettingsScreen.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/MainActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4776c409394d86431bfbb84f6dbb106efedb23d6570945f0ac3c33d82a05bad2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AppContainer.kt \u2194 RemoteServer.kt: \u0060app/src/main/kotlin/com/chmouel/liseur/AppContainer.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060bdd23db6\u0060 feat: Enable automatic BookOrbit position sync; \u00607e6ca087\u0060 feat(sync): sync highlights, notes and bookmarks (#78); \u0060e5ce4afb\u0060 feat(upload): background upload worker and Ask/Always/Never policy \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/AppContainer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db90ac16352f0b808000ac72a1107f996fab1efed7cf469210b2214df18e23b0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ReaderActivity.kt \u2192 ReaderPreferencesRepository.kt, ReaderPreferencesMapper.kt, AdvancedSheet.kt, ReadingAppearanceControls.kt, ReadingAppearanceScreen.kt: \u0060app/src/main/kotlin/com/chmouel/liseur/reader/ReaderActivity.kt\u0060 changes together with 5 other files \u2014 \u0060app/src/main/kotlin/com/chmouel/liseur/data/settings/ReaderPreferencesRepository.kt\u0060, \u0060app/src/main/kotlin/com/chmouel/liseur/reader/ReaderPreferencesMapper.kt\u0060, \u0060app/src/main/kotlin/com/chmouel/liseur/reader/chrome/AdvancedSheet.kt\u0060, \u0060app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt\u0060, \u0060app/src/main/kotlin/com/chmouel/liseur/ui/settings/ReadingAppearanceScreen.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/ReaderActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a90db935e4da1b9958a8a2b607990ec87cbb04f539f7a5c6206ad3356283e97"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ReaderViewModel.kt \u2194 ReadingAppearanceControls.kt: \u0060app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/ui/reading/ReadingAppearanceControls.kt\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 8 shared commits counted here, the most recent 3 are \u0060a41a2ef8\u0060 feat: Let the reader stay in portrait or landscape; \u00601b5ee856\u0060 feat: Change brightness by swiping the page edge; \u0060d2e5b0ca\u0060 feat: let each footer corner show what you choose \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0f708afe467e19a3e98b8d3d315a374132091d0b89e7690d17a32dd432d8c9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: LiseurSyncApi.kt \u2192 AppContainer.kt, LiseurDatabase.kt, RemoteAccountRepository.kt: \u0060app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncApi.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/kotlin/com/chmouel/liseur/AppContainer.kt\u0060, \u0060app/src/main/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt\u0060, \u0060app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncApi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"097ac3c4f4689d15afb0ef267a8995f8de4ec2ca592eb4b65781714e249bfd11"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RemoteServer.kt \u2194 LiseurSyncServerSetup.kt: \u0060app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncServerSetup.kt\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006078e37501\u0060 fix: reconnecting to liseur-sync keeps the device and the account; \u006031fb23c1\u0060 feat: Implement cross-device reading statistics (ADR-0021); \u0060852a9897\u0060 feat(server): the capability to delete a book on liseur-sync \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea635c3f7373b4a1361bdad3fa14dc37460770252065439f400b72eeccc8014"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ReaderViewModel.kt \u2194 AdvancedSheet.kt: \u0060app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/reader/chrome/AdvancedSheet.kt\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060a41a2ef8\u0060 feat: Let the reader stay in portrait or landscape; \u00601b5ee856\u0060 feat: Change brightness by swiping the page edge; \u0060d2e5b0ca\u0060 feat: let each footer corner show what you choose \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"691c183c94d4ce9b78fc83226fc92441906b0d3ea7017a23e59e659b2b704c59"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LiseurSyncServerSetup.kt \u2194 LibraryScreen.kt: \u0060app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncServerSetup.kt\u0060 and \u0060app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060822e7543\u0060 feat: Let the reader choose between two BookOrbit places; \u0060b43af50b\u0060 fix: ask to reach servers on the home network; \u006094644dcc\u0060 feat(liseursync): recover a sync whose work was deleted server-side \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncServerSetup.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e704963c8a107e071a78a095b326f647b2f8778f07ab47fd665014d919a7a53"}},{"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":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d9450c1e9a738f2d810b3eef41d9babb54722911a7ca830a4cd182d6263d27e"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/thumbnail.html"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5417468c4774914211ac3d2d34e3b07566ab2761f8aa23fc3dec199cc69def3"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/thumbnail.html"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3475aef3adb8303cdac202695ff9de46a0a0d2c1149dd41cf6b14270223c6d6c"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/thumbnail.html"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e37f397179020b87e30d34012f55f007c7080b01b61ac8fd073f211d093067"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/feature-graphic.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f7514237d8abc3f7a62a6bfad0708b508465c32a57f4b415eaacba172b4fe5"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/feature-graphic.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"51134c7982c8445e976b2ee5a881da9590f79beadb76f8450d8f7df6f167bb1b"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/feature-graphic.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"160625dd9aea74b0ea5a2f12d0ce83d31f03f14fdc6d0960802b91964b415ba5"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/thumbnail.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7313a7e7f0609886a1357ab278634ff1cbf3ffeb04d4a978f000074bde7f470f"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/thumbnail.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f362d5cfc4bb7fcaad358f3b1d5fdc27f32778063709206b255f16336ef44a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/thumbnail.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0944f02526dbc966affe81f3f8bfa27e13c5c6cff2eee97d5ec958fd58cd3288"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: CompanionRecapDao (44 abstract methods): \u0060CompanionRecapDao\u0060 declares 44 abstract methods: \u0060recaps\u0060, \u0060watchRecaps\u0060, \u0060recap\u0060, \u0060touch\u0060, \u0060putRecap\u0060, \u0060firstBackupPage\u0060, \u0060nextBackupPage\u0060, \u0060restoreRecap\u0060, \u0060forgetOtherRecaps\u0060, \u0060parts\u0060, \u0060putPart\u0060, \u0060forgetParts\u0060, \u0060forgetOtherParts\u0060, \u0060queued\u0060, \u0060enqueue\u0060, \u0060dequeue\u0060, \u0060forgetOtherQueued\u0060, \u0060clearQueueFollowingSettings\u0060, \u0060turnedOn\u0060, \u0060choice\u0060, \u0060putChoice\u0060, \u0060summary\u0060, \u0060summariesAt\u0060, \u0060touchSummary\u0060, \u0060putSummary\u0060, \u0060restoreSummary\u0060, \u0060forgetOtherSummaries\u0060, \u0060forgetSummaries\u0060, \u0060summaryCount\u0060, \u0060summaryCharacters\u0060, \u0060oldestSummaries\u0060, \u0060forgetSummary\u0060, \u0060firstSummaryPage\u0060, \u0060nextSummaryPage\u0060, \u0060books\u0060, \u0060forgetRecaps\u0060, \u0060forgetQueued\u0060, \u0060forgetChoices\u0060, \u0060recapCount\u0060, \u0060recapCharacters\u0060, and 4 more. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4924781a1a1db1a446ad6a05afefd610bf710bd7f088a4b458fa160a7326e63c"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookDao (60 abstract methods): \u0060BookDao\u0060 declares 60 abstract methods: \u0060observeAll\u0060, \u0060allOnce\u0060, \u0060observeMostRecent\u0060, \u0060mostRecentlyOpened\u0060, \u0060continuationCandidates\u0060, \u0060getByUrl\u0060, \u0060observeByUrl\u0060, \u0060getByUrls\u0060, \u0060presentUrls\u0060, \u0060worksByUrl\u0060, \u0060setArchived\u0060, \u0060allRemote\u0060, \u0060fromBrowseServer\u0060, \u0060observeFromBrowseServer\u0060, \u0060undownloadedFromBrowseServer\u0060, \u0060unlinkDownloadedFromBrowseServerRows\u0060, \u0060forgetUnlinkedCatalogMetadata\u0060, \u0060moveToBrowseServer\u0060, \u0060rescopeRemote\u0060, \u0060moveRemoteToBrowseServer\u0060, \u0060allOpenable\u0060, \u0060remoteNotDownloadedUrls\u0060, \u0060unlinkDownloadedFromRemoteRows\u0060, \u0060unlinkFromRemoteRows\u0060, \u0060markCatalogMissing\u0060, \u0060clearCatalogMissing\u0060, \u0060booksForSource\u0060, \u0060setDownloadState\u0060, \u0060markDownloaded\u0060, \u0060updateAuthor\u0060, \u0060needingAuthorCheck\u0060, \u0060refreshIndexedFile\u0060, \u0060needingSeriesCheck\u0060, \u0060needingMetadataCheck\u0060, \u0060setFileMetadataChecked\u0060, \u0060fillSeriesFromFile\u0060, \u0060setSeriesOverride\u0060, \u0060acknowledgeSeriesClaim\u0060, \u0060updatePendingSeriesClaimRevision\u0060, \u0060pendingSeriesClaims\u0060, and 20 more. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be29dd8cdabe88540b13e19003008ba261a6a091a360179793c7c4a49a43d2d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: LiseurDatabase (31 abstract methods): \u0060LiseurDatabase\u0060 declares 31 abstract methods: \u0060readingProgressDao\u0060, \u0060furthestPositionDao\u0060, \u0060readingSessionDao\u0060, \u0060syncPeerStateDao\u0060, \u0060workIdentityDao\u0060, \u0060bookDao\u0060, \u0060seriesOrderDao\u0060, \u0060libraryFolderDao\u0060, \u0060remoteServerDao\u0060, \u0060kosyncPeerDao\u0060, \u0060annotationDao\u0060, \u0060annotationSyncDao\u0060, \u0060typographyDao\u0060, \u0060bookScreenDao\u0060, \u0060bookReadingModeDao\u0060, \u0060seriesExtraDao\u0060, \u0060uploadRefusalDao\u0060, \u0060sessionRefusalDao\u0060, \u0060sessionTransmissionDao\u0060, \u0060starterCatalogProgressDao\u0060, \u0060bookOrbitBindingDao\u0060, \u0060bookOrbitCfiDao\u0060, \u0060bookOrbitLocalCfiDao\u0060, \u0060bookOrbitPositionAgreementDao\u0060, \u0060bookOrbitPositionTraversalDao\u0060, \u0060bookOrbitStatusAgreementDao\u0060, \u0060remoteStatsDao\u0060, \u0060bookAiPreferencesDao\u0060, \u0060glossaryDao\u0060, \u0060bookMetadataDao\u0060, \u0060sessionImportSourceDao\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/LiseurDatabase.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1ba93c8b1b6d0880a02d1a8192410752a31f536c43f31658f17f5523b3bc72"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ReadingProgressDao (31 abstract methods): \u0060ReadingProgressDao\u0060 declares 31 abstract methods: \u0060forget\u0060, \u0060get\u0060, \u0060resetPeak\u0060, \u0060adoptBookOrbitPosition\u0060, \u0060observe\u0060, \u0060getAll\u0060, \u0060firstBackupPage\u0060, \u0060nextBackupPage\u0060, \u0060restoreBackupReadAt\u0060, \u0060restoreBackupCoverage\u0060, \u0060observeReadAt\u0060, \u0060readAtOnce\u0060, \u0060observeProgressions\u0060, \u0060upsert\u0060, \u0060updateLocal\u0060, \u0060insertLocal\u0060, \u0060updatePending\u0060, \u0060insertPending\u0060, \u0060pendingFor\u0060, \u0060clearPending\u0060, \u0060currentRevision\u0060, \u0060renameRevision\u0060, \u0060renameStatusRevision\u0060, \u0060updateFinishedOverride\u0060, \u0060insertFinishedOverride\u0060, \u0060overrideFor\u0060, \u0060retireAccountState\u0060, \u0060retireStatusDebt\u0060, \u0060rekeyAccount\u0060, \u0060markDirtyFor\u0060, \u0060ownedByOther\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dfd1c4dccda7af5e4d73a41ca2c0671f645ba3a5f5de7829247b17cbb5d5eb"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ReadingSessionDao (25 abstract methods): \u0060ReadingSessionDao\u0060 declares 25 abstract methods: \u0060insert\u0060, \u0060insertAll\u0060, \u0060checkpoint\u0060, \u0060finish\u0060, \u0060openSessions\u0060, \u0060closeInterruptedSessions\u0060, \u0060get\u0060, \u0060observeAll\u0060, \u0060allOnce\u0060, \u0060closedForBackup\u0060, \u0060startedAtFor\u0060, \u0060idFor\u0060, \u0060rowById\u0060, \u0060importedRowsUnder\u0060, \u0060deleteById\u0060, \u0060reattachImportedSessions\u0060, \u0060observeTotalDuration\u0060, \u0060awaitingUpload\u0060, \u0060awaitingUploadTo\u0060, \u0060markUploaded\u0060, \u0060forgetUploads\u0060, \u0060forgetTransmissionEvidence\u0060, \u0060countForBook\u0060, \u0060deleteForBook\u0060, \u0060deleteForBooks\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingSession.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c968ef461aa49209f736286be60cb7a368d3ea76c79b2139d8325d0cc1c0882"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RemoteServerDao (19 abstract methods): \u0060RemoteServerDao\u0060 declares 19 abstract methods: \u0060observe\u0060, \u0060get\u0060, \u0060setPreferredFormat\u0060, \u0060observeBrowseServers\u0060, \u0060browseServers\u0060, \u0060nextBrowseId\u0060, \u0060upsert\u0060, \u0060setKoboTokenCipher\u0060, \u0060setCatalogSyncedAt\u0060, \u0060setPositionSyncedAt\u0060, \u0060setSyncToken\u0060, \u0060setCanDownload\u0060, \u0060setCanUpload\u0060, \u0060setCanReadInsights\u0060, \u0060setSyncCursor\u0060, \u0060rotateOrbitTokens\u0060, \u0060setOrbitEpoch\u0060, \u0060setAnnotationCursor\u0060, \u0060delete\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f195476305cba32e7edc884ac688ea6215565df0767e0bd9e85088ea407c70"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SyncPeerStateDao (27 abstract methods): \u0060SyncPeerStateDao\u0060 declares 27 abstract methods: \u0060get\u0060, \u0060hasPendingStatusForBook\u0060, \u0060forPeer\u0060, \u0060pendingFor\u0060, \u0060countPending\u0060, \u0060countForBook\u0060, \u0060upsert\u0060, \u0060updatePending\u0060, \u0060insertPending\u0060, \u0060clearPending\u0060, \u0060updatePendingStatus\u0060, \u0060insertPendingStatus\u0060, \u0060clearPendingStatus\u0060, \u0060updateStatusSent\u0060, \u0060insertStatusSent\u0060, \u0060clearStatusSent\u0060, \u0060acknowledgePositionRevision\u0060, \u0060insertPositionAcknowledgement\u0060, \u0060acknowledgeStatus\u0060, \u0060insertStatusAcknowledgement\u0060, \u0060updateSettled\u0060, \u0060insertSettled\u0060, \u0060forget\u0060, \u0060forgetBooks\u0060, \u0060forgetPeer\u0060, \u0060countForPeer\u0060, \u0060rekeyPeer\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba7f2808cd2e0e6ffeb2e94c8e673114412396822263b18d0e63bae3876edcb"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: WorkIdentityDao (28 abstract methods): \u0060WorkIdentityDao\u0060 declares 28 abstract methods: \u0060fingerprint\u0060, \u0060observeFingerprint\u0060, \u0060upsert\u0060, \u0060alias\u0060, \u0060observeAwaitingAnswer\u0060, \u0060reject\u0060, \u0060observeAmbiguityCount\u0060, \u0060aliasesFor\u0060, \u0060observeAliases\u0060, \u0060deleteAliasIfStale\u0060, \u0060confirm\u0060, \u0060markSeeded\u0060, \u0060markAnnotationsReconciled\u0060, \u0060raiseFurthestFloor\u0060, \u0060furthestFloor\u0060, \u0060forgetAnnotationReconciliation\u0060, \u0060ambiguitiesFor\u0060, \u0060ambiguityCount\u0060, \u0060clearAmbiguity\u0060, \u0060forgetFingerprints\u0060, \u0060forgetAliases\u0060, \u0060namingCountForBook\u0060, \u0060forgetAmbiguities\u0060, \u0060forgetPeerAliases\u0060, \u0060forgetPeerAmbiguities\u0060, \u0060countForPeer\u0060, \u0060rekeyAliases\u0060, \u0060rekeyAmbiguities\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/WorkIdentity.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5026dc83eaa3e5ddf8926b4cad4020ced0e1650190fb98609420f9cf06c047e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: TranslatedSentenceDao (23 abstract methods): \u0060TranslatedSentenceDao\u0060 declares 23 abstract methods: \u0060find\u0060, \u0060findAll\u0060, \u0060touch\u0060, \u0060put\u0060, \u0060putPulled\u0060, \u0060refreshPulled\u0060, \u0060unsynced\u0060, \u0060lastSaved\u0060, \u0060maxSavedAt\u0060, \u0060count\u0060, \u0060cacheCount\u0060, \u0060cacheCharacters\u0060, \u0060keptBytes\u0060, \u0060forExport\u0060, \u0060exportPage\u0060, \u0060counted\u0060, \u0060characters\u0060, \u0060oldest\u0060, \u0060drop\u0060, \u0060dropOldest\u0060, \u0060books\u0060, \u0060forget\u0060, \u0060clear\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a46d954906eedeb8da3bb135edd357eac0ee75d38d2243ed415f77b7d57c81b"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 2.5.5 reproducibly failed on a screen of the running app: Accessibility-tree rule(s) android-target-size-enhanced failed on: /FrameLayout[0]/FrameLayout[0]/FrameLayout[0]/ViewGroup[0]/View[0]/View[0]/View[0]/View[1]/View[0]/View[0]. Read from the Android accessibility tree on an emulator (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2ee3de9aa0028c9191f2c7f1fbe833d922554b9a7aa02dd137ec3133f3400420"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 4.1.2 reproducibly failed on a screen of the running app: Accessibility-tree rule(s) android-accessible-name, android-editable-name failed on: /FrameLayout[0]/FrameLayout[0]/FrameLayout[0]/ViewGroup[0]/View[0]/View[0]/View[0]/View[1]/View[0]/View[0]. Read from the Android accessibility tree on an emulator (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a671bc38900c9e3813f69bb820c3c630ab76873d1cdbfd44d9048da261a482b7"}},{"ruleId":"C4","level":"note","message":{"text":"Partial data-retention evidence: A retention mechanism is present, but the data-lifecycle is not yet complete \u2014 missing: a scheduled purge / cleanup job (a periodic worker or scheduled task that deletes rows past their retention \u2014 @Query(\u0022DELETE \u2026 WHERE createdAt \u003C :cutoff\u0022), deleteWhere { createdAt less cutoff }, purgeExpired\u2026 / deleteOld\u2026), a documented retention period / data-expiry."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e6c843eccaff7ffcfe5241125b74768c2364055ab6678b12b10d47f44086afa4"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: CodexBookRow: \u0060CodexBookRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060identity\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060CodexBookRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CodexStore.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8813f668ecb7808f087c20a684915d4fe659427354893856e83d3b286b7bf56"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: CodexUnitRow: \u0060CodexUnitRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060stats\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060CodexUnitRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CodexStore.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"63580cbc46815a8565bc0282bd04e6136f7a0ff67dd78673b6e91f5bfec7387e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: CodexPassageRow: \u0060CodexPassageRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060ref\u0060, \u0060text\u0060, \u0060folded\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060CodexPassageRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CodexStore.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"082880cd7efd286672e9ea6de9508c6f74bd9f41fe23a471e2ff30a9645dcd09"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ChapterRecapRow: \u0060ChapterRecapRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060unitKey\u0060, \u0060contentSha\u0060, \u0060serverId\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ChapterRecapRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb19cdfdbfcd675526ca57ff83b383d53213ed2ffc35078ead3d501b2c5042e1"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: RecapPartRow: \u0060RecapPartRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060unitKey\u0060, \u0060contentSha\u0060, \u0060serverId\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060RecapPartRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"157776bf751413989d3a6cc2c6bab185be1e36224c21a683e1b5e2b7ac2580bb"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: RecapQueueRow: \u0060RecapQueueRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060unitKey\u0060, \u0060contentSha\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060RecapQueueRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f652cf283f6e22989bd9fbd7169617283f949e73cb8ebe7c30485f39b56c964"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: StorySummaryRow: \u0060StorySummaryRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060key\u0060, \u0060contentSha\u0060, \u0060deps\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060StorySummaryRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ea4b6f7664012e8322732fe616f123ff800bbe969b8bbfdabbc82e61fcd4ee"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: RecapChoiceRow: \u0060RecapChoiceRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060RecapChoiceRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e370ee4b5e47df338fdc194c8812daa0004985ccfea65cca1ff89c7166b1015"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: AnnotationSync: \u0060AnnotationSync\u0060\u0027s public constructor takes \u0060id\u0060, \u0060peerId\u0060, \u0060bookId\u0060, \u0060workId\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060AnnotationSync\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/AnnotationSync.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f022339d13c293d9c8088d0abc9a2e89fcbbc536353b92a33aa806fb27b9e1f1"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060url\u0060, \u0060title\u0060, \u0060author\u0060, \u0060coverPath\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e291c6abf8d6686b070a9d1cbce374b9b7616b3f45246282d80ff7a08e74aa62"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: LibraryFolder: \u0060LibraryFolder\u0060\u0027s public constructor takes \u0060url\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060LibraryFolder\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdecb39562ce19568ff907f010a7a4ea3440d246aad5ad341b650dd465c92d5"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookAiPreferences: \u0060BookAiPreferences\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060translationDirection\u0060, \u0060narrationDirection\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookAiPreferences\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookAiPreferences.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"66da2497b2359dd886486a42965a4cad4a3b4a1a4dc4e2671ffca1bd4c2d89cc"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookAnnotation: \u0060BookAnnotation\u0060\u0027s public constructor takes \u0060id\u0060, \u0060bookId\u0060, \u0060kind\u0060, \u0060locatorJson\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookAnnotation\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookAnnotation.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce87fbd2799275d15505a9008e05453db950750bcd8f3d7a5b6e35dbef768ca4"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookMetadata: \u0060BookMetadata\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060source\u0060, \u0060subtitle\u0060, \u0060description\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookMetadata\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookMetadata.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a6ee3eacd51849879132a3d44343df332c90eef84acfb5bf648847d68e5833"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookOrbitBinding: \u0060BookOrbitBinding\u0060\u0027s public constructor takes \u0060accountKey\u0060, \u0060bookUrl\u0060, \u0060fileFormat\u0060, \u0060fileName\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookOrbitBinding\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitBinding.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"261c65c6fa938a51ac19f58d79fedaf4e6aac90d3e8839da5a9c1fd9bf482757"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookOrbitCfiRecord: \u0060BookOrbitCfiRecord\u0060\u0027s public constructor takes \u0060accountKey\u0060, \u0060bookUrl\u0060, \u0060rawCfi\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookOrbitCfiRecord\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitCfiRecord.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"edead2b7bb65d444d845187a1f54edb4974639b0b5d63b58478601e74e1770e0"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookOrbitLocalCfi: \u0060BookOrbitLocalCfi\u0060\u0027s public constructor takes \u0060accountKey\u0060, \u0060bookUrl\u0060, \u0060locatorJson\u0060, \u0060rawCfi\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookOrbitLocalCfi\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitLocalCfi.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c1e38f426843ce468cb58948afd6d102cef4c6b3f8d943b257bb8e87686e40"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookOrbitPositionAgreement: \u0060BookOrbitPositionAgreement\u0060\u0027s public constructor takes \u0060accountKey\u0060, \u0060bookUrl\u0060, \u0060baseUrl\u0060, \u0060agreedLocatorJson\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookOrbitPositionAgreement\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionAgreement.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2930581b325365f592cc151d4ed8b8a6f432f629b15a03c184674d632b7cec0e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookOrbitPositionTraversal: \u0060BookOrbitPositionTraversal\u0060\u0027s public constructor takes \u0060accountKey\u0060, \u0060baseUrl\u0060, \u0060afterUrl\u0060, \u0060failure\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookOrbitPositionTraversal\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionTraversal.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e922e0d2245572ae782cd280a201093d43514b550314dbeaa4095553329e404c"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookOrbitPositionTraversalItem: \u0060BookOrbitPositionTraversalItem\u0060\u0027s public constructor takes \u0060accountKey\u0060, \u0060bookUrl\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookOrbitPositionTraversalItem\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionTraversal.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c786e08f3e20c4bb74605d2a6b4c621377cc142bb662b6283584008c037a2187"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookOrbitStatusAgreement: \u0060BookOrbitStatusAgreement\u0060\u0027s public constructor takes \u0060accountKey\u0060, \u0060bookUrl\u0060, \u0060baseUrl\u0060, \u0060agreedRemoteStatus\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookOrbitStatusAgreement\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitStatusAgreement.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6d836ccd7b86bcb78acf78236c818884f9cc8267d0c426b51f50d6268a3cfc"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookReadingMode: \u0060BookReadingMode\u0060\u0027s public constructor takes \u0060bookUrl\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookReadingMode\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookReadingMode.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1b387c37974e6a2e1a6b99fa41f6d507aa83d0405afb041c35efedaa3a0770"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookScreen: \u0060BookScreen\u0060\u0027s public constructor takes \u0060bookUrl\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookScreen\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookScreen.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"96029d1d59ad7024808ce381985bad44d0ce3a88c8a28dc4af89e55289d9c789"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookTypography: \u0060BookTypography\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060font\u0060, \u0060fontSize\u0060, \u0060lineHeight\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookTypography\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookTypography.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bcdd0eba7e6280a2ae8b4721db2ddec19b315631770212fd56d994240a487a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: FurthestPosition: \u0060FurthestPosition\u0060\u0027s public constructor takes \u0060peerId\u0060, \u0060workId\u0060, \u0060edition\u0060, \u0060origin\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060FurthestPosition\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/FurthestPosition.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b2550f29a02053708b534a1703b3ec5347a9b9c5058d91ea7c6af3167305af"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PeakDelivery: \u0060PeakDelivery\u0060\u0027s public constructor takes \u0060peerId\u0060, \u0060bookUrl\u0060, \u0060workId\u0060, \u0060sentOp\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PeakDelivery\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/FurthestPosition.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4830c0203b903883612ccdb32aae73026758724bad6ccfb66a7411a06ae60b4"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: GlossaryEntry: \u0060GlossaryEntry\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060term\u0060, \u0060aliases\u0060, \u0060translation\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060GlossaryEntry\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/GlossaryEntry.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"368d111da7481f550926a24f5248444f23bd8f88c877e9f357261edd66813ba2"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: KosyncPeer: \u0060KosyncPeer\u0060\u0027s public constructor takes \u0060baseUrl\u0060, \u0060username\u0060, \u0060keyCipher\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060KosyncPeer\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/KosyncPeer.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cff1ae42512b5dfaf3eaa8893a86aeb2fa20f81f74e6138ae245f8d4b52410a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ReadingProgress: \u0060ReadingProgress\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060locatorJson\u0060, \u0060totalProgression\u0060, \u0060readingSpeed\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ReadingProgress\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1608695a60b5975c6da029f9705c309fd86c8a0bb074e4702626f7bdfa80db"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ReadingSession: \u0060ReadingSession\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060startProgression\u0060, \u0060endProgression\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ReadingSession\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingSession.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c15bc0eff1c5b1c282d528abe37126d4b97286090e5451ba1dfdee572b4d9c9"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: RemoteServer: \u0060RemoteServer\u0060\u0027s public constructor takes \u0060baseUrl\u0060, \u0060catalogUrl\u0060, \u0060username\u0060, \u0060passwordCipher\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060RemoteServer\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57353bc768b94bd4cdf88cfddf9fca2014785c7f6f12e2b82bf118ee617943c"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: RemoteStatsDay: \u0060RemoteStatsDay\u0060\u0027s public constructor takes \u0060accountKey\u0060, \u0060date\u0060, \u0060zone\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060RemoteStatsDay\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteStats.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4d247fb96216439c27c92ba8a85087b7606daa7ca888fba1c9803c86fe0f1a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: RemoteStatsWindow: \u0060RemoteStatsWindow\u0060\u0027s public constructor takes \u0060accountKey\u0060, \u0060rangeId\u0060, \u0060fromDate\u0060, \u0060today\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060RemoteStatsWindow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteStats.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6908fed8b304c1a7e8e394ee056bee2e48b042280a0e5f32202b9274934d9eec"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SeriesExtra: \u0060SeriesExtra\u0060\u0027s public constructor takes \u0060seriesId\u0060, \u0060summary\u0060, \u0060status\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SeriesExtra\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SeriesExtra.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"385b313f5d07a8a6989f13e6a69a7a38e27eb4ca2d3280f8ed31ec79897c147a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SessionImportSource: \u0060SessionImportSource\u0060\u0027s public constructor takes \u0060archivedUrl\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SessionImportSource\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionImportSource.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"52844081922a78168ccedbbda4f4b5875f970ac958988ebd864cbc6de45cd63a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SessionRefusal: \u0060SessionRefusal\u0060\u0027s public constructor takes \u0060peerId\u0060, \u0060wireSessionId\u0060, \u0060code\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SessionRefusal\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionRefusal.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1dcedb4377e7203e150de0b9501c5b192d1a0b7dc4219ff4506d5403ecdb81"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SessionTransmission: \u0060SessionTransmission\u0060\u0027s public constructor takes \u0060peerId\u0060, \u0060deviceId\u0060, \u0060payload\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SessionTransmission\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionTransmission.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe14491bf513f000ab09f997999321eff9a271cad192fec9ceaefab08998e797"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: StarterCatalogProgress: \u0060StarterCatalogProgress\u0060\u0027s public constructor takes \u0060accountKey\u0060, \u0060catalogUrl\u0060, \u0060queueJson\u0060, \u0060seenJson\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060StarterCatalogProgress\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/StarterCatalogProgress.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2e1929fcc7edaa0a74e9f8188e572c03e92f7d41c22e1ee1f8e4fe1e5296b4"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SyncPeerState: \u0060SyncPeerState\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060peerId\u0060, \u0060agreedProgression\u0060, \u0060agreedStatus\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SyncPeerState\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3fd7d857eb9fdd218362d5e19124e16a400ca236d4afb1b8aa86f9bb4df8d1"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: UploadRefusal: \u0060UploadRefusal\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060accountKey\u0060, \u0060kind\u0060, \u0060reason\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060UploadRefusal\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/UploadRefusal.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9979fb6d163a5a3fc78e91416a3bcbd71a6f8bec01ab2d75da9f477994481b4b"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookFingerprintRow: \u0060BookFingerprintRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060sha256\u0060, \u0060partialMd5\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookFingerprintRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/WorkIdentity.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4cb4f00878aec16d3deff7cf4a6e44a60df197023b48cc8bd960c3f8b24a86"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: WorkAlias: \u0060WorkAlias\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060peerId\u0060, \u0060workId\u0060, \u0060confidence\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060WorkAlias\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/WorkIdentity.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"987c2ed99c48478bc57dfdb8918fc6c508f8950cac50aa97260ad7c99098491a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: WorkAmbiguity: \u0060WorkAmbiguity\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060peerId\u0060, \u0060workIds\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060WorkAmbiguity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/WorkIdentity.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb10078f68c8c3c4c3f9b0c023e71feb4038ce66104ff09e08098f9c8eacb5d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: QuoteRow: \u0060QuoteRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060text\u0060, \u0060locatorJson\u0060, \u0060totalProgression\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060QuoteRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/quotes/QuoteDatabase.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"14161eb348d1d0ead411f1d599e88bb12a0fbe3a13699bed75bca9307edf340e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: QuoteScanRow: \u0060QuoteScanRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060scannedThrough\u0060, \u0060workId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060QuoteScanRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/quotes/QuoteDatabase.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc7bf13d0c105f2db45d7bbee1fe32a46a2300b53e0871d3ccd7f79812dfe13"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: KeptTranslation: \u0060KeptTranslation\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060source\u0060, \u0060target\u0060, \u0060identity\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060KeptTranslation\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/KeptTranslations.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31863cd740b3993246e3b135186dd7995935ad9c44bb6416646f5db58907fc0"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: KeptFailure: \u0060KeptFailure\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060key\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060KeptFailure\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/KeptTranslations.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd11169826f76738ba361adaf74decf0548fe0b2e52662681d8992f9c1d8847"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: TranslatedSentence: \u0060TranslatedSentence\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060key\u0060, \u0060translation\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060TranslatedSentence\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"54179e550d4daafaf4913aca6e4102a19db227cfde626440170a5e77d19f94d3"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PageTranslationModeRow: \u0060PageTranslationModeRow\u0060\u0027s public constructor takes \u0060bookUrl\u0060, \u0060source\u0060, \u0060target\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PageTranslationModeRow\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2420305ef696b764eed28b3855b08e7df0c8eb47b6878c0334948adf5bbdd7"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: TranslationSyncState: \u0060TranslationSyncState\u0060\u0027s public constructor takes \u0060peerId\u0060, \u0060bookUrl\u0060, \u0060workId\u0060, \u0060pullCursor\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060TranslationSyncState\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b49c14030ce38c8adec57780bc158ab04e321f3c5ec0c9a7c22d2aa4deed2bf"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: TranslationRekeyMove: \u0060TranslationRekeyMove\u0060\u0027s public constructor takes \u0060fromKey\u0060, \u0060toKey\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060TranslationRekeyMove\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0520437da7d4095d27ff64bd9242c00cf75fe06e2b232b1ed73567898ed83b"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: TranslationAccountClear: \u0060TranslationAccountClear\u0060\u0027s public constructor takes \u0060peerId\u0060, \u0060workId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060TranslationAccountClear\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9cb8250a81b6e7695bc3050f759d8d2b7ae641dd4ea973f8ef34b67a0c2c3e"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ChapterRecapRow.unitKey: \u0060ChapterRecapRow.unitKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6049d0f7d80e93321f5d0dc2bb674ef77464d00978a44dda76375cc2861496de"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ChapterRecapRow.serverId: \u0060ChapterRecapRow.serverId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fe761a3fb746c5bb57170fc46253b5c8d5d40c3cea1827fd21fbdd5df9df23"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RecapPartRow.unitKey: \u0060RecapPartRow.unitKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b00e18a2dc3e6af882786c0017a47dbe714a100ef8875b780db14354a05a85"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RecapPartRow.serverId: \u0060RecapPartRow.serverId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"359d48b629cbbfe7d82bae08a94fee5f6aa7d50acac8e129ed77294b55cc3b99"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RecapQueueRow.unitKey: \u0060RecapQueueRow.unitKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"323e1c859ea48298d5021c07e196794a3334830a973d4dc2faed575c3d8a876c"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: AnnotationSync.peerId: \u0060AnnotationSync.peerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/AnnotationSync.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a71b886fcf496959dd681e2017be861a940864e07236f60193a5a8b4e94e985"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: AnnotationSync.bookId: \u0060AnnotationSync.bookId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/AnnotationSync.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"138d4cbb9893604f61f32a20b501855390f04bdffcbbba8dddba21fc14203ec9"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: AnnotationSync.workId: \u0060AnnotationSync.workId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/AnnotationSync.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3db75afdfbd0f4601b82a944a303d01eaaa216d301c33bac21089bba2f4ba8"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Book.browseServerId: \u0060Book.browseServerId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc900450e4c9d4a5d8cc36b5b3746c374d3d8d3af447f00376408acaa8260c1"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Book.remoteBookId: \u0060Book.remoteBookId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27e03c9fac16dc3d19abaefa11185082e1e783c96db5dda65b727bffaccbff7"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Book.workId: \u0060Book.workId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1202a3b1dfb6c9ad8832e8f975888e54d0a8764375631130414687a26d58c80"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Book.seriesId: \u0060Book.seriesId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e02215d29926fec29e891087284abf057d0079a6f4dc161b22a5967e4052a45"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Book.catalogFolderId: \u0060Book.catalogFolderId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a219e1276abce273243d548be45e666a38daaeee2a25ef038f085dbfe907fe"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Book.shelfSeriesId: \u0060Book.shelfSeriesId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70a65c895c8d5de628f6853e264cd5294a459cda8954273f017b8ea8c6679cd"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookAnnotation.bookId: \u0060BookAnnotation.bookId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookAnnotation.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"20284a9b8fe30a39920c1c6502270ca1d5c492899d5c2acf5d970eae47b6413e"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitBinding.accountKey: \u0060BookOrbitBinding.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitBinding.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"44376c69bfa8e609edc51e6938af866bad54643a8084ffa8a4e004173871f3f1"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitBinding.bookId: \u0060BookOrbitBinding.bookId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitBinding.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd6f13afc2618afaea52b6d66997d610a33532918c4ca7c40f7563658cf2edb"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitBinding.fileId: \u0060BookOrbitBinding.fileId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitBinding.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2934331d1fe97d52354cf630ce4a2ec86e2ba429b78f04492a6d10fda8b6ef3"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitCfiRecord.accountKey: \u0060BookOrbitCfiRecord.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitCfiRecord.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3f564b9665bd5e8c1fd848de82508bfb33156eef570556177ef7998a2fe7b6"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitCfiRecord.bookId: \u0060BookOrbitCfiRecord.bookId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitCfiRecord.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3d9d630bc72b7c249221f2e20bfbd42440052b894e59598962bb71c1cefb6d"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitCfiRecord.fileId: \u0060BookOrbitCfiRecord.fileId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitCfiRecord.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7953f82862c77d1188bb34785a4dca2ac8549b35f835b8f3394f55ebdf61304a"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitLocalCfi.accountKey: \u0060BookOrbitLocalCfi.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitLocalCfi.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0adead49288c1e7c5c43b34a32ad73c9543262d98f145fcdf7a1a377c08b8ea"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitLocalCfi.bookId: \u0060BookOrbitLocalCfi.bookId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitLocalCfi.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"21582dc214be81afac874a9ec707aab94886f0e31d4923eeeab85e3d074c9808"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitLocalCfi.fileId: \u0060BookOrbitLocalCfi.fileId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitLocalCfi.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbfec5c4cd2905b6490dc826995c2246da416c656cced572646bafd651577c5"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitPositionAgreement.accountKey: \u0060BookOrbitPositionAgreement.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionAgreement.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"314cb8f81dd91ae43047f6a0125fc23f5ce4acb9f5f4e9fc0dcdc08bebd2795f"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitPositionAgreement.bookId: \u0060BookOrbitPositionAgreement.bookId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionAgreement.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"58af718256a0d74a107953c5b97636d239dd9a13fefca185163ead81a9d2d65c"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitPositionAgreement.fileId: \u0060BookOrbitPositionAgreement.fileId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionAgreement.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1afa82a2d01d0995f38288449d392835d7bcb520c31cc0e30d1596cf724e9b"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitPositionTraversal.accountKey: \u0060BookOrbitPositionTraversal.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionTraversal.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2345cfabad4f7e486e55e0694f2f6aec6d9cd65eb13aafa8c81d4d168166cfda"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitPositionTraversalItem.accountKey: \u0060BookOrbitPositionTraversalItem.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionTraversal.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a736d627b448eb8faf09180e7d563fe550d7ed1fc3c1ce63f83d68bd09d30266"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitPositionTraversalItem.bookId: \u0060BookOrbitPositionTraversalItem.bookId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionTraversal.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f0966114ab4f9d1c0d6dd2fcae96e8895f28cb55014f644dc9c8501d0ad0d7"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitPositionTraversalItem.fileId: \u0060BookOrbitPositionTraversalItem.fileId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionTraversal.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ced107f6097891eb87f90670be78fcf9be3a5bb8e0c7a349e97b4e7840656c"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitStatusAgreement.accountKey: \u0060BookOrbitStatusAgreement.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitStatusAgreement.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"31251e14dd26f23e2fddd52b6305df3d9d2bf65cd20ff80b917f26f766714c78"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: BookOrbitStatusAgreement.bookId: \u0060BookOrbitStatusAgreement.bookId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitStatusAgreement.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"33afbe2cc95579114fd5eb6463852f77ce6529491a112d95745f46f9ea6f5d27"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: FurthestPosition.peerId: \u0060FurthestPosition.peerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/FurthestPosition.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"738b195d51f5e9d54bf35f576405661d3cac48ecf1cb08ff5d28698b173459b6"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: FurthestPosition.workId: \u0060FurthestPosition.workId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/FurthestPosition.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2089f178dd53395275ff33b83c1604c2407a5465071c6f35cac78b08caff165"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: PeakDelivery.peerId: \u0060PeakDelivery.peerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/FurthestPosition.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8371522274ae8bd3d0e6b4d8b2acec231a6350888fc841507b4ac6ca44b246"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: PeakDelivery.workId: \u0060PeakDelivery.workId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/FurthestPosition.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"14265545974e21e004149617b2a8fe8839f25ed58998ad939b682fa4f22d09da"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: KosyncPeer.accountKey: \u0060KosyncPeer.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/KosyncPeer.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96520f885ed00ebb06eee9f3ca5fbcc8ab74cf3ea062d2090cab2fb1466b62f"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RemoteServer.accountId: \u0060RemoteServer.accountId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a0f8e35bfef9658464b2de088ddaa16469bce1f3a7454b80494f6c4219948d"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RemoteServer.userId: \u0060RemoteServer.userId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"806a16421f21984f126cf69184647330c8943a894b8e12276f52872b4a1bb544"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RemoteServer.liseurAccountId: \u0060RemoteServer.liseurAccountId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"26efb718896b2658219542da89214c90f7a34ad13603ba5891954d723bff593d"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RemoteServer.orbitSessionId: \u0060RemoteServer.orbitSessionId\u0060 is a raw \u0060Int\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"93453f77a20f541b26172bb5430b5cef8b6678a5294f9c3e112fb76b480ac733"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RemoteServer.liseurDeviceId: \u0060RemoteServer.liseurDeviceId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee23025aa829d6ddcf28eaf688866271e338a9bc2f96f7bd9f898f0455b2ec63"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RemoteServer.accountKey: \u0060RemoteServer.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf4c8983921aa127fc17e898c939b24bd1c895145d1315ceb9ac247b8844143"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RemoteStatsDay.accountKey: \u0060RemoteStatsDay.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteStats.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"26521991d356926be20e228dd93fa920c586f3e7bf742bee657248a7e3118805"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RemoteStatsWindow.accountKey: \u0060RemoteStatsWindow.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteStats.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5739bd5e87cc7a33431b9de5ba1bea9c7b0d6ad8e4a0ef9492b55cbd913ef9"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: RemoteStatsWindow.rangeId: \u0060RemoteStatsWindow.rangeId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteStats.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4ccedffcb0670594b082215ef7db209c602f8e3a4613a9cb035ffff19f119b"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: SeriesExtra.seriesId: \u0060SeriesExtra.seriesId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SeriesExtra.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4179253061c0aa1591eb749c425cd348b592f7f9f31cceace5ce5d486d5bb04"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: SessionImportSource.sessionId: \u0060SessionImportSource.sessionId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionImportSource.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"35275c51dff68d87de2bd2cb1dd477d3da3f28a0e61b2f7a991f67377b975d78"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: SessionRefusal.peerId: \u0060SessionRefusal.peerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionRefusal.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa173ca9f7805ea6520e63acf2dd97de18117175d16054441d9497ab6c34ba5"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: SessionRefusal.sessionId: \u0060SessionRefusal.sessionId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionRefusal.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b6551fb340b83a215c0badcced72e16e480cfefdcc26c66d4b53103f7a66aa"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: SessionRefusal.wireSessionId: \u0060SessionRefusal.wireSessionId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionRefusal.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ec8c999bd0b75c8823c8acb7be23c5ffd44686cc70c3fa2408d423ce4c75d7"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: SessionTransmission.peerId: \u0060SessionTransmission.peerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionTransmission.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f190eddef3123d1573f5f4f7dee7884f09ea8a3b5aebd6d5e723c37c4a5584"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: SessionTransmission.sessionId: \u0060SessionTransmission.sessionId\u0060 is a raw \u0060Long\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Long\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionTransmission.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f822149edca891d883c6c80afa6bd3f95884d8b89e39ded4bd1e9316d68cad"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: SessionTransmission.deviceId: \u0060SessionTransmission.deviceId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionTransmission.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e41fc9ecd928b2bba03eacfa07ca651f1bbf34143726d0986427ebc4bf26da4"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: StarterCatalogProgress.accountKey: \u0060StarterCatalogProgress.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/StarterCatalogProgress.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92162a09e89698c50a389ee6aef6e90c9679afbb81e2e40e3401dca9e806764"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: SyncPeerState.peerId: \u0060SyncPeerState.peerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7259604a47f55781cc6c5ad44fcccfdd3c59c49abbc6e132c06630c81a84a13"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: UploadRefusal.accountKey: \u0060UploadRefusal.accountKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/UploadRefusal.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"434f3897634444546386ad192bfd5042f6fa727a35e55c98f674b29cd09c3cac"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: WorkAlias.peerId: \u0060WorkAlias.peerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/WorkIdentity.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c2c11d379966b0d450642b756ae3c245a6100203f13fcbd4e9fe8524a73cd7"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: WorkAlias.workId: \u0060WorkAlias.workId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/WorkIdentity.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"028019ce5e150a97e3c540df668e080d209cf8a7294fc65fdd9a258c049e5116"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: WorkAmbiguity.peerId: \u0060WorkAmbiguity.peerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/WorkIdentity.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c4983ba83157f8b6339c333ad2f650641c3e23913e508305aa2006c6c21abc"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: QuoteRow.workId: \u0060QuoteRow.workId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/quotes/QuoteDatabase.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efad069cd20cff6942cae5d8a32d2f879ff596f90a999cb6d759b6edd173a0a"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: QuoteScanRow.workId: \u0060QuoteScanRow.workId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/quotes/QuoteDatabase.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b66c3d194a00104bf69a83d735ace2c84eb595bb8ae5f9370d7a2093d25c253"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: TranslationSyncState.peerId: \u0060TranslationSyncState.peerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a937cb1a7b20e82281dc271ad5e000e718da17a0e9e4704e6a78db85dd4f0b9"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: TranslationSyncState.workId: \u0060TranslationSyncState.workId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"08556913f2f35bb45462046d98535468a82800ccbfc82cf0bc66acdf577d469e"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: TranslationRekeyMove.fromKey: \u0060TranslationRekeyMove.fromKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f240fc9b03d36005afe74e6b76b040e7cbf45c8095c591ee99494253ab106f"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: TranslationRekeyMove.toKey: \u0060TranslationRekeyMove.toKey\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"50210cf20971c8318a6117fdee92ed676e64cdc7fb4195ee4040191f4097c5d5"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: TranslationAccountClear.peerId: \u0060TranslationAccountClear.peerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"66352ce23dcac8ea75dbd99044871290ac8fe7d17ac525475b377b922f1ad3be"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: TranslationAccountClear.workId: \u0060TranslationAccountClear.workId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1e767bbedbfb1912885c417d15e97b4ccfc50b936ece5d544e9d038074ffb6"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CodexBookRow: \u0060CodexBookRow\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CodexStore.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e314763b4b627ba9e105b17d11fd10eec10e93dae7402de5761e42e4d012ffc"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CodexUnitRow: \u0060CodexUnitRow\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CodexStore.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff097c065a9bd29a253b5df630a981f14eec1a7238c422607fc9f8fa043df1ce"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CodexPassageRow: \u0060CodexPassageRow\u0060 is an aggregate/entity with 10 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CodexStore.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e1120e7640a048cc1ebd3b8056fc391a321d2875470460a0d7813357501bd3"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ChapterRecapRow: \u0060ChapterRecapRow\u0060 is an aggregate/entity with 10 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e066101a0c712beae248341c2267a121f58af5f3ab3e67a49afee359391f376"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: RecapPartRow: \u0060RecapPartRow\u0060 is an aggregate/entity with 10 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e2683b580062c97f155a3bd395020dc9b20e3e24d21d8dfb913d90f1fb2c55"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: RecapQueueRow: \u0060RecapQueueRow\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2f070d858fdcfebd16ea32cfee45a84953687722a351401030e8ee2d9740f8"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: StorySummaryRow: \u0060StorySummaryRow\u0060 is an aggregate/entity with 13 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e101eff2e688224a26d2a8f783c4676a13e01959008c358798bcca9031079a36"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: RecapChoiceRow: \u0060RecapChoiceRow\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/companion/CompanionStore.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"90617e9b14b26dc3c579e77f54d2615258b442cfa929f46c4efd567bf312afee"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: AnnotationSync: \u0060AnnotationSync\u0060 is an aggregate/entity with 14 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/AnnotationSync.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63066024397c6857a67e5fc2c03e12dff4bcae19e5b9779f01f3e5d2f0149dd"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Book: \u0060Book\u0060 is an aggregate/entity with 52 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"883276fe94c613a62ddb3a93df4b89eb6110d58b30ed67e9c1c5a1b310b57e69"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: LibraryFolder: \u0060LibraryFolder\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/Book.kt"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"423e778b1af7b62cf7a4a74e15954f7b6d49828e817f2083265d4e1ddca40b72"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookAiPreferences: \u0060BookAiPreferences\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookAiPreferences.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a412f4222a28f1416c8cb80dddc15429512918e8d09561b28f9876870cbacfbe"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookAnnotation: \u0060BookAnnotation\u0060 is an aggregate/entity with 14 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookAnnotation.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"98372c6000ac2d20cf69cf4dc200ad70889d948fe3f27e95df8ac1fbfb863668"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookMetadata: \u0060BookMetadata\u0060 is an aggregate/entity with 14 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookMetadata.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa9f19944beb2878a594e67db1851dea77de3cc0d6719c0cbd02c8fc5f2c2df"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookOrbitBinding: \u0060BookOrbitBinding\u0060 is an aggregate/entity with 12 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitBinding.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe30a6afe60b41473e9497ce686545268ae1979642d7fc0f0559f7eb1bb94dc"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookOrbitCfiRecord: \u0060BookOrbitCfiRecord\u0060 is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitCfiRecord.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d02585de7ea42baaca825a524e04a8a89406f003d3cdca5320bcec04962ae48"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookOrbitLocalCfi: \u0060BookOrbitLocalCfi\u0060 is an aggregate/entity with 8 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitLocalCfi.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b250c98549647db4dd4ad82f7a6d4851a57336b9f00bfcea037174d9525ac41"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookOrbitPositionAgreement: \u0060BookOrbitPositionAgreement\u0060 is an aggregate/entity with 24 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionAgreement.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"089ddfa6dc1c394560d58604d264917165b2939d463a991e35d5717a545e9a33"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookOrbitPositionTraversal: \u0060BookOrbitPositionTraversal\u0060 is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionTraversal.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c094b6c65fb8403886562b7638e999a74cf8d1b9a5d286220e3ca0b5e82f9c8"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookOrbitPositionTraversalItem: \u0060BookOrbitPositionTraversalItem\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitPositionTraversal.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e616d7c717f4f34ac4af19cd270df1efb8509d3ee4a0a5d47076c7c0e80c2c6"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookOrbitStatusAgreement: \u0060BookOrbitStatusAgreement\u0060 is an aggregate/entity with 18 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookOrbitStatusAgreement.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0772f023a156365a42f1477022a9f559b133194892d97312a23ceaab79d1240c"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookReadingMode: \u0060BookReadingMode\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookReadingMode.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aeccd513e04a12cfd76eca798e9618555c0c35e87c372836d0ad8ecb3c0ed1"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookScreen: \u0060BookScreen\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookScreen.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e340e84f8260f5c14d4d41fe54d179d7f92ba8fab0303bb1ade35f4f26d59113"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookTypography: \u0060BookTypography\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/BookTypography.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab421695702c8ad1a0022858a0301f02f42671dd3a9c82d85868f4b448c7ef8a"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: FurthestPosition: \u0060FurthestPosition\u0060 is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/FurthestPosition.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0718ad596c3554b631415c694c8b2fd604551d17bc47e939277ffacd95f34883"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PeakDelivery: \u0060PeakDelivery\u0060 is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/FurthestPosition.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ddc997904fef132a9dd66ee1d0f2efff76876772eb584dd27034a13a574af0"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: KosyncPeer: \u0060KosyncPeer\u0060 is an aggregate/entity with 8 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/KosyncPeer.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c2c36cbcb3e63602da10092af34a93588882186859fa90e351f93c1b2135e6"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ReadingProgress: \u0060ReadingProgress\u0060 is an aggregate/entity with 44 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingProgress.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5191e713a14808ca34cedb48144a06812274982772829c0bdb3df81c8fb4c2"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ReadingSession: \u0060ReadingSession\u0060 is an aggregate/entity with 13 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/ReadingSession.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"862635b63feae598344d0b175a51513ca0c04b62c7c4951a1b78aa562764624d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: RemoteServer: \u0060RemoteServer\u0060 is an aggregate/entity with 36 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteServer.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1b340d749251dd97ff1c58119323692e3210a530b8f7e862cadc3045a0464f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: RemoteStatsDay: \u0060RemoteStatsDay\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteStats.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5856c10fceae92ef69c02fbcffdb2580bd9952628607bd9f1a59cabc9170c8bb"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: RemoteStatsWindow: \u0060RemoteStatsWindow\u0060 is an aggregate/entity with 9 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/RemoteStats.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ccb74d6cf4c8e4d4d8e40231dafe587c0bcd3ff48e5946fa98f1b4391dabe4"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: SeriesExtra: \u0060SeriesExtra\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SeriesExtra.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5114eecd1386dd90ca97919ad2ee3cd67578676d0eb11fe16761c82577ae80"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: SessionImportSource: \u0060SessionImportSource\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionImportSource.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aafc7be53546adfb38f1ce91620524b69bca0c957503b439043fd57e61b737d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: SessionRefusal: \u0060SessionRefusal\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionRefusal.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e5c8e754d62d3e76cc4c26352b4d48f6f13c286ca2e729518f4564bb258722"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: SessionTransmission: \u0060SessionTransmission\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SessionTransmission.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86fc7fe8527ec80e47e999bd2a49408635776e18682fd37ce8b5720deecc372"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: StarterCatalogProgress: \u0060StarterCatalogProgress\u0060 is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/StarterCatalogProgress.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b7185064ba458f875c1413193eb0229358480c8e85aff991cbcb0f828b4cef"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: SyncPeerState: \u0060SyncPeerState\u0060 is an aggregate/entity with 23 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/SyncPeerState.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59d154a9de84d939e9e498e842c5b7a41f23bf8bf546aef75697a88ac1008c8"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: UploadRefusal: \u0060UploadRefusal\u0060 is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/UploadRefusal.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7f0abeb69044ee2625ed7a215e0476ce0261e49b2e687f536f97a0aebaa0dd"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookFingerprintRow: \u0060BookFingerprintRow\u0060 is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/WorkIdentity.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"505e3d60a4a25a09d67aa7e4d84667166d967c49d46c94b22494fbafd9761997"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: WorkAlias: \u0060WorkAlias\u0060 is an aggregate/entity with 13 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/WorkIdentity.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d563b5f8467241f446413ed30e2d0d4673ce6c67641087831dedbfa0555772"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: WorkAmbiguity: \u0060WorkAmbiguity\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/db/WorkIdentity.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a4e77045d72543d3f66cf13f27123d6def69e5d85babdde4d2a85e67449ab1"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: QuoteRow: \u0060QuoteRow\u0060 is an aggregate/entity with 8 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/quotes/QuoteDatabase.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab01bec5c1fef475099b6188af0202b178417230280b6684a984dfefaf6c1a0d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: QuoteScanRow: \u0060QuoteScanRow\u0060 is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/data/quotes/QuoteDatabase.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6113eb5844c859054560f602bb7cd2c9cdb3763725d4bf422420c36238334787"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: KeptTranslation: \u0060KeptTranslation\u0060 is an aggregate/entity with 13 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/KeptTranslations.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e37dd896b4cb5be1a7b9c0d92f1681576b19cd361745cbe4f809b077eb19272"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: KeptFailure: \u0060KeptFailure\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/KeptTranslations.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cf82a32f69845878815eda7a55858ca0d4d3bc0286152e7acfd15d5e3c24d9"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: TranslatedSentence: \u0060TranslatedSentence\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc87974f41f472a15347a28abb44685ed33e21e70cae2f8220c7dc6607c32a96"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PageTranslationModeRow: \u0060PageTranslationModeRow\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88646c700ec71203b7cddf079992a30a6a3ac289987a047f82075b5140a9ebd"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: TranslationSyncState: \u0060TranslationSyncState\u0060 is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd1a9ef06d18988ad1dcbb7d20198e7680c57b9d85e80e392d58fa00c8b4dbb"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: TranslationRekeyMove: \u0060TranslationRekeyMove\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23de07d4ae26f80d882bc4f36a2094f7a52d091fdb6c6dc3d7a959a2b92e1ad"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: TranslationAccountClear: \u0060TranslationAccountClear\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e43f228882d60ded164112a266459a6e753b52615875515dde6704d887a874f"}},{"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 4 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.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14c5e8fb421b8614b797a2517de829b3c94f3b85263a50e3283dfd26519afe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): promo/src/scenes/companion.tsx:5 \u00B7 promo/src/scenes/library.tsx:5 \u00B7 promo/src/scenes/outro.tsx:3 \u00B7 promo/src/scenes/reading.tsx:5 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/src/scenes/companion.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcdddcbeeff5cc8f7be6e8232d326dcc50ddf6ea1831b90e62d48a2d90ea1c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): promo/src/scenes/aloud.tsx:3 \u00B7 promo/src/scenes/companion.tsx:3 \u00B7 promo/src/scenes/library.tsx:3 \u00B7 promo/src/scenes/reading.tsx:3 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/src/scenes/aloud.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ce6353e1a488a39c6e79e42f029da2f94b7a2618b92f8d180cc581db69c2e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): promo/src/scenes/companion.tsx:5 \u00B7 promo/src/scenes/intro.tsx:3 \u00B7 promo/src/scenes/library.tsx:5 \u00B7 promo/src/scenes/outro.tsx:3 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/src/scenes/companion.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"813869f4d2624e2e380babc01a6cdb37228e766693b769234e8a19c8cbd13c26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): promo/src/scenes/intro.tsx:6 \u00B7 promo/src/scenes/outro.tsx:6 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/src/scenes/intro.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdec606bc37375a254cc6bdce8c3c606e65182adb909126c1a8bec5c848cde2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): promo/src/scenes/intro.tsx:2 \u00B7 promo/src/scenes/sync.tsx:4 \u00B7 promo/src/scenes/translation.tsx:3 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/src/scenes/intro.tsx"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d4d51a80891dbaca307b869276c055072742313aa0122a0aa6b0a4d1bfb1eb"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@ffprobe-installer/ffprobe\u0027: Declared in promo/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0231df86a9147726457cadb6dbc69d8bd5b6f3e4ffec3532fd7ebc4fe0dc6e68"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@revideo/ui\u0027: Declared in promo/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"promo/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"358096e23f88bb558c544303ae51873e19c53eeaee9d4de8c8a493220afe8cf3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!bookId.isNullOrBlank() \u0026\u0026 ids.add(bookId)\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/domain/BookBackup.kt, app/src/main/kotlin/com/chmouel/liseur/domain/ReadingPositionBackup.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/kotlin/com/chmouel/liseur/domain/BookBackup.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75bc0b0162c0dd3ef1b0e502839bf9c9be6134a31140518e0b48ef8c2f88e1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!context.request.matches(database.remoteServerDao().get()) || !context.matches(database.bookOrbitBindingDao().get(context.request.accountKey\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCfiRepository.kt, app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitPositionAgreement.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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitCfiRepository.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ff8d04e7be68c10f6fb4b57c33a6d7a09b239d4e8c1325d277b112bdab72f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state.isSearchActive \u0026\u0026 !state.filters.archived\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt, app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ShelvesLibrary.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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"934d5ca56fbdb7a8c6d605998690cda2eefcd4d7c09c1d0eae07648a9b0affd5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agreedProgression == null \u0026\u0026 agreedStatus == null\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt, app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.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/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.kt"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b3541bc509c111ecd95b0bee19f2aa8cef15d2c69509806f1d71f597b52147"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asked \u0026\u0026 activity?.shouldShowRequestPermissionRationale(LocalNetworkAccess.PERMISSION) == false\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/tts/SpeechLocalNetworkPrompt.kt, app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountScreen.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/kotlin/com/chmouel/liseur/tts/SpeechLocalNetworkPrompt.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"49407ee16ddd06a3cdeaf74f5dd191abfa7189a968a0bcf84991792c83188dce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060book.finished || book.url in state.inProgressBooks\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/MainActivity.kt, app/src/main/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.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/kotlin/com/chmouel/liseur/MainActivity.kt"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac65e90e670f2ed447b90ca4c2f0f7af559c6acd09148a8ba9fc21bb98712a43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060book.openableUrl != null || book.downloadState == DownloadState.DOWNLOADED\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/domain/LibraryFilters.kt, app/src/main/kotlin/com/chmouel/liseur/domain/SeriesShelf.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/kotlin/com/chmouel/liseur/domain/LibraryFilters.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f68c90092e5ad1801c5593c2c5c03673483caf9ba970e213bc1cce19365afe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code == 429 || status == \u0022RESOURCE_EXHAUSTED\u0022\u0060 appears character-identically in 2 files \u2014 app/src/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt, app/src/play/kotlin/com/chmouel/liseur/tts/GeminiTtsClient.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/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"416d8d21dafe6bb00a1926485f3d1f56b74fea39722c74e46bd8376b75fdd1a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060download == null \u0026\u0026 progression.isUnderway(book)\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ShelvesLibrary.kt, app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/StyleParts.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/kotlin/com/chmouel/liseur/ui/library/styles/ShelvesLibrary.kt"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"975b1d4b091f784d26f612604cbf25dc72fae6e0250db46386ce8359a544f304"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expectedAccountKey != null \u0026\u0026 server.accountKey != expectedAccountKey\u0060 appears character-identically in 3 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitSession.kt, app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt, app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitSession.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"26917e799095f99e9f73c9af3b6d3e0a914f37af69ec5bd9f3312fdb75b3a8fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060failure == null || reason == SyncFailure.Unauthorised || (failure != SyncFailure.Unauthorised \u0026\u0026 (reason == SyncFailure.Forbidden || reason \u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt, app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d2bd10dec06f96ac9b870d41aa30bd1979abdc6fc6cfbb6458586c1ae1ebff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060format \u0026\u0026 application \u0026\u0026 hasBooks \u0026\u0026 reader.peek() == JsonToken.END_DOCUMENT\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/domain/SessionBackup.kt, app/src/main/kotlin/com/chmouel/liseur/domain/TranslationBackup.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/kotlin/com/chmouel/liseur/domain/SessionBackup.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"484b7b3ec8e3df939b79e56377882393d40cbb1df57e73ca181c7eab2bd38991"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.accountKey == peer.accountKey \u0026\u0026 it.credentials == peer.credentials\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt, app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"854983c0bf59a7c9aa067a71da40b43cf19e509515d8daf6ab5fe83afe491e65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.accountKey == server.accountKey \u0026\u0026 it.addedAt == server.addedAt\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt, app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa95e3203f1778bd88961020238a450bd0586edabe9e34cd55c03b1f6ed34e53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isNotBlank() \u0026\u0026 it.length \u003C= MAX_SELECTOR\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/reader/SelectionBlock.kt, app/src/main/kotlin/com/chmouel/liseur/reader/progress/ExactLocatorAnchor.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/kotlin/com/chmouel/liseur/reader/SelectionBlock.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"710fd92e12ddc29a89061fbc9962457c42bcf88b34dbef1e1dcff9b590b04ffa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isNotEmpty() \u0026\u0026 it.length \u003C= MAX_CLAIM\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/companion/Investigation.kt, app/src/main/kotlin/com/chmouel/liseur/companion/Reimmersion.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/kotlin/com/chmouel/liseur/companion/Investigation.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6df1230f5ed514898b33ecbdf09c9477b4c331469be553cd880c49887fdec8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.kind == ServerKind.BOOKORBIT \u0026\u0026 RemoteUrl.sameAddress(it.baseUrl, baseUrl)\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitDeleteClient.kt, app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitUploadClient.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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitDeleteClient.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc70d026a7f71d29453a1f15355cf5192a3d870f48b5e7f6d0591237094429d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.state == \u0022done\u0022 || it.state == \u0022restored\u0022\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/library/TranslationBackupRepository.kt, app/src/main/kotlin/com/chmouel/liseur/translate/SavedTranslations.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/kotlin/com/chmouel/liseur/data/library/TranslationBackupRepository.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf342f3980ddffbc50ef8136260cb65212f5f1ce0e53a42865003dbd09536f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.state == WorkInfo.State.RUNNING || it.state == WorkInfo.State.ENQUEUED\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/calibre/BookDownloadRepository.kt, app/src/main/kotlin/com/chmouel/liseur/data/remote/BookUploadRepository.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/kotlin/com/chmouel/liseur/data/calibre/BookDownloadRepository.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bb600f807fc3d90d0c9d3c059c8d3cf46b9f3b07c4a4d7cd60be7823867dae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.nodeType == Node.TEXT_NODE || node.nodeType == Node.CDATA_SECTION_NODE\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsParser.kt, app/src/main/kotlin/com/chmouel/liseur/reader/progress/BookOrbitIncomingAnchor.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/kotlin/com/chmouel/liseur/data/opds/OpdsParser.kt"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ee3692638a6f366c0f8f78cbbc7e57e4bd121ad22be4079d8226476d6ae56a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060outcome.failure != null \u0026\u0026 firstFailure == null\u0060 appears character-identically in 3 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt, app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaSyncRepository.kt, app/src/main/kotlin/com/chmouel/liseur/data/kosync/KosyncPositionSync.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/kotlin/com/chmouel/liseur/data/calibre/KoboSyncRepository.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff250f60fc073f79348bbd047c1c5014ad29b7887629c5591ffb010286284c34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060progression == null || progression \u003C= 0.0\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/domain/ReadingStateMerge.kt, app/src/main/kotlin/com/chmouel/liseur/ui/library/styles/ListLibrary.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/kotlin/com/chmouel/liseur/domain/ReadingStateMerge.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6068e1bce34213a009bf5f5417bb500b8a4946c71f87aa2343c793824e0f81f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reason is SyncFailure.ServerError \u0026\u0026 reason.code == 429\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt, app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cbcf58adea898d4db90a2cdb027d64553372cefc7bb4c8035d6696747e0838"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rejection.code == LiseurSyncHttp.TOO_LARGE || rejection.errorCode == LiseurSyncRejection.BATCH_TOO_LARGE\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt, app/src/main/kotlin/com/chmouel/liseur/data/liseursync/WorkResolver.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncPositionSync.kt"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa0f59b50413a79b6494a6431683bbd16aaa8e53f088090dcfc6f0fdc28393a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.code == 401 || response.code == 403\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/calibre/CalibreDeleteClient.kt, app/src/main/kotlin/com/chmouel/liseur/data/opds/OpdsSetupClient.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/kotlin/com/chmouel/liseur/data/calibre/CalibreDeleteClient.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d37348d1ed8edc0b9ad51ca739cb3b785323dd291383d6673105414f282ebdc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.code == 404 || response.code == 405\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/translate/OpenAiChatClient.kt, app/src/main/kotlin/com/chmouel/liseur/tts/OpenAiTtsClient.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/kotlin/com/chmouel/liseur/translate/OpenAiChatClient.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5d8fec0462d3299099fb462c0945ba2aad98ea457c061cf5dcdd39aca5f16b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.isSuccessful || response.code in rejected\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt, app/src/main/kotlin/com/chmouel/liseur/data/komga/KomgaHttp.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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"844baee5308da50d92fd2c23bae0f08c26fea8dbe96bdee7d51c3cc3003f262b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.isNullOrBlank() || result == \u0022null\u0022\u0060 appears character-identically in 3 files \u2014 app/src/main/kotlin/com/chmouel/liseur/reader/SelectionBlock.kt, app/src/main/kotlin/com/chmouel/liseur/reader/progress/BookOrbitViewportCfi.kt, app/src/main/kotlin/com/chmouel/liseur/reader/progress/ExactLocatorAnchor.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/kotlin/com/chmouel/liseur/reader/SelectionBlock.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"865ff628f0ac0358a4197fe78668668a5a70578bbf6b050c874bbd7951c932f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.opt(\u0022format\u0022) == 1 \u0026\u0026 root.opt(\u0022application\u0022) == \u0022liseur\u0022\u0060 appears character-identically in 3 files \u2014 app/src/main/kotlin/com/chmouel/liseur/domain/BookBackup.kt, app/src/main/kotlin/com/chmouel/liseur/domain/CompanionBackup.kt, app/src/main/kotlin/com/chmouel/liseur/domain/ReadingPositionBackup.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/kotlin/com/chmouel/liseur/domain/BookBackup.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f592c0cf9259670761d2401cd6c71cf450aee46abf86aabca98dce00c91882a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sentences.isNotEmpty() \u0026\u0026 sentences.all(TranslationPrompt::batchable)\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/translate/OpenAiChatClient.kt, app/src/play/kotlin/com/chmouel/liseur/translate/GeminiTranslationClient.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/kotlin/com/chmouel/liseur/translate/OpenAiChatClient.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7516f46a6b09e39d13faa7e0323a17d1b42709331fca8a9e7aae40a9914c5c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source != null \u0026\u0026 TranslationLanguages.same(source, target)\u0060 appears character-identically in 3 files \u2014 app/src/main/kotlin/com/chmouel/liseur/translate/BookTranslationPreferencesEditor.kt, app/src/main/kotlin/com/chmouel/liseur/translate/ServiceTranslate.kt, app/src/main/kotlin/com/chmouel/liseur/translate/TranslationStep.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/kotlin/com/chmouel/liseur/translate/BookTranslationPreferencesEditor.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5d3c9a9cf1f428f22bce48882921d1a2bd6aa46a8721b32f4ddb0ab586bc35"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060unreachable != null || rateLimited || failure == SyncFailure.Unauthorised || failure == SyncFailure.Forbidden || failure == SyncFailure.Inse\u2026\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt, app/src/main/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncTranslations.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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncAnnotations.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9abda4354efd01a2a5dbe6085264593f6ec876e35e47998793e66b6a58a1465"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060username.isBlank() \u0026\u0026 password.isBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/data/remote/BrowseCatalogRepository.kt, app/src/main/kotlin/com/chmouel/liseur/data/remote/RemoteAccountRepository.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/kotlin/com/chmouel/liseur/data/remote/BrowseCatalogRepository.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"af31b023bbc41b2e3434dd3d4a16a28a846a6b3158a41df3bb5b32f48b063665"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060username.isNotBlank() \u0026\u0026 password.isNotBlank()\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt, app/src/main/kotlin/com/chmouel/liseur/ui/settings/ServerAccountViewModel.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/kotlin/com/chmouel/liseur/ui/library/BrowseLibrariesScreen.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8b59d9c42171af65bb38e3153249b282ecc5fb25ae643c7992eb8273749ec3"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 0/15 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: send: \u0060send\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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"983209c9d946bc6c4876fa5e2a05a0e4c8a5521e4b8b5db74900d5bb646b0b64"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: sendMaybeEmpty: \u0060sendMaybeEmpty\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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncHttp.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"831357849a49caa94033535fe56f790f2159f2c80934f2e8632e7ee39c5035bc"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: upload: \u0060upload\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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncUploadClient.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd692753dcf96d37bc25fe1b2ba8fbda0c5c301758a4102f305a8529c3a7667"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: download: \u0060download\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/kotlin/com/chmouel/liseur/data/calibre/BookDownloader.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f220bc2a65ff43f18e4ea57c4c171fdde75e2c8a6576243078c741c2dde87f"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: delete: \u0060delete\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/kotlin/com/chmouel/liseur/data/calibre/CalibreDeleteClient.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"733e8558848baca2d2c37d16b4c28c75cca7c711150dfbbe1fc0ebd9fbd8d75b"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: readState: \u0060readState\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/kotlin/com/chmouel/liseur/data/calibre/KoboClient.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0768abb8717f5001d48a66f35963459da6099829342fe6f2a36b3619385238b4"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: pushState: \u0060pushState\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/kotlin/com/chmouel/liseur/data/calibre/KoboClient.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9090113c82f657e48634cef7454f7ddba77e880388cefefb49bf0fce58475620"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: exchange: \u0060exchange\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5574484e3716751b29f03194828ca0c02821a7c665766a989c6fda5bdd88da6e"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: stream: \u0060stream\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18b39ea452802094ca331ba92edb042f1eef850f7526b8acdbb251c0f4385ac"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: mutate: \u0060mutate\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7a8623e0ceb6d95e0d6f3440f340f287d2ebb4977d3ad172f8d40c2859a81a"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: getObjectOrNull: \u0060getObjectOrNull\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"28915cfe3ecc13766eced8691663de937346ad3bc5025167d7631d0407979d57"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: postObject: \u0060postObject\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc5814dd6f56487b6e262b6763545dbc8b9515c6f5bb25d10fcccadd0a6ff4c"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: send: \u0060send\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"27872ea3f0cd294ad2dc757f353d6a7d45a97401bfabcb15e2588803e2dc0595"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: get: \u0060get\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitHttp.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1f9106796577c185a927fdc918cfb15d1ecfb1e60de10281f99425611227cb"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: me: \u0060me\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/kotlin/com/chmouel/liseur/data/bookorbit/BookOrbitSetupClient.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bec0827d8aa8aedd82f4bd60b20955f36e6153fde16035e64692345a208930a"}},{"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/play/kotlin/com/chmouel/liseur/insights/FlavorUsageReporting.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc0b3e3c160fa26146cedc1a6583c91b188d07764d7072eabee410c1d715425"}},{"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/play/kotlin/com/chmouel/liseur/insights/FlavorUsageReporting.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1aa604769fb6a1c8c752360408d7cd86b6eef7fb6d7da989fe1e11384fa3154"}},{"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/kotlin/com/chmouel/liseur/ui/library/LibraryScreen.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf43a9e1810cf295faaa60ebbae6a881fce86a7f135a412c8cb8901fcb3b0c9b"}},{"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/kotlin/com/chmouel/liseur/ui/library/LibraryViewModel.kt"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4e7bb15fdb355ba83e50355990ccad54a2be4060700834da80c0e51995cfce"}},{"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/kotlin/com/chmouel/liseur/tts/KeyCommits.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1a5751c6f85a1bcefebc8b3588d1f70cf1c9847326421b0eb1a009d34a139c"}},{"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/kotlin/com/chmouel/liseur/tts/UtterancePrefetcher.kt"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb581742f56d91d50bd8aa66615e104c63f1b0d829924cb718855835c4ba967"}},{"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/kotlin/com/chmouel/liseur/tts/UtterancePrefetcher.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba359f9ebd2465018e6985af8cd73db52d7274e0c7d62ef42de421ae2dd9c594"}},{"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/kotlin/com/chmouel/liseur/tts/UtterancePrefetcher.kt"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d26249e4c09b1e3da36e61e5212ca074e91a209db4bbb844c17a3e93ab47dfb"}},{"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/kotlin/com/chmouel/liseur/translate/DeviceTranslationService.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4b605f1141d4b9ed57e8adb25e663783d92d99937932a921705c2652c24d98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: RuntimeException)\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/kotlin/com/chmouel/liseur/translate/DeviceTranslationService.kt"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c28860f92a0bd84b995e390a2e558e913e70f31d82ba3c6a105836289fc0f07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: RuntimeException)\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/kotlin/com/chmouel/liseur/translate/DeviceTranslationService.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfe85fd022dbc5b6c495dcdb40f1b21d64ccf8f6263b71c4ef027cd0fb464a8"}},{"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/kotlin/com/chmouel/liseur/translate/SentenceRequest.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b714084661023de6b7f356278bb0a2aac069b82e6d413561eb474e9c4ff3970d"}},{"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/kotlin/com/chmouel/liseur/translate/TranslationContext.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c04bed226cab949a9342901e29b0b41b38fac0e45b472e21ba099ca65535b9"}},{"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/kotlin/com/chmouel/liseur/translate/TranslationContext.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e203c7ba71b0b229174725f8e78b1a19d45aff146819fcc8c14735b21df607f"}},{"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/kotlin/com/chmouel/liseur/translate/TranslationSettingsScreen.kt"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4de7892fe248e17ab4986809e93f8d381d5ba0cabf6f44cab8577e3d2e09ea"}},{"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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e0f0a2eaec705ae5761e6ccc9d898e1f864b26861efa6d510c872d85745e20"}},{"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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":3186}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaaeda2bfc1ce6fe8699f974e1fab02869bf814a35fdd74d043c7b35ab21b1e1"}},{"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/kotlin/com/chmouel/liseur/reader/ReaderScreen.kt"},"region":{"startLine":3419}}}],"partialFingerprints":{"codehealthFindingId/v1":"70934b1b2388e7d56ad1719fe13ee99f1e5d57109fd10e1067b4393af477b2b0"}},{"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/kotlin/com/chmouel/liseur/reader/ReaderViewModel.kt"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc7596486db777c59274ee2079acfb9712aeb5a606eba9886c6eef8daf74eda"}},{"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/kotlin/com/chmouel/liseur/reader/SelectionBlock.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf825b867a4a8c025a140bf92c0d6f8df54c15ddfb238110e11b495136797bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (refused: 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/kotlin/com/chmouel/liseur/reader/SelectionHandleFix.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a90e63201a3b9262a7c018ed941b32a51ac94e02dc147e2d61f452816db264"}},{"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/kotlin/com/chmouel/liseur/reader/SpokenPassage.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de7cecd0096ba25cf0e5c082b4049798b77bf00665951cfb3cec2c2dc4fa32c"}},{"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/kotlin/com/chmouel/liseur/reader/SpokenPassage.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3973942727dd651dc454039408f5a14ee22489f487ad35f119b701911df59716"}},{"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/kotlin/com/chmouel/liseur/reader/TranslatedPages.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce27a60e3b8d0727cce51f421bb1d013ef190f4cb26ade0d4e9594e5ca3be50"}},{"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/kotlin/com/chmouel/liseur/reader/TranslatedPages.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb0273b6eb7d148d2bc49da5bcdb27d6b58bbe6e1ee0b5225448195229049e4"}},{"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/kotlin/com/chmouel/liseur/reader/TranslatedPages.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"d937ccca081459698aef8573304fef6c65fd1b3a2b91f4b64e613b4210914f41"}},{"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/kotlin/com/chmouel/liseur/reader/progress/ScrollProgression.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cc8c5c0e36565cf2ad918aa92c90aeffdeab73cc262254537053224722ea9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (refused: 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/kotlin/com/chmouel/liseur/reader/footnotes/FootnoteLayout.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd2e15c1498232eb9af7a99275d9730e03d62a9513d69a160d0bdcba5cfe49c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (refused: 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/kotlin/com/chmouel/liseur/reader/footnotes/SameDocumentLinks.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"531f5fab3889a5d2462f5b9089f5b1d69f127628dcd22859c649e1e65a1b5f4c"}},{"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/kotlin/com/chmouel/liseur/readaloud/PausedListening.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c796e8e7cc7e90bf901403d7489cdadb9068ce475d0923626462a4c3f5863e7"}},{"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/kotlin/com/chmouel/liseur/providers/ServerConnections.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"461b207a1d419f906e0466c8ac9161e8ea9bc9bd3511749259f3620469d7dafc"}},{"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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncSettings.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a206b9bee87fae16af086d22f2dbe2dd616ed165eadeb618c5a706fb6cd61617"}},{"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/kotlin/com/chmouel/liseur/data/library/FolderNames.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa81cc3a0b15f0604a8e664aeb9f88862a1ca0b6e303a955d6900f915d84b600"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060freeBytes\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/kotlin/com/chmouel/liseur/data/calibre/BookDownloadRepository.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07aa7a324b142337b61a677361362c44c64fc1f5cbeabdf4e43e70dc3740405"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060svgImageHrefs\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/kotlin/com/chmouel/liseur/data/library/SvgCover.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25ec96058dcfe8fcf0d138bfcf1a6f8f897bb99fca9b5748aae439b9f0c0fd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060liveTopics\u0060 answers \u0060emptySet()\u0060 when \u0060JSONException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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/kotlin/com/chmouel/liseur/data/liseursync/LiseurSyncLive.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbd5f8361a158e97147f987773eb0cb9c4efda4489dfeb946a9cb07628b2c13"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060states\u0060 answers \u0060emptyMap()\u0060 when \u0060IllegalArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0816679126ae5781cc6a75f4315c69354b2a6407784bbacbb5ad191b42325111"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060companionStates\u0060 answers \u0060emptyMap()\u0060 when \u0060IllegalArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"afef771f0b85ae037f208fd3eacc837173eb78ce7cc354d720dda5d622e46574"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060translationStates\u0060 answers \u0060emptyMap()\u0060 when \u0060IllegalArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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/kotlin/com/chmouel/liseur/data/settings/ServerSettings.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea73dc9401ef39f7d96d34504bf28610c10c4dba0af0c1e5fbdc4adb92abeca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060decode\u0060 answers \u0060emptyList()\u0060 when \u0060JSONException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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/kotlin/com/chmouel/liseur/data/settings/VoicePreferences.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"231df2d63d18fa8eed5cf599eb9f339a26e7551a05afabe65f27aad50d517311"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060LicenceDialog\u0060 swallows every exception into \u0060\u0022\u0022\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/kotlin/com/chmouel/liseur/ui/settings/LicencesScreen.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e00c2942216820d26115f9f59c6470226ea6ae8f5d730ebc3817d445241ba05"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060finding_sort_key\u0060 (in \u0060aggregate_findings\u0060) returns \u00600\u0060 when \u0060(ValueError, TypeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/play-policy-insights/scripts/generate_report.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b629982d56c29c382f1d5153397443600df3bfa3bd39417b7d9b26a1a9063445"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-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":19,"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."]}]}