{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"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":"InteractionManager.buildInteractionMap (cyclomatic 56): InteractionManager.buildInteractionMap has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 3 of the 56 points are its own statements and the rest belongs to one function literal inside it that branches (line 21). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a8799af6e857e014dc0f3b96dbe1fd30541affd6ac5b5a8ee872b03d5d86d4"}},{"ruleId":"D1","level":"warning","message":{"text":"EpubZipParser._parseMetadata (cyclomatic 33): EpubZipParser._parseMetadata has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c0b265583641ad01f1a04b14ad2dc36756b662e789b61dc80980a6c69fd7e0"}},{"ruleId":"D1","level":"warning","message":{"text":"EpubZipParser._parseOpf (cyclomatic 30): EpubZipParser._parseOpf has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ca5f56ab98ff10ad3b5035d5ef2446e2e1f9e560cfc214cc2a25745177e6a7"}},{"ruleId":"D1","level":"warning","message":{"text":"FootnotePopupOverlayState.build (cyclomatic 24): FootnotePopupOverlayState.build has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/widgets/footnote_popup_overlay.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe36bcd4f68612214051cb73b78d8058a7a235058467e9956195e911fc87f7a"}},{"ruleId":"D1","level":"warning","message":{"text":"_ReaderScreenState.build (cyclomatic 22): _ReaderScreenState.build has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_screen.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad31656ec0d582d1fd731835253aee185389f189a9ca2df979af6b97a7a21ca5"}},{"ruleId":"D1","level":"warning","message":{"text":"ImportBackupService.restoreLibrary (cyclomatic 21): ImportBackupService.restoreLibrary has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/backup/data/services/import_backup_service.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5821eda874e6fffaa681b074c4f5e806fa479013cad43050d8ce463d148e3113"}},{"ruleId":"D1","level":"warning","message":{"text":"PaginationManager.detectActiveAnchor (cyclomatic 20): PaginationManager.detectActiveAnchor has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/pagination.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bc3d98c01df483ac336b378514a1e9493986f6c56300f2c34888f07e8e26a3"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportBackupService.exportLibraryAsFolder (cyclomatic 19): ExportBackupService.exportLibraryAsFolder has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/backup/data/services/export_backup_service.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"985aaf3184631dec0cb33e0c4d9a52a9abd5cb7b6c1fc84246765454b4c580ca"}},{"ruleId":"D1","level":"warning","message":{"text":"_BookDetailScreenState._save (cyclomatic 19): _BookDetailScreenState._save has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/detail/presentation/book_detail_screen.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f8ac829ed77cee4783d6253b21eb829e132d03eb48b08596ee18d0328d82f3"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryActionsMixin.showMoveToGroup (cyclomatic 19): LibraryActionsMixin.showMoveToGroup has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/presentation/mixins/library_actions_mixin.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5934cc427c294aba00375bf72b129609750c4f5f02d2458995fa02fc692f11"}},{"ruleId":"D1","level":"warning","message":{"text":"Renderer.onFrameLoad (cyclomatic 18): Renderer.onFrameLoad has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 526, 501, 568, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/renderer.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b0447ac4dda65b8dc1207496e37ac13e4d9c00f761ca4f9d04fb22c99eb451"}},{"ruleId":"D1","level":"warning","message":{"text":"NativePickerPlugin.documentPicker (cyclomatic 17): NativePickerPlugin.documentPicker 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":"ios/Runner/NativePickerPlugin.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6129ea3057595fd93ec6c6047eed884d86721b5b5f5d4fcd95332692c1a59fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"typ_common.setupFullscreenElement (cyclomatic 17): typ_common.setupFullscreenElement 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":"web_assets/controller.js/typ/typ_common.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"757df2fc4a0fcd6d73ae098018b8fc937ec3240713f11aabe535b188c551c186"}},{"ruleId":"D1","level":"warning","message":{"text":"_ReaderWebViewState._setupJavaScriptHandlers (cyclomatic 16): _ReaderWebViewState._setupJavaScriptHandlers has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_webview.dart"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1a5111ebff6947ea2f315f8e767829b1c3226e5d3a829483bb41448e9cc2d7"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractionManager.buildInteractionMap (cognitive 101): InteractionManager.buildInteractionMap has cognitive complexity 101 (threshold 15). Drivers by points: if/else 25 (69 pts), boolean chains 16, loops 6 (13 pts), ternaries 1 (3 pts) (nesting depth added 53). Most of this is not in the body itself: 2 of the 101 points are its own statements and the rest belongs to one function literal inside it that branches (line 21). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e00d3621ee784f69aab3ca35ce438d3801a6b96c1e564c2906e92855586e308"}},{"ruleId":"D2","level":"warning","message":{"text":"EpubZipParser._parseOpf (cognitive 70): EpubZipParser._parseOpf has cognitive complexity 70 (threshold 15). Drivers by points: if/else 12 (31 pts), ternaries 6 (23 pts), loops 5 (10 pts), boolean chains 5, error handling 1 (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c27efbee2cef9375c16c6a21749960a9075aac6b1fd7b6bc4ea63d2ac45516"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryActionsMixin.showMoveToGroup (cognitive 52): LibraryActionsMixin.showMoveToGroup has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (43 pts), loops 1 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/presentation/mixins/library_actions_mixin.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9294f7ad7fdef5dc28a267db9cf1dec017dbb72914b0bb64c2871f1b2ad3c0ae"}},{"ruleId":"D2","level":"warning","message":{"text":"EpubZipParser._parseMetadata (cognitive 50): EpubZipParser._parseMetadata has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 12, ternaries 2 (6 pts), loops 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0488552d6b1ace56c645934a09c365044e08521132c56d441705d206356e383"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportBackupService.exportLibraryAsFolder (cognitive 49): ExportBackupService.exportLibraryAsFolder has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (35 pts), loops 3 (8 pts), error handling 3 (5 pts), boolean chains 1 (nesting depth added 26). 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/src/features/backup/data/services/export_backup_service.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a1990f9997aaa14e39ea42972f5b243bee8fbeae576311098a4044515617fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportBackupService.restoreLibrary (cognitive 45): ImportBackupService.restoreLibrary has cognitive complexity 45 (threshold 15). Drivers by points: if/else 7 (18 pts), error handling 4 (10 pts), ternaries 4 (9 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 25). 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/src/features/backup/data/services/import_backup_service.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8fa707fe5001faaaa7801173de9795739f1bbf14e038c5ebef141ac34ced7b"}},{"ruleId":"D2","level":"warning","message":{"text":"PaginationManager.detectActiveAnchor (cognitive 37): PaginationManager.detectActiveAnchor has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (31 pts), boolean chains 5, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/pagination.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"07171caae20d2338220385c32def1d339e8f655a227572d79441be68ed80c586"}},{"ruleId":"D2","level":"warning","message":{"text":"_BookDetailScreenState._save (cognitive 35): _BookDetailScreenState._save has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/detail/presentation/book_detail_screen.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a4863e3e88769085f043650d1981b3dae597a1f2ecf81b82a52c460e25f088"}},{"ruleId":"D2","level":"warning","message":{"text":"_LinkHandlingMixin.handleLinkTap (cognitive 29): _LinkHandlingMixin.handleLinkTap has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 3 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/mixins/link_handling_mixin.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0cb27f228c72befaaf7e86c380025b284cddf5d9102e4496e0770e7ea21a8f"}},{"ruleId":"D2","level":"warning","message":{"text":"PrecompileBinaries.run (cognitive 29): PrecompileBinaries.run has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (8 pts), error handling 1 (4 pts), ternaries 1 (nesting depth added 17). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/precompile_binaries.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3da5c60be82f94025c26eaf7e514940b6f11f3a1759602790ba9f9a1d8f4ad"}},{"ruleId":"D2","level":"warning","message":{"text":"NativePickerPlugin.documentPicker (cognitive 29): NativePickerPlugin.documentPicker has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (10 pts), boolean chains 1, match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/NativePickerPlugin.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e61dbb7830675b417fc6efe0c4db639cd9fd493b06118b3184a55a784cd8619"}},{"ruleId":"D2","level":"warning","message":{"text":"FootnotePopupOverlayState.build (cognitive 28): FootnotePopupOverlayState.build has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 13, boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/widgets/footnote_popup_overlay.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb75c8850709c87f1a0838af7e25854d93adae726bb00f77a592091176f5f900"}},{"ruleId":"D2","level":"warning","message":{"text":"_ReaderScreenState.setupVolumeControl (cognitive 24): _ReaderScreenState.setupVolumeControl has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 3 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_screen.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"1929024355a2265836cb8874fad9a404541218d13ac4362f9c39a328cd96e939"}},{"ruleId":"D2","level":"warning","message":{"text":"_ReaderScreenState.build (cognitive 24): _ReaderScreenState.build has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 6, boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_screen.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a845cc47dab66cb87fe714fde4746eef494fa6808e7787d755048cc5f1e39f"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractionManager.checkImageAt (cognitive 23): InteractionManager.checkImageAt has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (20 pts), boolean chains 3 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e2ef4e77fdf35f2092f018ca82130e0c31ab92140cc1d7c0399d9cbb9873d2"}},{"ruleId":"D2","level":"warning","message":{"text":"_BookDetailScreenState._pickCover (cognitive 22): _BookDetailScreenState._pickCover has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/detail/presentation/book_detail_screen.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2066997ea251e9709dea9e324c25bcaf00f778193051a543596eecbeb1aa2e54"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalSourceImportNotifier.importStream (cognitive 22): ExternalSourceImportNotifier.importStream has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (4 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/external_sources/application/external_source_import_notifier.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86cb16049d31bc81d055006b4a891048048bc87fc0dd55ea69f62d5f7bb3112"}},{"ruleId":"D2","level":"warning","message":{"text":"VerifyBinaries.run (cognitive 22): VerifyBinaries.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (5 pts) (nesting depth added 14). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/verify_binaries.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"27543508f7dca16f8717b23129cd307df7be484b2028847fce8a863602a59ece"}},{"ruleId":"D2","level":"warning","message":{"text":"CargokitCrateOptions.parse (cognitive 21): CargokitCrateOptions.parse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 pts) (nesting depth added 12). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/options.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce7b0d1158a05710adee065aa493186584913855b0af539d20afe15822833fb"}},{"ruleId":"D2","level":"warning","message":{"text":"types.parseColorString (cognitive 21): types.parseColorString has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4 (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":"web_assets/controller.js/common/types.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"71da25a1c673fc60ffe33d6bc981d86c8620c510404f4adafe00412e8f8dc1dd"}},{"ruleId":"D2","level":"warning","message":{"text":"typ_common.setupFullscreenElement (cognitive 21): typ_common.setupFullscreenElement has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 5, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/typ/typ_common.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3728f6194845ef814fd605673f5baadfa4a9ec7b67bf2bfb73fda7dfab8135"}},{"ruleId":"D2","level":"warning","message":{"text":"EpubZipParser._findOpfPath (cognitive 20): EpubZipParser._findOpfPath has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts), error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05384055ad13c91c4b9f8674ef2c5ce39039c378bf43a7d3dfd4f72f0ce29d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderPageTurnPlugin.handleAnimatePageTurn (cognitive 20): ReaderPageTurnPlugin.handleAnimatePageTurn has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 4 (6 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/ReaderPageTurnPlugin.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d0363becc256888e5317263ffb2db60c8c306bfcf559fb182fe97b0a8ddb56"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer.onFrameLoad (cognitive 20): Renderer.onFrameLoad has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, ternaries 2, loops 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 526, 501, 568, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/renderer.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"c627b20d7c6d4267ed728f6c170aab65afc4110265f476724254a0af714db4e0"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupFolderResolver.resolve (cognitive 19): BackupFolderResolver.resolve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/backup/data/services/backup_folder_resolver.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6ea663a5bcea6d4039ea6006cf52e500961d7a8ebe3f04f2ae837c1e358ced"}},{"ruleId":"D2","level":"warning","message":{"text":"_RestoreTileState._restore (cognitive 19): _RestoreTileState._restore has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/backup/presentation/widgets/restore_tile.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d224c960d3ba267f671ab25da07da7687e9e9bb4930d32adef7ce6adf1f0c5f"}},{"ruleId":"D2","level":"warning","message":{"text":"EpubZipParser._parseNavListItems (cognitive 19): EpubZipParser._parseNavListItems has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"68010c2c28ec3529f0c1b2dbb8696e7b14bb3a00780eb04bced7f00a9c715ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"_ImageViewerState._loadImage (cognitive 18): _ImageViewerState._loadImage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/image_viewer.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ad3d6e0652275e7a35d79ac2668239de3df49327a5a95d762b3162daddd8de"}},{"ruleId":"D2","level":"warning","message":{"text":"_PageNavigationMixin._runScrollTurns (cognitive 18): _PageNavigationMixin._runScrollTurns has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/mixins/page_navigation_mixin.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"67335881a1468fe5156edd993bd9d6961debc88510e05aff03e60db209a95bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"_CheckUpdateTileState._checkForUpdates (cognitive 18): _CheckUpdateTileState._checkForUpdates has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (6 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/settings/presentation/widgets/check_update_tile.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afbeb5dedff7968ca893aa88e19bcccb5373c1d55c34ed4070ff3d96d6951f5"}},{"ruleId":"D2","level":"warning","message":{"text":"WebDavClient.parseMultiStatus (cognitive 17): WebDavClient.parseMultiStatus has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (4 pts), boolean chains 3, error handling 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/src/features/external_sources/data/services/webdav_client.dart"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93cbd4d59ae6a39974defcbc469302708885204a66e3a71bfdbf9e0bb47468a"}},{"ruleId":"D2","level":"warning","message":{"text":"FontManagerNotifier.importFonts (cognitive 17): FontManagerNotifier.importFonts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/fonts/application/font_manager_notifier.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa3b1082b86a7b849f25574227036ac68cf6f3550e952a22fe4be43cabca513"}},{"ruleId":"D2","level":"warning","message":{"text":"CargoBuildOptions.parse (cognitive 17): CargoBuildOptions.parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (nesting depth added 9). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/options.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e9dc4e513cb705e83dcf6a7b3464ce4f9fd971d94482c7d46185a780927e34"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractionManager.checkElementAtHelper (cognitive 17): InteractionManager.checkElementAtHelper has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, loops 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a028c962bec7ce122031be5d2f9564125a3237c63fa1b90899296c65ecb3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"_ReaderWebViewState._setupJavaScriptHandlers (cognitive 16): _ReaderWebViewState._setupJavaScriptHandlers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_webview.dart"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"7459b6ed9e18e6cbf121507edbe6479545e9bb8321d5df28aec0e85eb16f96ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ReaderStyleBottomSheetState.build: MethodTooLong \u2014 build runs 259 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 159 over it, 2.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/widgets/reader_style_bottom_sheet.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a158e48e1d28e18355f42cb2366a2519e974289c2d0c0f5c6e9be31ce4b9dc92"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ControlPanelState.build: MethodTooLong \u2014 build runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/control_panel.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b42a86c36a21b0518c9185325014e662d29a14f915f6d888e8f8c07f246ab9c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ReaderScreenState.build: MethodTooLong \u2014 build runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_screen.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f835675041ddae2732fd98342e254b3f027158c2285c8be22c3e8cb9c4f82669"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FootnotePopupOverlayState.build: MethodTooLong \u2014 build runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/widgets/footnote_popup_overlay.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a752ab594d7140f6b64ca90566d0a52da671e4f0122bbfc0760d5b0951636689"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImportBackupService.restoreLibrary: MethodTooLong \u2014 restoreLibrary runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/backup/data/services/import_backup_service.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd83a50fb5ce76a84e5ece82ec47c9a95f0d95910df097b1c53442586ea3b10"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EpubZipParser: ClassTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 127 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc05c3853062147ea79ead2875ba99722a36e687190cfd20c4065988f9a13be8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EpubZipParser._parseOpf: MethodTooLong \u2014 _parseOpf runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebe3bbf1b9264dd41a3776b8ce3f77f395a65bafd83b1d098f87a92f4ba3483"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InteractionManager.buildInteractionMap: MethodTooLong \u2014 buildInteractionMap runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"12da7c7a6f250e33564c0e5f534ba043ccd10cd5ceb265432ef258dc29c34c6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/epub_zip_parser.dart: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: EpubZipParser (9-820). 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":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f6a7f2e27405c0be741a4af269f477d5f8e9dc89f226d4fd29a2674c2e7dcb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _ProgressDialogState.build: MethodTooLong \u2014 build runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/widgets/progress_dialog.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f82e77b0070986c16537be5ecf00fa762ca29cd7db12c4eb41f863694939a2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookDetailViewBody.build: MethodTooLong \u2014 build runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/detail/presentation/widgets/book_detail_view_body.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe7ccbe15e70fbf3d355daa4be09a6886a1b5d58b32abe81103d59d675a71d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/src/features/reader/presentation/widgets/reader_line_height_slider.dart:38-57 | lib/src/features/reader/presentation/widgets/reader_scale_slider.dart:39-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/widgets/reader_line_height_slider.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3670d0a33e68fd4d8a768b22bb0527553e228db66b63ec49410f24e462cb42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/src/features/reader/presentation/reader_renderer.dart:117-135 | lib/src/features/reader/presentation/reader_renderer.dart:138-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_renderer.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfc7c1424e8be4a1108bda13448f4562e2ba68dbe6fd8608d680de88931645f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/src/features/library/presentation/shared_epub_handler.dart:160-177 | lib/src/features/library/presentation/widgets/import_progress_dialog.dart:104-121 \u2014 before extracting anything, compare \u0060lib/src/features/library/presentation/shared_epub_handler.dart\u0060 and \u0060lib/src/features/library/presentation/widgets/import_progress_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/presentation/shared_epub_handler.dart"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9355dddb6b5250d56c58bfe35c52a3aa324399d3ad60f5f95ecbf5c6fb2631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/src/features/library/presentation/mixins/library_actions_mixin.dart:75-88 | lib/src/features/library/presentation/mixins/library_actions_mixin.dart:98-111 | lib/src/features/library/presentation/mixins/library_actions_mixin.dart:121-134 \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":"lib/src/features/library/presentation/mixins/library_actions_mixin.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a48b8513e424e117ae83a08bed35c5c87e3c9f845c4aa97737f53192bc04a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/src/features/reader/presentation/widgets/reader_line_height_slider.dart:24-36 | lib/src/features/reader/presentation/widgets/reader_scale_slider.dart:25-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/widgets/reader_line_height_slider.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9da78ab856757825b2ddd8a56cc8f1907e4662e2d8e2c23e6854ad09f144325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/src/features/external_sources/presentation/widgets/external_sources_section.dart:165-176 | lib/src/features/fonts/presentation/widgets/fonts_section.dart:123-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/external_sources/presentation/widgets/external_sources_section.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd29293a0a3dd715c841947e6d9574e990cae41801d59115f61ac079e793087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/src/features/reader/data/epub_webview_handler.dart:94-104 | lib/src/features/reader/data/epub_webview_handler.dart:108-119 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/data/epub_webview_handler.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccac3832a1f8478fb52b1b67286fbee6aada75cbd176373d2b2dfa9338d1bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/core/widgets/book_cover.dart:77-87 | lib/src/core/widgets/book_cover.dart:120-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/widgets/book_cover.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05182bac938b77eb7b44734142d488950774f83bc31682aa79615f5db6e7a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/src/features/reader/domain/epub_theme.dart:51-61 | lib/src/features/reader/domain/reader_settings.dart:114-123 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/domain/epub_theme.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5193ca5022b4dfc5c265ffa2d3d00f08802bdbb70dfb3ed553f085c616537256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/src/features/reader/presentation/widgets/reader_style_bottom_sheet.dart:202-212 | lib/src/features/reader/presentation/widgets/reader_style_bottom_sheet.dart:231-241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/widgets/reader_style_bottom_sheet.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf339b4783653c6e6759c9dae8f81b7c4bf0dcb3ca93e6d571a855e9d8e24e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/src/core/widgets/simple_markdown.dart:23-32 | lib/src/core/widgets/simple_markdown.dart:34-42 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/widgets/simple_markdown.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d418870b43b31bc5303ea949372a5dcb12117b2f4d84c55afbc26ae44bab71a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/features/library/presentation/shared_epub_handler.dart:128-137 | lib/src/features/library/presentation/widgets/import_progress_dialog.dart:67-76 \u2014 before extracting anything, compare \u0060lib/src/features/library/presentation/shared_epub_handler.dart\u0060 and \u0060lib/src/features/library/presentation/widgets/import_progress_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/presentation/shared_epub_handler.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c37ea388d94aa3bb51e27520db427d7d2c0216a70bb76aeb7a6d35e51135768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/src/features/detail/presentation/widgets/book_detail_view_body.dart:102-110 | lib/src/features/detail/presentation/widgets/book_detail_view_body.dart:229-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/detail/presentation/widgets/book_detail_view_body.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac698f2231eddb1813b33daa3db976ec11bdff75f6d3c20b8c5d936678da0783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/src/features/reader/presentation/reader_webview.dart:604-610 | lib/src/features/reader/presentation/reader_webview.dart:637-643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_webview.dart"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5fe8e554c0a83a47abcae1ed7ee2e6712e1320136d946b4cc9fa6de875a5cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/src/features/backup/presentation/widgets/restore_progress_dialog.dart:44-53 | lib/src/features/library/presentation/shared_epub_handler.dart:114-123 | lib/src/features/library/presentation/widgets/import_progress_dialog.dart:45-54 \u2014 before extracting anything, compare \u0060lib/src/features/library/presentation/shared_epub_handler.dart\u0060 and \u0060lib/src/features/library/presentation/widgets/import_progress_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/backup/presentation/widgets/restore_progress_dialog.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf507bb28be96a19facbbd2af5e82172bc92c44e0d9d05b49b8051da31301600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/src/features/library/presentation/shared_epub_handler.dart:142-146 | lib/src/features/library/presentation/widgets/import_progress_dialog.dart:86-90 \u2014 before extracting anything, compare \u0060lib/src/features/library/presentation/shared_epub_handler.dart\u0060 and \u0060lib/src/features/library/presentation/widgets/import_progress_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/presentation/shared_epub_handler.dart"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f856b6d8d989bcf3f75c14a68739279ce88fe8d62b2d606c6055081eec50693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/src/features/library/presentation/shared_epub_handler.dart:148-152 | lib/src/features/library/presentation/widgets/import_progress_dialog.dart:92-96 \u2014 before extracting anything, compare \u0060lib/src/features/library/presentation/shared_epub_handler.dart\u0060 and \u0060lib/src/features/library/presentation/widgets/import_progress_dialog.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/presentation/shared_epub_handler.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f0db4ccbd9c8824ec59d08882e64c6f4dbaec90a3e9c062e94beed1c438ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/src/features/settings/presentation/settings_screen.dart:174-179 | lib/src/features/settings/presentation/widgets/check_update_tile.dart:164-169 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/settings/presentation/settings_screen.dart"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad3df214025f481fe82a4a6ecbdeaa3600008edde6c7245af71202d0bb34e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/src/core/widgets/settings_section_title.dart:11-20 | lib/src/core/widgets/settings_sub_label.dart:12-21 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/widgets/settings_section_title.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4566ff913549b947f5e79539c27b17ed915e00f95ecc710ef9ada16cb4d70a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:442-462 | android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:481-501 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:442\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"9572611f4c3ec07d8c6978069a7d32ed5f28210ba25b90d039a016e0f505fe2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:397-410 | android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:521-534 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:397\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dadfae5dfbce0da1862cccf1db53b66dfeca7d389084ac1579ac1e2cfaf488b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:568-576 | android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:595-603 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:568\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:578\u0060 calls \u0060endsWith\u0060 and \u0060android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:604\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61af3b25fc3c74e05348cdb231ce1764e41a862a1dd8eb66d8217bbdd7544ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:194-207 | android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:292-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt:194\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"13daa02b4aa8bd28fe7411b0e8baa3c480f03964262edde792be2ce5c1f058d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): ios/Runner/NativePickerPlugin.swift:148-166 | ios/Runner/NativePickerPlugin.swift:178-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ios/Runner/NativePickerPlugin.swift:148\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ios/Runner/NativePickerPlugin.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2c921f2f7a41178342599a780c8d23503b29cbb515f7493517db9cf5b402e1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ControlPanelState (LCOM4 14): _ControlPanelState\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/control_panel.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a74c26a12b846879f31b664328d02de44207b5c119f0c4eeccb586c337622d4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReaderRendererController (LCOM4 12): ReaderRendererController\u0027s methods fall into 12 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 12 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_renderer.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"366c1f5956c6fa281b4e74997a70b9b609ad8afef865858b3b425268c617fb0c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExportBackupService (LCOM4 5): ExportBackupService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/backup/data/services/export_backup_service.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"968e12283504ee3db6f14d7e8148e64c6187ddb14394a88e2ee39eaa08a497d5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _ReaderWebViewState (LCOM4 5): _ReaderWebViewState\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_webview.dart"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fdd18abd88379f6588dd9b7cb8742680b092cd9cb499d437feef6301665f5f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _TypeSelectorMenuRoute (LCOM4 4): _TypeSelectorMenuRoute\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/external_sources/presentation/widgets/type_selector_field.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd39547cefb4293c285d9d0bb2d84057d7975be7c7807403500915dae9555fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/src/features/reader/presentation/reader_screen.dart: lib/src/features/reader/presentation/reader_screen.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in _ReaderScreenState.build at line 350. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-26..2026-09-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-26 02:22:11 \u002B08:00\u0027 --until=\u00272026-09-24 02:22:11 \u002B08:00\u0027 --full-history --no-merges -- lib/src/features/reader/presentation/reader_screen.dart\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_screen.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63185f28a17d7ed90b8e049c5b679de9fb70acdd3e848d90dca7660ad03b3cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: web_assets/controller.js/renderer/renderer.ts: web_assets/controller.js/renderer/renderer.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Renderer.onFrameLoad at line 488. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-26..2026-09-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-26 02:22:11 \u002B08:00\u0027 --until=\u00272026-09-24 02:22:11 \u002B08:00\u0027 --full-history --no-merges -- web_assets/controller.js/renderer/renderer.ts\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":"web_assets/controller.js/renderer/renderer.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"98575cb3b0985c5ce77dd6f7e7a4aaca73e51e69d3f8ec53147106b9098b8432"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement image tap to view full size \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/widgets/footnote_popup_overlay.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"81380bf5faba2f1df7375faa295d2aa3dc209d18cf7362ac0d611eecdbc4226e"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Jumps to the last page in the current frame.\u0022 repeats the code it sits on: 4 of its 5 words (jumps, last, page, frame) are already in \u0060jumpToLastPageOfFrame(token: number, slot: FrameSlot): void;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/api/lumina_api.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6ba6ae2c33e5d7ea2b6e2a06f979caa3c0b454d1aee724d21ef0334c129cab"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the slot name from an iframe element\u0022 repeats the code it sits on: 4 of its 5 words (get, slot, iframe, element) are already in \u0060getSlotFromElement(iframe: HTMLIFrameElement): FrameSlot\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/frame_manager.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"23092bc4121fdafb4597f9d18eb430af8fdb5720fff88d3cae163e0c4edcd06c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060(repository root)\u0060 (22294 LoC, 194 module-visible types across 43 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"92fc4be3367702c1e50fbdfff7585b7ea0670b48a02964169821c90415a5f791"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"645a7ce1c7cc1fe093738219f0c0844361e2858fa0d5f54a6009c5d1e21fd0f2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"093ab464e58bb3ecae4ef0202c8fc0b48e5cb8bd9b7a72f29ff50c9d13006930"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8d90eb75568ad47a2891fc41ae7d0902e1c953d9f6bde92f8b34f889c759e1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfa769fca8cd7d9b27226382aac04925e5c7f3051096c2593a87dd16fd359e5b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d4f2a751c562220ef1ac96e79229b482194582eb6fbbb18a2e347058d1729b9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c408edd7baba0bb07a939b44660ad2caebc87a91d250c0fb7ea126329edd3960"},"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":"cdda294cf54fe177fa956e541b0813afa26924acaa560b8b337ad2cb736dc38d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d042466afa84f574aedc4338882570505dc5a4076429fdf898f8315058c324d1"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c938a103cbad1449aff6fe6f459f4016d98b4988c07859decbf802ecf2f2ecb"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e8dede8c0b0b9e7ef2405f0ec9b4c41b4e48d16e0096f9d6608060f38beffd7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d40b92741b88d1015377492574e15f62b869d1f7cf9d508349a6e6fbd88f5438"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71733d47c7e81ee5afaf49f6f154636f36b8fbeda8d987235bda945a42561d9b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab9f71f3b6fc057622221d8a69cf4aa6105e72c7b0218c77704ed99565e87f86"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73401935c5a9f49bf8e7104355f7a387311fef8017c8790e3b0ab61f5dda515f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5894fc46a11f56ccd63b89fb0564b8f5eb23c4b7f4d9d8a9952d136b397c1d0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce1defa57c43f93df91d92be338f0b4d780ff0e6ef683f3958aaa38b3b4884c8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd392d976834252f89af857bf7d7520a9bdbabe4b2c7d5f8c142bbb757a80824"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ebc3827e7e9432f9c46ed91f0972821eeb5e8626391eff7729f897569e24b090"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eec078d7f4483c10f82a16ee7d7ad61b06b34f3885b16a75198e33b8bc4a9896"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d2ba0ffcf76b6604c5226b3f135fdde2f90e82ed8a25958ae2abd5b137a03cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35d7e2dd83d00d934cc06d5c8ac44a24578c628c5502c06a0d4e332a86725ec7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2538ccbcd1484dc0706240c238dcb7f5a678726b0e7d10f362152bbc12f7cab0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c97a84b7894021ef730a38c80d2ac215882b045128804bb5aa422f12201c56e1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bfc4c7992c9e2664381ff0c23b48908852bead36a6b30a0b1ade42a93b2f6666"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"d7ae53ef9973e268efcf244cb301bae5e263fd041214fc7472facf8a70282691"},"properties":{"dependency":{"package":"adler","version":"1.0.2","advisory":"RUSTSEC-2025-0056","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d6dc665b9c9c621c52bd60342e3f7ac43e5efd1bf06f80ef7f5515c310772e8e"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"41e81b13ef40b29fdfe078e1c6410cc9f032320bfc10e5e2f9887bb1decd667b"},"properties":{"dependency":{"package":"tokio","version":"1.34.0","advisory":"RUSTSEC-2025-0023","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"6df4bd5aeb165131d68297191069e21dca7be60b9458676a895a3f43fe5fc56e"},"properties":{"dependency":{"package":"anyhow","version":"1.0.75","advisory":"RUSTSEC-2026-0190","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"1666c1c293c2dcc7a2d976593300d527cea6dba1276aacb9cb016442b9a36a2b"},"properties":{"dependency":{"package":"tokio","version":"1.34.0","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: reader_screen.dart \u2194 reader_webview.dart: \u0060lib/src/features/reader/presentation/reader_screen.dart\u0060 and \u0060lib/src/features/reader/presentation/reader_webview.dart\u0060 change together 71% of the time (10 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060e29233b3\u0060 refine: Refactor reader theme pipeline to typed color objects, improv\u2026; \u0060755c1c74\u0060 feat: Support images in footnote popups \u0026 improve cover/EPUB parsing \u2026; \u006035c8e43e\u0060 feat: Link handling, style sheet scrollability, and reader fixes (#31) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_screen.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17d9afc9a3d4af00bc071ab69e8cff2bae851dc3d1e74c5dcf11668bbf77a8c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: reader_scripts.dart \u2192 reader_settings.dart, reader_renderer.dart, reader_screen.dart: \u0060lib/src/features/reader/data/reader_scripts.dart\u0060 changes together with 3 other files \u2014 \u0060lib/src/features/reader/domain/reader_settings.dart\u0060, \u0060lib/src/features/reader/presentation/reader_renderer.dart\u0060, \u0060lib/src/features/reader/presentation/reader_screen.dart\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/data/reader_scripts.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb98f5493f4d71286ea6d0d8dc5d60f0ebc3e46b39fc30ffe89f125adf3338c0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: control_panel.dart \u2194 reader_webview.dart: \u0060lib/src/features/reader/presentation/control_panel.dart\u0060 and \u0060lib/src/features/reader/presentation/reader_webview.dart\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006035c8e43e\u0060 feat: Link handling, style sheet scrollability, and reader fixes (#31); \u0060cdfe213d\u0060 feat: Add reader style settings \u2014 font scale, margins, and theme over\u2026; \u0060887d8026\u0060 feat: Add Vertical and RTL Reading Support (#16) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/control_panel.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d0b6b15ced8c3393086cd99c6a12472e89ff53a9d5d8a8f57ac70527b257fc"}},{"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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b9aadceb2e79fcf231d3e3935ad695803989a7254050ccccc937a0b689fb4f0"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9dfea723aca79ee7b0239ad6d65014a87cc3f2110163b947db6dd7b880b435b1"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider readerSettingsNotifierProvider captures autoDispose importedFontFileNamesProvider: \u0060readerSettingsNotifierProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(importedFontFileNamesProvider\u2026)\u0060, which is declared auto-dispose (lib/src/features/fonts/application/imported_font_file_names_provider.dart:10). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060importedFontFileNamesProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060importedFontFileNamesProvider\u0060 keepAlive too, make \u0060readerSettingsNotifierProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/application/reader_settings_notifier.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d373ef0e52634e2f0efd659d0d2928bc072bf7fe24b40fa975036ed475e9e65"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: keepAlive provider externalSourcesNotifierProvider captures autoDispose externalSourceRepositoryProvider: \u0060externalSourcesNotifierProvider\u0060 is a keep-alive Riverpod provider and calls \u0060ref.watch(externalSourceRepositoryProvider\u2026)\u0060, which is declared auto-dispose (lib/src/features/external_sources/data/repositories/external_source_repository_provider.dart:13). The keep-alive provider listens to it for the life of the ProviderContainer, so \u0060externalSourceRepositoryProvider\u0060 is never disposed \u2014 the auto-dispose lifetime it declares never happens, and whatever it holds (a socket, a controller, a stale value) is kept for every later reader. Mark \u0060externalSourceRepositoryProvider\u0060 keepAlive too, make \u0060externalSourcesNotifierProvider\u0060 auto-dispose, or read it per use outside build."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/external_sources/application/external_sources_notifier.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ab513c0e4637b36fd35ebb46958293c36be2b03dd8aaba89f6cb7bdb556f87"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: SpineItem: \u0060SpineItem\u0060 is a data-only domain entity with public mutable state and no invariant-enforcing behaviour of its own, while the repo holds the logic in a foreign service/manager/use-case \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants (or make it an immutable \u0060@freezed\u0060 value object) rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/domain/book_manifest.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7775fdfa0c2ad211cb1521eaf2657e813285a4731515d9bdbfe50bb8623300fe"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: Href: \u0060Href\u0060 is a data-only domain entity with public mutable state and no invariant-enforcing behaviour of its own, while the repo holds the logic in a foreign service/manager/use-case \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants (or make it an immutable \u0060@freezed\u0060 value object) rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/domain/book_manifest.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"30affefaa912c2968a56f8ab5e1f657be3b6ea2eca00f7847a603db51ac26d1a"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: ManifestItem: \u0060ManifestItem\u0060 is a data-only domain entity with public mutable state and no invariant-enforcing behaviour of its own, while the repo holds the logic in a foreign service/manager/use-case \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants (or make it an immutable \u0060@freezed\u0060 value object) rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/domain/book_manifest.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16ce8869e6d7394e7cc625ea5f5cc6f720723a1eda01c73e763fe6a966ec2bc"}},{"ruleId":"DM5","level":"error","message":{"text":"Mutable value-identity entity: Href: \u0060Href\u0060 derives its equality/identity from its own fields (Equatable / an overridden \u0060hashCode\u0060/\u0060==\u0060), so those fields must stay immutable once the object exists \u2014 yet it exposes freely externally-mutable fields (a non-\u0060final\u0060 \u0060var\u0060, no \u0060_private\u0060\u002Bgetter). Mutating a hashed field silently changes the entity\u0027s identity and breaks any hash-keyed collection or equality check. Make the identity-bearing fields immutable (\u0060final\u0060, or \u0060_private\u0060 with a getter and construction-time initialisation), or model it as an immutable \u0060@freezed\u0060 value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/domain/book_manifest.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea98e58347d9629d2429434454c8e518c22bb9da43b66a34b7194590295125b"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060warmUp\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/data/services/epub_stream_service.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e142f399b7bee2e3d877d7f9de94912a03e369409a6e3f2df4d0bc0acd15dd07"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060ios\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 7862 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/flutter_ci.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060web_assets/controller.js/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/package.json"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c17d17802f6056b729e2464d9014d7c9d12f8e41dfa7ca94c76e0184dd3c5b"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_getPrecompiledArtifacts\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/artifacts_provider.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a83dcbc7e505418d2484bc88e3c70e66842e829ea070efbe040e78cdf8fb1c3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_tryDownloadArtifacts\u0060 is async and calls writeAsBytesSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/artifacts_provider.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a228379f9755b5ea21f5d61388291821cdd9c9da6e9f9f1a86d17ba18dc494ce"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls copySync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/build_cmake.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"db82ca80b4cd2c3e1b0430ecbe149073e7883bb496a13983ba5ea4307fd527cc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls createSync, copySync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/build_gradle.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"293cc070a3258bc797e4cd6d82051d5a89ebb79fb3c90436b20bfef889e69206"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/build_pod.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1471f057236d68ddfd7e46939773d501e9ba20b4bf5a277f222181c2451240"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls createSync, readAsBytesSync, deleteSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/precompile_binaries.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89316d25dced32f4ede5d5c269237474264701765182b85b137db2a761baf07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): web_assets/controller.js/renderer/renderer.ts:566 \u00B7 web_assets/controller.js/renderer/renderer.ts:612 \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":"web_assets/controller.js/renderer/renderer.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f254737434238a6f5707ae89dd3a0f07f4441bcac1b057423e55b10d613634"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web_assets/controller.js/renderer/frame_manager.ts:91 \u00B7 web_assets/controller.js/renderer/frame_manager.ts:117 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/frame_manager.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d1255113b772b2b11a4f581ec5967e6e9a4553a0617e21d60d84cc4f27860f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): web_assets/controller.js/renderer/interaction.ts:165 \u00B7 web_assets/controller.js/renderer/interaction.ts:190 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b70248c1962c46e92fdbbd80266e2508c80c05ff316c1ed45e99e780b380912"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web_assets/controller.js/renderer/interaction.ts:211 \u00B7 web_assets/controller.js/renderer/interaction.ts:267 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d211ce64ad7abefc55f85e119fe74fd0c18b9e7f7dbbc082c41a988b439cb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): web_assets/controller.js/renderer/renderer.ts:504 \u00B7 web_assets/controller.js/renderer/theme_manager.ts:147 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/renderer.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"51faf2c14cad7c4c2606862a5461d7ed9aa855a6b5f00f28c191155bb60c73ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): web_assets/controller.js/typ/typ_common.ts:3 \u00B7 web_assets/controller.js/typ/typ_common.ts:8 \u00B7 web_assets/controller.js/typ/typ_common.ts:16 \u00B7 web_assets/controller.js/typ/typ_common.ts:22 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/typ/typ_common.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfa7f62ff04ed0b6e9e97c3e7788c39291fef9ce5c968ceed3620cc626d790a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): web_assets/controller.js/typ/typ_common.ts:73 \u00B7 web_assets/controller.js/typ/typ_common.ts:84 \u00B7 web_assets/controller.js/typ/typ_common.ts:127 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/typ/typ_common.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"22477d3f067c8496f640ff9326cb27f07f07e11f92dabba06c4b041674e3190f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 99): (anonymous) has cyclomatic complexity 54 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c2e8521432806afb2ad1a674f1a45bbf6f25580db52e7bf32c6bc63f30d0a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectActiveAnchor (cyclomatic 20, cognitive 41): detectActiveAnchor has cyclomatic complexity 20 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/pagination.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d14ee2ca40e26f2fb2357179c723a3c3bd68bdd79495bb990b582fb6e8638a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupFullscreenElement (cyclomatic 17, cognitive 26): setupFullscreenElement has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/typ/typ_common.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f7ae379bcbf81d0bd879ce12162c3e11da972d2ec682459644429b40f0d51f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseColorString (cyclomatic 15, cognitive 21): parseColorString has cyclomatic complexity 15 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/common/types.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6174d47b76c6dc99ca7873be3f219ffcf9906e8bb185e743fc48ed15c9acdb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkImageAt (cyclomatic 13, cognitive 23): checkImageAt has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86187afdf3a168b07ef2577b3f7fdd91e780560fc2685fee7a1099d5a41ce39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkElementAtHelper (cyclomatic 13, cognitive 16): checkElementAtHelper has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"37845a9b724359b229cfa5a80d4c921a3d7c5d604c9e2144a57ec84ca4335c0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCenteringStyles (cyclomatic 12, cognitive 12): applyCenteringStyles has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/typ/typ_common.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26f1daa248ff3acb86426da7b77355f8e7aa7146085d9387759ae42333f9711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFootnoteHtml (cyclomatic 12, cognitive 11): extractFootnoteHtml has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"18df7086a352dfc07c1968118a56e7ec43930d5d232755a140b34d82b7595c01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function polyfillCss (cyclomatic 11, cognitive 15): polyfillCss has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/css_polyfill.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1c43bbae342ff6aeb4caccd0a1a05b2db7f07dcc857365784a236bcf525d2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadFrame (cyclomatic 11, cognitive 12): loadFrame has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/renderer.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c871457b454d2bb95a4faaa3b63d1b4e24b447838404981d2f23e9198d6dfc"}},{"ruleId":"R3","level":"warning","message":{"text":"web_assets/controller.js/renderer/renderer.ts: 565 lines of code: web_assets/controller.js/renderer/renderer.ts has 565 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/renderer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8c3fd9dcc0dbb36af993392bac8e2c0824e21b383b85255a25ff4031a6667d"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027frameMgr\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/css_polyfill.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f035fdf60d9a5f5204ae5b4353b65bf9884dedc48732527ffba6819ef58be6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027state\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/resource_manager.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"366cf4bcf535b2cf52d05a9f7d84900c3e7773fe9c476902f66810bb2fac5f9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_isCompleted || (_totalCount \u003E 0 \u0026\u0026 _currentCount == _totalCount)\u0060 appears character-identically in 3 files \u2014 lib/src/features/backup/presentation/widgets/restore_progress_dialog.dart, lib/src/features/library/presentation/shared_epub_handler.dart, lib/src/features/library/presentation/widgets/import_progress_dialog.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/backup/presentation/widgets/restore_progress_dialog.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5835d1af5cc2e8d33498763568b2c3760f31b6bb4c1e4451000c8d63e4a08c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lowerPath.endsWith(\u0027.jpg\u0027) || lowerPath.endsWith(\u0027.jpeg\u0027) || lowerPath.endsWith(\u0027.png\u0027) || lowerPath.endsWith(\u0027.webp\u0027)\u0060 appears character-identically in 2 files \u2014 lib/src/core/widgets/book_cover.dart, lib/src/features/library/data/parsers/epub_zip_parser.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/widgets/book_cover.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e28decd95969ee7a984b40cb47f04a31c448352ae18a4d66e3ca8b2b6f2ead"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response != null \u0026\u0026 response.data != null\u0060 appears character-identically in 2 files \u2014 lib/src/features/reader/presentation/image_viewer.dart, lib/src/features/reader/presentation/widgets/footnote_popup_overlay.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/image_viewer.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f4850868ca272a7b6c5063d38a7074af44fd30564b6148235d90a400c5ffd3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060widget.isLoading || !widget.shouldShowWebView\u0060 appears character-identically in 2 files \u2014 lib/src/features/reader/presentation/reader_renderer.dart, lib/src/features/reader/presentation/reader_webview.dart. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/reader_renderer.dart"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d098e10beb0aad4822e3cddbbcf24e8253bf7bbc3639af00d15b2d727d0588"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!iframe || !iframe.contentDocument || !iframe.contentWindow\u0060 appears character-identically in 2 files \u2014 web_assets/controller.js/renderer/renderer.ts, web_assets/controller.js/renderer/theme_manager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/renderer.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"503ebb18b249bc65be6825af967ddc93e5c2e2c6649996540599cf0667baeff1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!iframe || !iframe.contentWindow || !iframe.contentDocument\u0060 appears character-identically in 2 files \u2014 web_assets/controller.js/renderer/frame_manager.ts, web_assets/controller.js/renderer/pagination.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/frame_manager.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"032d21829bb84db2dc1146518a04618d430c13084728d5fb0630c5cd18bfbb60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!iframe.contentDocument \u0026\u0026 !iframe.contentWindow\u0060 appears character-identically in 3 files \u2014 web_assets/controller.js/typ/duokan_typ.ts, web_assets/controller.js/typ/rendition_typ.ts, web_assets/controller.js/typ/typ_common.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/typ/duokan_typ.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f98773948f3dadff1ec9b48a11f69d467bdfa484732a4abb067a9b287ab385"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060finer\u0060 at line 109 is called with an argument built by \u0060arguments.join(\u0027\u2026\u0027)\u0060 (line 109), whose cost grows with the collection it walks. Dart evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because finer is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLoggable\u0060 test, no \u0060kDebugMode\u0060 or debug flag, no \u0060assert\u0060, no closure the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust_builder/cargokit/build_tool/lib/src/util.dart"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd62326b7a6312f6bd0132d42d8bb0e41d2541cf0ad7c93565c183a55bc1d64"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060altText\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the text of an element of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060altText\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3af8ab59ddc1714c10eb93ee9f7870b10874d3378b87b0ab6cdb6f71652db2"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060altText\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the text of an element of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060altText\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7f59e0342c71965174b024891e9ceecb21491da336f0ce7abf42902fadce39"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060link.getAttribute(\u0027title\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the text of an element of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060link.getAttribute(\u0027title\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/interaction.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe5fa04ab5674076b0849582d8a60bc7d43e43c3ea50effbe06cbf7e7de5146"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060json text\u0060 is text this program did not author, and it is written into the text of an element through Handlebars\u0027 raw \u0060{{{ }}}\u0060 output with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust/about.hbs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"19704f17d60fb40fa5444c08ae1c7e2d8cd5b413d53039abbb94545579e567ea"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.generateVariableStyle()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/theme_manager.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1921c48f255248ddc4d4d92e63543a071783c648e2a32838a3acb3f3d1f002ef"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.generateVariableStyle()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/theme_manager.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"db385a3c54d9c898638f9763b3997121d7983e225dcbcb7a1141ed338f9341b1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.generateVariableStyle()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/theme_manager.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cc20ef2733e4ea8a7d40771fd27178a4303ec766dd182ac907ead8b1557f40"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.state.config.paginationCss\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/theme_manager.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab3a3aeab6dd96bb8be4068b3a4d5fc90840f0adc18d6f62796e4c8996816bc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.state.config.paginationCss\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web_assets/controller.js/renderer/theme_manager.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"54131b407ee17b939fda97e5c4af9ab38c9b08348f447ac4994928285132bffe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/reader/presentation/widgets/reader_status_bar.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a580bc8d2a79ea131c389217e7976d90d73b7e4867cbdd238190a25c16cb0577"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c10914f28e2e51cc5424c092cb1bcc9327541692fbd518db9616f030a8d2320"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0e46f86aca9a991fdf1e37dc2294d3d147aabed831f40510f1fe74078acf6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/src/features/library/application/bookshelf_notifier.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a9888793371ae145c907fae07d61e5512d5d95056da0a3d7ff2bcfee6dceee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/src/features/library/application/bookshelf_notifier.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2803061015faa70c0772c94617790abbe1fc771696112567f318035d95d70b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/src/features/library/application/bookshelf_notifier.dart"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"138c085650540ef428d35ea961416af1bc9ffde6b066d255f834ecb7f16b88f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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/src/features/library/application/bookshelf_notifier.dart"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c21296a6792517d6075388be617ce5f63aee4fa5757f17a6629758da0bfa5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/fonts/application/font_manager_notifier.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53600d0297f8180abf68cb12be95f8a54a7e24611f75d5ef6e795379b36c2b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/services/storage_cleanup_service.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df13052c408498f4538462eb96902c03c6476b25f0937c01c096a5222f3bc69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/providers/cover_file_provider.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc6c44ea862824743cd0cda351be93c3a17692a682492fb092de9020448a5cc"}},{"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":"android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2fa8ae6f028403a831ba82b2aac92f7d017fc8cd1778f388627698e7308ab3"}},{"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":"android/app/src/main/kotlin/com/lumina/epub_ereader/NativePickerPlugin.kt"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fe847e2ef1d954915ef207913939babc6e651b03fbf6a0507a22b25dc2209a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_importedFontFileNames\u0060 turns every thrown error into \u0060{}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. 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 at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/core/services/storage_cleanup_service.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb5f8057d2b10011bf51f19736a05caff92813254f3061cfc57c87555bf60cb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060build\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. 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 at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/fonts/application/font_manager_notifier.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5068b93defe26d41a33adcf6841a0e61dd3d7fe9d5873a36a68f2bb14346528"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_parseNcx\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. 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 at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c24fd9868ed1668d16e89ea234e9df468d51643b6ceff100aa3ba3ed86fdb1c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_parseNav\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or rethrow it. 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 at the \u0060catch\u0060 or in the \u0060///\u0060 doc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/src/features/library/data/parsers/epub_zip_parser.dart"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"f398cc55c4e6835b4f74e143e4b436b957a08d383e0cde1d40cacc2921145d06"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-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-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":36,"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."]}]}