{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"Kavita.searchMangaRequest (cyclomatic 74): Kavita.searchMangaRequest has cyclomatic complexity 74 (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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2e54786d1bd6ecee0fbcf36c5680ed34eb91e162a7815203bdfc843a83e7e0"}},{"ruleId":"D1","level":"warning","message":{"text":"KavitaHelper.chapterFromVolume (cyclomatic 74): KavitaHelper.chapterFromVolume has cyclomatic complexity 74 (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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41a59db14d8be4ab6257e3ad34204c923668453ae3dfc89bd7e374a627e01b0"}},{"ruleId":"D1","level":"warning","message":{"text":"KavitaHelper.cleanChapterTitle (cyclomatic 33): KavitaHelper.cleanChapterTitle has cyclomatic complexity 33 (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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0735c103a5b08753c9813487d9d2be5b3858f6e07c221c1f06b71a5ef02492a"}},{"ruleId":"D1","level":"warning","message":{"text":"Kavita.parseReadingListItems (cyclomatic 28): Kavita.parseReadingListItems has cyclomatic complexity 28 (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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"4135613b845eb7e0dec1a259567e25274221766283f308f024cab397c3f25c9f"}},{"ruleId":"D1","level":"warning","message":{"text":"Kavita.mangaDetailsParse (cyclomatic 26): Kavita.mangaDetailsParse 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafe7d0cf97d1d1421b2670324a5470c7ece66a472746e30f91d63722cab064f"}},{"ruleId":"D1","level":"warning","message":{"text":"Kavita.fetchPageList (cyclomatic 21): Kavita.fetchPageList 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"197cc3e12d2aa86a8b34449e4aa9eadfa374789f349638b582adde2abd2c952f"}},{"ruleId":"D1","level":"warning","message":{"text":"Kavita.loadSourceMetadata (cyclomatic 18): Kavita.loadSourceMetadata 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2889}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82746fb44586ecdd570b785b07eed6603f547fc73eb26ac9496da2943176c31"}},{"ruleId":"D1","level":"warning","message":{"text":"Kavita.doLogin (cyclomatic 17): Kavita.doLogin 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"d977a3df4ba923809b3a648094c7944ddb2fbcc746ebd643fba97374e648ff83"}},{"ruleId":"D2","level":"warning","message":{"text":"Kavita.searchMangaRequest (cognitive 108): Kavita.searchMangaRequest has cognitive complexity 108 (threshold 15). Drivers by points: if/else 35 (74 pts), match/switch 9 (26 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 59). 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a77fe967a2a453db47074189ea02a70313c2c3c20e8148b71e035aa455aa76"}},{"ruleId":"D2","level":"warning","message":{"text":"KavitaHelper.chapterFromVolume (cognitive 97): KavitaHelper.chapterFromVolume has cognitive complexity 97 (threshold 15). Drivers by points: if/else 42 (56 pts), match/switch 13 (21 pts), boolean chains 18, error handling 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3757191c6058c37584fb5b5f04bb7521cdd81342191d409af5eb4af080593f"}},{"ruleId":"D2","level":"warning","message":{"text":"KavitaHelper.cleanChapterTitle (cognitive 52): KavitaHelper.cleanChapterTitle has cognitive complexity 52 (threshold 15). Drivers by points: if/else 36 (42 pts), boolean chains 5, match/switch 3 (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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"732329c640489e8187765b38b59a030502a5eb5fa7538662b3ca6ef105fc6ff6"}},{"ruleId":"D2","level":"warning","message":{"text":"Kavita.parseReadingListItems (cognitive 40): Kavita.parseReadingListItems has cognitive complexity 40 (threshold 15). Drivers by points: match/switch 10 (18 pts), if/else 15 (17 pts), boolean chains 5 (nesting depth added 10). 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"626b7dde088979ab3ecfec4c7fdd609240ed53cf2cd43f89c9a3f152131bbeaa"}},{"ruleId":"D2","level":"warning","message":{"text":"Kavita.mangaDetailsParse (cognitive 39): Kavita.mangaDetailsParse has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (27 pts), error handling 4 (6 pts), boolean chains 3, match/switch 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"570b6bc2489dd5380a886af0ca3c2e3784e82621351b41fbad19706f02a395e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Kavita.fetchMangaDetails (cognitive 37): Kavita.fetchMangaDetails has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (30 pts), error handling 2 (6 pts), boolean chains 1 (nesting depth added 20). 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb7c549b1e3f94ca27e171c4fe2c3a651b44c857559efe99dbe02a1d3cc3672"}},{"ruleId":"D2","level":"warning","message":{"text":"Kavita.fetchPageList (cognitive 31): Kavita.fetchPageList has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 4 (8 pts), match/switch 4 (8 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e872b4c163873701f76332b73b4f3cd3b7a9224937aec98ad6b128c2993cf4"}},{"ruleId":"D2","level":"warning","message":{"text":"Kavita.doLogin (cognitive 24): Kavita.doLogin has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 2 (4 pts), boolean chains 3, 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba229849e3e40d2ac3408d1a5b6171d1db278170af9e7e83c69defe5e8ac347"}},{"ruleId":"D2","level":"warning","message":{"text":"PtBinbDescramblerF.getDescrambleCoords (cognitive 22): PtBinbDescramblerF.getDescrambleCoords has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 1, 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":"lib/speedbinb/src/main/java/eu/kanade/tachiyomi/lib/speedbinb/descrambler/PtBinbDescrambler.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e11804b6d8b953fd481295632e01e43c8134cc98db3b7117317cfc3c814307"}},{"ruleId":"D2","level":"warning","message":{"text":"Kavita.resolveThumbnailUrl (cognitive 22): Kavita.resolveThumbnailUrl has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (4 pts), error handling 1, match/switch 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebffe4c318fdb57f23298be5700c5a6756b63a7e501ca803cf0a2fb0e4722c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"LZString.decompress (cognitive 19): LZString.decompress has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (3 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lzstring/src/main/java/eu/kanade/tachiyomi/lib/lzstring/LZString.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"59279bd541fb782177839109b8f0bb759efcf91fedc8a2747b65106320c5f4a9"}},{"ruleId":"D2","level":"warning","message":{"text":"CompressionContext.outputCodeForW (cognitive 19): CompressionContext.outputCodeForW has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 4 (5 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lzstring/src/main/java/eu/kanade/tachiyomi/lib/lzstring/LZString.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dde32d88dc1ad12463bd6de113c435ff10d7a4203dde5bff6cb794360c6248"}},{"ruleId":"D2","level":"warning","message":{"text":"Kavita.loadSourceMetadata (cognitive 18): Kavita.loadSourceMetadata has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, error handling 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2889}}}],"partialFingerprints":{"codehealthFindingId/v1":"82deb101425c219c40b06d5e830355e5690909b8b33c4b0847bf34c2710b267d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Kavita: ClassTooLong \u2014 1988 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 400 significant lines; this is 1588 over it, 4.97\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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e231b9ed0f5dd8cb147686b2590bf90f8ab3ffba3045d1dd7555252bbf1c587"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kavita/Kavita.kt: FileTooLong \u2014 2088 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: Kavita (103-3085). The bar is 500 significant lines; this is 1588 over it, 4.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c687674f2852818c8333733f8a0e7841247a518f5eecc0d0845462e392e33c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Kavita.searchMangaRequest: MethodTooLong \u2014 searchMangaRequest runs 332 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 232 over it, 3.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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07fbd90090eb953aa247e79ccc3e265e470121e925a978d9b75dba6d1380e2c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Kavita: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5f0bf2aa0394e0a3775ec304767d8a297fc4dea02de8c4f837010e351c0cd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Kavita.setupPreferenceScreen: MethodTooLong \u2014 setupPreferenceScreen runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f185af9e8a0bb22d4f2e580f030d0585812705740be73543ec54296265994b5d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KavitaHelper: ClassTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 161 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4cd2ba65383937f8f2761b9b0c7c0f3faab403f2eceb29cdfac6cf84965ebd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kavita/KavitaHelper.kt: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: KavitaHelper (21-894). The bar is 500 significant lines; this is 79 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e21e84e37f13e37ecb53a6a01aa20f4320988cc9f4cfbe23c183e297e0e84f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Kavita.mangaDetailsParse: MethodTooLong \u2014 mangaDetailsParse runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee6775347b9eeb3bf930dfae293d2bb2a16b48a015ee0894fb65e12cd40050f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Kavita.parseReadingListItems: MethodTooLong \u2014 parseReadingListItems 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7fff16e05a7278acf65e4e5f6ac322b4b9b511529c7127233aa5ccf9a6dc05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Kavita.chapterListParse: MethodTooLong \u2014 chapterListParse runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"51472b6d576301e694b4c2d3bc4e2e4953148930ee8da916570aca321a88fb82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:412-433 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:435-452 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dcb3da21aa8c3ad4ea407aa8e07c6d3de6d968a631d167c9c89b8e5ff9543d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:1339-1355 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:1659-1675 \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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dde8adeafed803ef70d981b2cdd068b9aa1e8385e861ad9e4e49921c6cabc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:415-427 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:438-450 \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 \u0060src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:415\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"e387188b93fd4a8353feec4ed8e4f32f48b5c632d2835bb9321c89d0ef9e0433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:1023-1031 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:1294-1302 \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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"d658084e14d627baefef30d391c6d82c7e9ab6e09dcb37ddea5784161baa6ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:1189-1197 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:1236-1244 \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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa754b0e176f1a13a9e20dec7aa508abef7b31757e63a68d8ca0a85e6cc3d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:226-233 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:261-268 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:294-301 \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 \u0060src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.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 before the matched lines, \u0060src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:292\u0060 calls \u0060defaultCleanTitle\u0060, \u0060formatVolumeNumber\u0060 and \u0060src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:224\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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b2783a2dbee78be50095b704af93a03d41e6869621fb39c02870eff8370e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:2296-2302 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:2312-2318 \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 \u0060src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt:2296\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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8e244b09e855ffabccde88b812d15b1a6e30500cea07e8bdba0587f68844aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:206-211 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:212-217 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:218-223 \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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f7a0ea17e12c5c30ab4e0f37bc420215eae511267ff7182e04111d10fe79d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:201-205 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:279-283 \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 \u0060src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:201\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4614a8a547ee0a5a9a6776b271f2956df4df42b618aa9aadaf1c750a3cb66a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt:785-795 | src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaUtils.kt:14-24 \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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"0011e3da4ee598bfb26681b8e30865de0bab3c985784676c6248ae590840d2f1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :lib:i18n: :lib:i18n: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c49a2202cd84c4c465dd4839b0d956c6917665bb75afbe0d6a8aa90d54d179e4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :lib:textinterceptor: :lib:textinterceptor: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aa28730de152d33c6848b8051d9b8e50bde7aac555bc837216d79a57ce6c5b77"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: KavitaHelper (LCOM4 8): KavitaHelper\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c072140fc3fb5791f49febf232b234cef4eaba00df2f9b40adb5696dc0f9ab19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt: src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in Kavita.searchMangaRequest at line 454. 7 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 20:30:36 \u002B01:00\u0027 --until=\u00272026-11-05 20:30:36 \u002B01:00\u0027 --full-history --no-merges -- src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"789dedf8eb903a3242000ca3f5c47a0fe0d10d536ec78d5a835b8baf3181c2fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt: src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in KavitaHelper.chapterFromVolume at line 79. 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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 20:30:36 \u002B01:00\u0027 --until=\u00272026-11-05 20:30:36 \u002B01:00\u0027 --full-history --no-merges -- src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50f02fb729335c252ea31a7d56f5604264eced6705204e112ce2775d03bef17"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/dto/FilterDto.kt: src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/dto/FilterDto.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 11 (its worst body is FilterDtoKt.toFilterField at line 185), 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 Popular 400: AverageRating sort field requires Kavita\u002B license\u201D; \u201CFix Popular/Latest/Search HTTP 400 on Kavita 0.9.x\u201D; \u201CRemoved comments explaining the fix in the codebase\u201D; \u201CKavita: fix HTTP 400 when browsing against Kavita 0.9.x\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-07..2026-11-05, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-07 20:30:36 \u002B01:00\u0027 --until=\u00272026-11-05 20:30:36 \u002B01:00\u0027 --full-history --no-merges -- src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/dto/FilterDto.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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/dto/FilterDto.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0168bedd0612e339cf26ba43541e443505b545d22ae6dc7cc7e15f834b2bea2f"}},{"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":"4f32e8f3fbf7570a6be9670d21e5c6b43cdac618ba5bf8a556a1c427f087797e"},"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":"e1d38fb0942adc254c41a561fc747b37ca5d40922290c05ddaed70bca301bf27"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c593d4696c7642977afc195017b0994acec75930c2feba445def380d6c92016"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e333bc56d5dabf087f18c739caac7e0e54bd2d1e3d081fc9583171feb6071cde"},"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":"efe8620124537f9abc43b0dd22cedb4f4ea7911a7636d4983b8aa3a2144d91a1"},"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":"1174fd0ebafe7e5dafdb3864a26e61887b9fa0ec57fd08beb8860de03c655350"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 14 of 20 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 20 of the 59 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: lib/speedbinb/src/main/java/eu/kanade/tachiyomi/lib/speedbinb/descrambler/PtBinbDescrambler.kt, lib/lzstring/src/main/java/eu/kanade/tachiyomi/lib/lzstring/LZString.kt, lib/zipinterceptor/src/main/java/eu/kanade/tachiyomi/lib/zipinterceptor/ZipInterceptor.kt, lib/speedbinb/src/main/java/eu/kanade/tachiyomi/lib/speedbinb/SpeedBinbReader.kt, src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Filters.kt, lib/cryptoaes/src/main/java/eu/kanade/tachiyomi/lib/cryptoaes/CryptoAES.kt, lib/textinterceptor/src/main/java/eu/kanade/tachiyomi/lib/textinterceptor/TextInterceptor.kt, common.gradle (and 6 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/speedbinb/src/main/java/eu/kanade/tachiyomi/lib/speedbinb/descrambler/PtBinbDescrambler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39767aefdbe03900825c64e9dc110a51d823b170e33711dcd160bd343ee0682f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lzstring/src/main/java/eu/kanade/tachiyomi/lib/lzstring/LZString.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd6dba1ba2f3f51778dfcd3bfb85de88029ad19008568c617b00de24976c31b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/zipinterceptor/src/main/java/eu/kanade/tachiyomi/lib/zipinterceptor/ZipInterceptor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb334ee67ed87c9ad9dce050872abf48c7ca778185be87d1a89881e1b7316f26"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/speedbinb/src/main/java/eu/kanade/tachiyomi/lib/speedbinb/SpeedBinbReader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05be0744adeb9f264755c115937280a42e092131163ca2a7295cef1b064e4ce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Filters.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4cd644636a09bc9dab069e1294e4c9274f0267f6bf10811d07e2aea6a8d2e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cryptoaes/src/main/java/eu/kanade/tachiyomi/lib/cryptoaes/CryptoAES.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b11d70639310e6d3e100f9dc90fda4449e6a58cc901e12b265f973006de8df0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/textinterceptor/src/main/java/eu/kanade/tachiyomi/lib/textinterceptor/TextInterceptor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfa2ce4b066137571037bad53f51c40ea2ce7ea0476ebac7873635b7dead422"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb08681cce9ce552160a77e3e518b8dcb8236efd7eec017cbb012566f662b87"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/randomua/src/main/java/eu/kanade/tachiyomi/lib/randomua/RandomUserAgentInterceptor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ace8ca7d71072feffae3e909d5651c85257c19eac8125699ae9ae076daf73dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/i18n/src/main/java/eu/kanade/tachiyomi/lib/i18n/Intl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9961e7195611bc1549f1f11928358ef8e4a20cc68b6721abcde90fc9a77f1b34"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/speedbinb/src/main/java/eu/kanade/tachiyomi/lib/speedbinb/SpeedBinbInterceptor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19608afc81708b37a817353bfa8568f01cf142331f0b3842c22f09bba9e70a79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/speedbinb/src/main/java/eu/kanade/tachiyomi/lib/speedbinb/Models.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c0780c7b22c856eb2e990694b33a76c9a2b547e42779b218717306bdef6eee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/cryptoaes/src/main/java/eu/kanade/tachiyomi/lib/cryptoaes/Deobfuscator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"509079e15ef67136fa0a60b31485ba02f6b41aa1bfa4d1d0f13549651a78f814"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/unpacker/src/main/java/eu/kanade/tachiyomi/lib/unpacker/Unpacker.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d59cde5ece2ca50457629255f0287c5ffd0763e17d345335a1490f424d174e"}},{"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":"7d10bf0d8267221775406015ae4b750cdf9b5dca1f01a1d6695c9896dd51e021"}},{"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":"e0423eaa4aefca6a7f8c48be6565d2bce20dd3ab0aab9f565eeaec714512a164"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41a84f0c932f95f9a32a3e9b5e9cf650d5bb9447e872e204f334f7a3b14a190d"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a63e76a20d9b42e09630f502b9b41d0e780e10bf7c88af8c95bb88b5947664a"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"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 5 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build_pull_request.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/create_release.yml"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 3/4 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: loadSourceMetadata: \u0060loadSourceMetadata\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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2889}}}],"partialFingerprints":{"codehealthFindingId/v1":"984a3e1f5e0d6bb43c0fc60affce452008375841039d0431dab05cd7ff04d773"}},{"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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"427f5e123a92db49801d5566291c12e2af562e890e186356bb3127f71550004a"}},{"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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbcbd978d09d0ae7b6efc826f219069752b0eaae1c462ff8e45c2a6b83bbf96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ex: 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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"40316f16966512e25e9c8751213c2cfc091f5bf7a7a79ed7439fab860cfe0cde"}},{"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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2597}}}],"partialFingerprints":{"codehealthFindingId/v1":"40213b3ef8e58fd5de56f6a83ba2101cecf8a0aaabec86b44a835895f361db2f"}},{"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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2637}}}],"partialFingerprints":{"codehealthFindingId/v1":"89907a85baa4e37fc11e20cdfe21a8361f0d1d894243e87f5ed78f7904bebc9d"}},{"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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2864}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f735f77137e0fecf28b2cb187915deab7a7d9c7cfd64c6b29179517792bc97"}},{"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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc62b4f9340034eeda6eda0c7754911a873bfba0b2ff1ab82152f0880c128a3"}},{"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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b78d7ce23a2d741e9d5f6eb0dc1fbbe753ca0caacca57dd8ac9e874faf3b7b0"}},{"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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaUtils.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e1555a0b7d2f469adce29d62b065c08fbc8da01f226b6e0d79a1ac7fe4da99"}},{"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":"lib/cryptoaes/src/main/java/eu/kanade/tachiyomi/lib/cryptoaes/CryptoAES.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0e5ae2a7a6b186dc42428cf18ac3e5acd92b532169b5601ed16f5c39dd3d2b"}},{"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":"lib/cryptoaes/src/main/java/eu/kanade/tachiyomi/lib/cryptoaes/CryptoAES.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5788d9e59ad126dfe24f579a7c2cd30995f423422d551489df57f85b92f338ad"}},{"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":"lib/cryptoaes/src/main/java/eu/kanade/tachiyomi/lib/cryptoaes/CryptoAES.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"344b163e2a2ab84d46b03e13bb1a8a58eac074a7a5cd8aa2bd17084aadd6e930"}},{"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":"lib/cookieinterceptor/src/main/java/eu/kanade/tachiyomi/lib/cookieinterceptor/CookieInterceptor.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e99c38c5dc557e0f3b62e493ca85d559e99f2381f0cce2739ecdab7f8a9abbd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060tryParse\u0060 answers \u00600L\u0060 when \u0060ParseException\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":"utils/src/keiyoushi/utils/Date.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a019d1a1f5a91dedbd648cf187f293d3b7134071fa397431e5e98d79f087edbc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decrypt\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":"lib/cryptoaes/src/main/java/eu/kanade/tachiyomi/lib/cryptoaes/CryptoAES.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0db34b3070357b7f13ececf3e5de9694546b5a411a48540bfa0450902e4918"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decrypt\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":"lib/cryptoaes/src/main/java/eu/kanade/tachiyomi/lib/cryptoaes/CryptoAES.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02357610cd976d5531e0e7423b648f79ff4d16a45ac1cc41b2bc685c821b482"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decryptAES\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":"lib/cryptoaes/src/main/java/eu/kanade/tachiyomi/lib/cryptoaes/CryptoAES.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad22be118625f132b1f3025b3d0f72e1130752011f8963ed8b0eee9738a0a8c9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPrefApiKey\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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2597}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2dc06629a4c80508a13fd02bb30361cb06f5693e847dbadfc50fb621889006"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060opdsUrlInPreferences\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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt"},"region":{"startLine":2637}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2de52aa3bd3362a57d60c464121602f6fe968bf127d10c23c57c4cd2efad02"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseDateSafe\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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"673bad81d86eb0cacd9e7e864181cbfae9ecd8eadcc4dd9b2bd70c2329a70c18"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseDateSafe\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":"src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaUtils.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbb38808f6cc81843142a35bdc979547581cc4b32dc91e8d5037e39a832bd68"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-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-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":14,"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."]}]}