{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"BookmarksDao.bookmarksFtsQuery (cyclomatic 26): BookmarksDao.bookmarksFtsQuery has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cad108dc67c30ae3d4620a162d22b417d8ce44b6e61f1c4b98241bc4286c3b"}},{"ruleId":"D1","level":"warning","message":{"text":"BookmarksDao.bookmarksNoFtsQuery (cyclomatic 26): BookmarksDao.bookmarksNoFtsQuery has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"908c3d8af11fe5fced0a7389a31d590a0070463045f28cef55176637980223b0"}},{"ruleId":"D1","level":"warning","message":{"text":"PostsDao.postFtsQuery (cyclomatic 23): PostsDao.postFtsQuery has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd645b86327fc7d585d6d2ee91edf03c1713dc53cf758b92f65ecf49d1530ae3"}},{"ruleId":"D1","level":"warning","message":{"text":"PostsDao.postNoFtsQuery (cyclomatic 23): PostsDao.postNoFtsQuery has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"29aabfc91964243f83b151c346149303f074cc6d4b834307a6e8cf592a0f8898"}},{"ruleId":"D1","level":"warning","message":{"text":"UserPreferencesScreenKt.AppPreferencesContent (cyclomatic 23): UserPreferencesScreenKt.AppPreferencesContent has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesScreen.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e618460c33a65ec8ac5e2924e15de4efe116914072b0412d68235c226a09a53f"}},{"ruleId":"D2","level":"warning","message":{"text":"BookmarksDao.bookmarksFtsQuery (cognitive 26): BookmarksDao.bookmarksFtsQuery has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 2, match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b2cf5efc4e0f19fd332bf8b1be4d767057317d2e6c4a28ee6bc069981855a3"}},{"ruleId":"D2","level":"warning","message":{"text":"BookmarksDao.bookmarksNoFtsQuery (cognitive 25): BookmarksDao.bookmarksNoFtsQuery has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 2, match/switch 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc4d54de00eb5b5c38ae33e4866881bf4143ef48d6562561258cb8bd3c3721b"}},{"ruleId":"D2","level":"warning","message":{"text":"PostsDao.postFtsQuery (cognitive 24): PostsDao.postFtsQuery has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 2, match/switch 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1068c334f9cd628809bc2fea2c0409e6155c280ec9ec0f4655e01868a46600f6"}},{"ruleId":"D2","level":"warning","message":{"text":"PostsDao.postNoFtsQuery (cognitive 23): PostsDao.postNoFtsQuery has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 2, match/switch 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"18582c96843e0178bce2ec1914d40a9ff8f17773d93ebc6f453bbb945311c83e"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthScreenKt.AuthScreen (cognitive 18): AuthScreenKt.AuthScreen has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17 (18 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AuthScreen.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6736c7889a3653acaa376650c810d8aafbc374d11ff9efd8eab4ad27b5b837e0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.deleteAllBookmarks: MethodTooLong \u2014 deleteAllBookmarks runs 293 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 193 over it, 2.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7854ff16ac59b3abe1ac019e2dcdeca1dd8e2b5a6657ee2e0119f9fbd797ad24"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.deleteSyncedBookmarks: MethodTooLong \u2014 deleteSyncedBookmarks runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71cfaf60ecbe1971ca56b9229c57a48bb35c8c7f27f3b73bcc37f32bd7ed39c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.deleteBookmark: MethodTooLong \u2014 deleteBookmark runs 289 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 189 over it, 2.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6761590df573c8c0fd262522a699fec24bdb190697ff15123e5675a3853a002"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.saveBookmarks: MethodTooLong \u2014 saveBookmarks runs 287 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 187 over it, 2.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f597f670b5f5c41be1997a3150b8589272ab70a3183ae92c3abcaffd9a10b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.getBookmarkCount: MethodTooLong \u2014 getBookmarkCount runs 285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0af615a5fb34fdacace6edf87a1c87d7fc6bfdd0c49edeb72ab0b5be456a274"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.getAllBookmarks: MethodTooLong \u2014 getAllBookmarks runs 283 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 183 over it, 2.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe4b93a73bf425450e423a96f7f2ed84a26a777a3ee5e70b257c7f21a669006"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.searchExistingBookmarkTags: MethodTooLong \u2014 searchExistingBookmarkTags runs 281 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 181 over it, 2.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd5cfb41b8e189d1ba4b87a5fcfec5e9a988798db8af2f879b0169be1d5498b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.getBookmark: MethodTooLong \u2014 getBookmark runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"642df80f4c2a62e8a5a970ee193069d2cea3d91c5793586a05e258af9f885126"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.getAllBookmarkTags: MethodTooLong \u2014 getAllBookmarkTags runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a00f3b9d78c5ebe26a5e9820d9682ca3f8c37ee46bcbb00e1161b067118786"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.getPendingSyncBookmarks: MethodTooLong \u2014 getPendingSyncBookmarks runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57861cc0c7261a21642245ff17c96ee67df41a5bae11afe131d439fe10683e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.deleteAllPosts: MethodTooLong \u2014 deleteAllPosts runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"880acf70fbcd6793b01c77bc62d6dd5a32720decd717bb53a83f4afb3357efb4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarksDao.deletePendingSyncBookmark: MethodTooLong \u2014 deletePendingSyncBookmark runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffcdcdb856054e7dc273acca0f5a8b175eb6409ed5c62f2a42961552669ffb5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.deleteAllSyncedPosts: MethodTooLong \u2014 deleteAllSyncedPosts runs 272 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 172 over it, 2.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":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f404dc38331dab1efe494fc9c9bf6985ea014ad011a377826dfbd4d48bd1d12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.deletePost: MethodTooLong \u2014 deletePost runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e38d0de8ed7cbb65f75a7b47e967cfe5210ba0ed5bf8267a7261444de8c466"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.savePosts: MethodTooLong \u2014 savePosts runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec4e01050f04843986b196e3878875da0107347b8afedcc4b5e8161ea0d08b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.getPostCount: MethodTooLong \u2014 getPostCount runs 266 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e527eca37c52770e750e8e33a066163c499fea4eb81c8fab0d4843760d2140c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.getAllPosts: MethodTooLong \u2014 getAllPosts runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4ee2dd9a537ae833390010c92c2f3de6e6c35690af5844bbb586bf197fb0b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.searchExistingPostTag: MethodTooLong \u2014 searchExistingPostTag runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"171783690700499ee0174b4bd430559ff634cf4d9d5e092d431b9537a03f5aa0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.getPost: MethodTooLong \u2014 getPost runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5617e140c020be47fa0a6d88965756bcd60feebf25a4e1c76cd53a9ebb189e2a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.getAllPostTags: MethodTooLong \u2014 getAllPostTags runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33d89133729f5723b6106819743d44e9e71e35652461bbb7edf736dae7356b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.getPendingSyncPosts: MethodTooLong \u2014 getPendingSyncPosts runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"118436eb6906ac32e18b1ad8fe52f0004c0bf4511a2849c06b7f115237f54303"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostsDao.deletePendingSyncPost: MethodTooLong \u2014 deletePendingSyncPost runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ee0bdd66adac93a97113079547ff0e936d0898dec6f9be5e8f83983863aec0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UserPreferencesScreenKt.AppPreferencesContent: MethodTooLong \u2014 AppPreferencesContent runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesScreen.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"568301e25fdef2c01179249985e5d975bfa86b7de0f9bca3e95256a570aa771c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/BookmarkListScreen.kt: FileTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 308 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkListScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd635bd5b63376714d16693a621fea6395976d373356da81a6d80a4725a7364"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthScreenKt.AuthScreen: MethodTooLong \u2014 AuthScreen runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AuthScreen.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ae18e5938130fe50d88efb276aa413a0318a31ded72732eb2c11948b1b807a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/UserPreferencesScreen.kt: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 244 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a69b487fe49d8457bfe9b0337ef7c819b0538bc146112f991a584bcf91f640"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: main/MainScreen.kt: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 87 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/main/MainScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9f15e163e8852f633cfb8418516ee546f40724c6486cc7796630d1e0f5c2f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarkListScreenKt.BookmarkListScreen: MethodTooLong \u2014 BookmarkListScreen 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":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkListScreen.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c244b8c4f3b58370aaaeb6ce51378a3ef912d5077424eacf4cf55d1827254b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BookmarkListScreenKt.BookmarkItem: MethodTooLong \u2014 BookmarkItem runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkListScreen.kt"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efcdf3f596cc769a6f68b589f8413fc3d377c5ce62b570f382c3b7c421e9b5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/EditBookmarkScreen.kt: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/EditBookmarkScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b137e5e29e6e61a8242fddecaf777815d647ba4fd0efc191b1ba84ffee82a1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt:179-235 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt:415-471 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"900aa4d1f2b7c32dbdb4010a9a1730671e8c5b1dd32f219463e5f72b8642b3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:250-271 | app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:275-296 | app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:300-322 | app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:326-348 | app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:352-373 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af0b5f212b84d43f0e9f4b55f11c8ad3344fc8739c8cfae60a3c7ea548d6530"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:126-220 | app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:315-410 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt:123-213 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt:303-391 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2bd7c5d9bd1167a7247ac46884960639f19ea0fdfe39342732fd5445af0622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt:181-231 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt:417-467 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt:181\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7503b0f89a03f31dcffc319f7dbc1a1a4226f6e2f373b29d09b326e4a7fba4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:150-196 | app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:343-389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:150\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"213fdfccd8d40ece4373c58822d62eaeb920d6c0be1702e83ed96e13db09a863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt:147-189 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt:328-370 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt:147\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4685ae7d2be3bd8b109051b9726a98af34fb6d1a1b661abecdebfd48ae3fd08e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt:132-164 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt:367-399 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc5059b61fbc029481592d24b01eb0f0d65518b0a89a2b1d634663516733e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:189-220 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt:182-213 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:189\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"343f785fbd6d5136d2fbc42436a21243cc1b48d4482338c8f97271a1abc0d95b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:382-410 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt:363-391 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:382\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f8886c52d446198f06af2edccd3270483bd4d7d0abc1c8e75b52e3d1542998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt:246-269 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt:485-508 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt:246\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b95b19705794e16aafdfa7203c91622c8f889f3610e31d7201eb4da8c843b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkDetailsScreen.kt:225-247 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkListScreen.kt:366-388 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkDetailsScreen.kt:225\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkDetailsScreen.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a459ad94aa57c4f239ae840b534cb902ad4528323322676718e83a916db0ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/offline/presentation/OfflineCopyWebView.kt:118-137 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkDetailsScreen.kt:424-443 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/offline/presentation/OfflineCopyWebView.kt:118\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/offline/presentation/OfflineCopyWebView.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7980fb6e91a14b0bc7d6106874d742a191b6622f0bf595116a12a66148c0e0d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:146-164 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt:143-161 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:146\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1891feac36cb985283c92ede93e3569eb1e0d308b4e28f7e331e50119ed3a5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:324-340 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt:309-325 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:324\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"df12092ac86dc634226d6cf56c62e10346be09949d62ddb647c89048676a2414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:257-271 | app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:282-296 | app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:308-322 | app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:334-348 | app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:359-373 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt:257\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/AccountSwitcherScreen.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33c3533907eda7b39b9593e1953076e5194262b5f8a63c1481a6a5acebf622a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkDetailsScreen.kt:253-266 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkListScreen.kt:391-404 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkDetailsScreen.kt:253\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkDetailsScreen.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93029ccf22d7969e72292cde292f70d955f58ef13408c2f20ad9e9f373ecd75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/PostsDataSourceLinkdingApi.kt:510-521 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt:264-275 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt:503-514 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/PostsDataSourceLinkdingApi.kt:510\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/PostsDataSourceLinkdingApi.kt"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"283e9735559f777b616c6391e5936c11b958de0171c93368eb40ddd114c4fcd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/PostsDataSourceLinkdingApi.kt:389-398 | app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/PostsDataSourceLinkdingApi.kt:453-462 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/PostsDataSourceLinkdingApi.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ada3c1f4402fecd5b089286f50bdb91491b3675c1b95aa1dec6d55a4896a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/SearchBookmarksScreen.kt:165-174 | app/src/main/kotlin/com/fibelatti/pinboard/features/tags/presentation/TagList.kt:118-127 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/SearchBookmarksScreen.kt:165\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/tags/presentation/TagList.kt:116\u0060 calls \u0060background\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/SearchBookmarksScreen.kt:163\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/SearchBookmarksScreen.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"22540cd77cbcf7dd53426a25e26f1305d5d7aae6c095a126d29e9ca677fef691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ui/src/main/java/com/fibelatti/ui/components/ButtonToggleGroup.kt:72-81 | ui/src/main/java/com/fibelatti/ui/components/ButtonToggleGroup.kt:125-134 \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 \u0060ui/src/main/java/com/fibelatti/ui/components/ButtonToggleGroup.kt:72\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/main/java/com/fibelatti/ui/components/ButtonToggleGroup.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e415b2cd1fb54792f7f4bd3e87f967c616f709dd4e0f365af5cea41ee5c6c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/notes/presentation/NoteListScreen.kt:151-159 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkListScreen.kt:487-495 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/notes/presentation/NoteListScreen.kt:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/notes/presentation/NoteListScreen.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0439c3300d4bdfcf9f50436730e85e16df7b1fa7ddd0ffd0bb30ef90350330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ui/src/main/java/com/fibelatti/ui/components/ChipGroup.kt:187-195 | ui/src/main/java/com/fibelatti/ui/components/ChipGroup.kt:210-218 \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 \u0060ui/src/main/java/com/fibelatti/ui/components/ChipGroup.kt:187\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":"ui/src/main/java/com/fibelatti/ui/components/ChipGroup.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9751bcb565fdb18eb0cd3007546cf530f639086196de8d984b26226afaf1ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/TagsDataSourceLinkdingApi.kt:35-42 | app/src/main/kotlin/com/fibelatti/pinboard/features/tags/data/TagsDataSourceNoApi.kt:27-34 | app/src/main/kotlin/com/fibelatti/pinboard/features/tags/data/TagsDataSourcePinboardApi.kt:36-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/TagsDataSourceLinkdingApi.kt:35\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/TagsDataSourceLinkdingApi.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"807b45e932f902dfc8fcadef695861a42e2fec1a2c1bc1dd9db59b183605ccbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:127-134 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt:124-131 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a96030b31d59670889e71bad119556aebc4dffddeac34263139a0ee46feeda1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt:108-119 | app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt:343-354 \u2014 before extracting anything, compare \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt:108\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc958a63b167638e9187b3c86fc384b9a323bc21e8088f227f2b56c5188372b3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Pinkt:core-android: Pinkt:core-android: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"79fc08083a6010626a33e291d9336c42bf3ff741912408b75af07c69bd506380"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Pinkt:ui: Pinkt:ui: abstractness 0.13, instability 0.00, distance 0.87 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c63e39c3cbd4beb31f57b954989f40c9a00a38fbf6a07304059668231fb86136"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MainViewModel (LCOM4 5): MainViewModel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/main/MainViewModel.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef30ad6303f2ce611f4246c0e8dbf987cac38327be6daa3c7218e81426af0707"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkListScreen.kt: app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkListScreen.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in BookmarkListScreenKt.BookmarkItem at line 590. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:58:24 \u002B00:00\u0027 --until=\u00272026-11-06 20:58:24 \u002B00:00\u0027 --full-history --no-merges -- app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkListScreen.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/BookmarkListScreen.kt"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8c4ddbf4ef668bd08181056ebd1e593173902bdeaf36b80f94ba135c6e2936"}},{"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":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 6.0/10. The most over is \u0060app\u0060 (24288 LoC, 621 module-visible types across 52 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":"4926d927242ce9cc63e82c742d4295e9e99248d09746658cb7afae74a1e6d0cf"},"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":"a04ed9cdbb7c9c8c8e35bcc667f07132587a82efe22c7e4ced92b9550fa2c5bd"},"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"057761e67dd3b58c838176a002d7c66c33d579bf58897409d013aa08f95a9ed9"},"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":"74f3284c92fdbffc295a80b2a8ff2c2e1b22de5dae95e3cc3fcfa48cac8368fd"},"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":"f15bc010e124f68b2fbb5906affdec91e329fee272bdbad9ede111c7996ff4a8"},"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":"230b4c9199bbf86c16eb5213bf2cfd5ef56278d6a2a198ead45527533a53a910"},"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":"d6d2e6d788d90ab39d1a71b5c75decfa089f359c4d76d12f7211e0cbe74b2a4d"},"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":"64dfa14499beb6831773572590ea9202ccd1c53faaa80e4d43f904947b6e6752"},"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":"6c18190776581333078608351ee8651eec549d0760040b242b5a307628616a02"},"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":"5db1f67220c254b7eec75b35bab6bd16de5633da714695ec3cb9821389457000"},"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":"51ffef7c6bfe24b3c2840230b46e5d1d4d6bbc61e3f55b7c4cdb2e203978eacd"},"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":"b5a5b608daa1c661d8e92de34e0d637c617703213909fe1f6b5e0f6a8235cd9a"},"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":"26daf87671ae63f7d06bcb697114c9f709876541c899a849e60199a011667abf"},"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":"4fb4465e75ba0c359d541fd343d1ae960633f20341bf803775df786a46bd1b7c"},"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":"e49905ddea71fffd5867f206e963df404c8e3c5da8756947974d80ac932ebd29"},"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":"1da647d72cec8df1869f252120deaf0766c0d7b7f5e983526e05afa4601dd44f"},"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":"9526bc41d0ddf1ce2f5fb76f18d7d1bd8a3cf7bb51d5868e0f030b65fe465230"},"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":"1c00067f8d4d0edbe99c7cc0ff318f70b5d76f2533a0228a44d77f74528d0ac0"},"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":"8a942ae2d69787d271165ab69b9bfea470923c39d63070708738d9b3637a7db5"},"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":"5f1c2f8378deba7d0ce9bc80b318550bb6065b694265f35876c37cf2ddda029d"},"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":"014e11ecb4b0d2f742036581d013ff3df34c4b3cd103cfc5a0718de8d07030b0"},"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":"9894a449bc5942fb71650939b8cc0fff32aba247df5184541aebd5e3534428f6"},"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":"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":"db367420daa13958a89aa4399428c2fc4565096c7ca6218872c40c64d80123cb"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73f5db9b4f835a2204282f1d5421f1334055663016ffaa11cb90b698f8854f22"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02a3041dde6dfad73221dab411fc9d732309c4feaf8f352ee67a5ffae591061d"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b70dadcb882bb4c40e49cb0bffd8b9a1f011261a0ac3c0e01ff57177e9b802c3"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: UserSharedPreferences.kt \u2192 UserPreferences.kt, UserRepository.kt, UserPreferencesProvider.kt, UserPreferencesViewModel.kt: \u0060app/src/main/kotlin/com/fibelatti/pinboard/core/persistence/UserSharedPreferences.kt\u0060 changes together with 4 other files \u2014 \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/domain/UserPreferences.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/domain/UserRepository.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesProvider.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesViewModel.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/core/persistence/UserSharedPreferences.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a380a6be5f0092ef1676a8e426c920370ab0d08e78be6a5db7dc1bf5baae17f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: UserDataSource.kt \u2192 Login.kt, UserPreferencesProvider.kt, UserPreferencesViewModel.kt: \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/data/UserDataSource.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/domain/Login.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesProvider.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesViewModel.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/user/data/UserDataSource.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6653bd1cb11a426da4e3a3be628e810754c4687fd2c1a7c84f3b3cb2e2eb89b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: UserPreferencesProvider.kt \u2194 UserPreferencesViewModel.kt: \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesProvider.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesViewModel.kt\u0060 change together 100% of the time (14 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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060aa4b0ba8\u0060 Add option to save shared URLs in the background; \u00606f4683fc\u0060 Stop forcibly sorting tags; Preserve their entering order; \u0060abb4cf4e\u0060 Add new preference to disable split nav \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"186d88d01c1c51ca9eb641fc7df3f2b55d71387edcd61da0ddb064b66c8a0147"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: GetRecentPosts.kt \u2192 Action.kt, PostsDataSourceNoApi.kt, PostsDataSourcePinboardApi.kt: \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/domain/usecase/GetRecentPosts.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/appstate/Action.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/domain/usecase/GetRecentPosts.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fb26b263eb7d13d0e0e084a4a989ec88159eb2bfee51cb8f00e480c2040413"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: GetAllPosts.kt \u2192 Action.kt, PostsDataSourceNoApi.kt, PostsDataSourcePinboardApi.kt: \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/domain/usecase/GetAllPosts.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/appstate/Action.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/domain/usecase/GetAllPosts.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7528a5424b6b132d564c9b804fedf577d87ea2b373765e81276edabe762470f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: UserRepository.kt \u2194 UserPreferencesProvider.kt: \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/domain/UserRepository.kt\u0060 and \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/user/presentation/UserPreferencesProvider.kt\u0060 change together 93% of the time (13 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 \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060aa4b0ba8\u0060 Add option to save shared URLs in the background; \u00606f4683fc\u0060 Stop forcibly sorting tags; Preserve their entering order; \u0060abb4cf4e\u0060 Add new preference to disable split nav \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/user/domain/UserRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9769c8ee105ade0c2ff68c245f8f84872e9fcb35a511826e5321d96014a03566"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: BookmarksDao.kt \u2192 PostsDao.kt, PostsDataSourceNoApi.kt, PostsDataSourcePinboardApi.kt: \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDao.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt\u0060, \u0060app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarksDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7e31b1c40e8530fa16001cbd2e13a406341d7e37bb4ed7e0119d24452080eb"}},{"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":"af2f27012f260898cc861166376fc91b22763ae5af78d1c53df39b6523d691d3"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: UnauthorizedPluginProvider: \u0060UnauthorizedPluginProvider\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (enabledAppModes; e.g. \u0060enabledAppModes\u0060 in \u0060enable\u0060 at line 43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/core/network/UnauthorizedPluginProvider.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d1c3bbddf7b1398e6f0a08b49139ce5ccc9633e197d4ff8ee730188bf93415"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SavedFilterDto: \u0060SavedFilterDto\u0060\u0027s public constructor takes \u0060term\u0060, \u0060tags\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SavedFilterDto\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/filters/data/SavedFilterDto.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d5bd78a8c831e6fcbbe44edc5c939d5c5388bc1d43da4a95ae54ab8c664456"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookmarkLocal: \u0060BookmarkLocal\u0060\u0027s public constructor takes \u0060id\u0060, \u0060url\u0060, \u0060title\u0060, \u0060description\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookmarkLocal\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarkLocal.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0558ec9bd49b9c201cd3339a7cb9caddd9f8869a697e63bf2ab15aff7e567e6"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: BookmarkLocalFts: \u0060BookmarkLocalFts\u0060\u0027s public constructor takes \u0060url\u0060, \u0060title\u0060, \u0060description\u0060, \u0060notes\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060BookmarkLocalFts\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarkLocalFts.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4656b87b345ce2d0bde372d526913a1f6476d43969ec67428d132f3de62c460e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: OfflineCopyDto: \u0060OfflineCopyDto\u0060\u0027s public constructor takes \u0060bookmarkId\u0060, \u0060appMode\u0060, \u0060url\u0060, \u0060title\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060OfflineCopyDto\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/offline/data/OfflineCopyDto.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"89327bb196b6858f11163856a713fcc9f89ca88fc01b82f67a24ea815c72303a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PostDto: \u0060PostDto\u0060\u0027s public constructor takes \u0060href\u0060, \u0060description\u0060, \u0060extended\u0060, \u0060hash\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PostDto\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/model/PostDto.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfd4e2fc50f76fb59aa93be62175e04768946c23078efa58a155efc7531a94b"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: PostDtoFts: \u0060PostDtoFts\u0060\u0027s public constructor takes \u0060href\u0060, \u0060description\u0060, \u0060extended\u0060, \u0060tags\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060PostDtoFts\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/model/PostDtoFts.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0214c4207c8e105ffdf4318d1f593a4ef0135f9b3d78a7871032678915c8a3"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookmarkLocal: \u0060BookmarkLocal\u0060 is an aggregate/entity with 15 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarkLocal.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e11c2c0e499e7a081c5bc0a6efea15cecd12695e1dbf6a7fd44e31c64da87db"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BookmarkLocalFts: \u0060BookmarkLocalFts\u0060 is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/BookmarkLocalFts.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d5f585ec6dffe77a222fabd13b23fa579025ab2baeef99a2675a9d8b75d810"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PostDtoFts: \u0060PostDtoFts\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/model/PostDtoFts.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"23edd547b43323e8229ae565dd57974ee93ba8f46f0988a0f3717ef902ce77ed"}},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connectivityInfoProvider.isConnected() \u0026\u0026 PendingSync.ADD != post.pendingSync\u0060 appears character-identically in 2 files \u2014 app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/PostsDataSourceLinkdingApi.kt, app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/PostsDataSourceLinkdingApi.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5bfca02a8eb1a0b5de56abb96473f9dde5a8becc40c6a7f7a105aea3e2671a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.startsWith(tag, ignoreCase = true) \u0026\u0026 it !in tagNames\u0060 appears character-identically in 3 files \u2014 app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/PostsDataSourceLinkdingApi.kt, app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourceNoApi.kt, app/src/main/kotlin/com/fibelatti/pinboard/features/posts/data/PostsDataSourcePinboardApi.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/linkding/data/PostsDataSourceLinkdingApi.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee8a1ff19506d799413deaedaa8153ac520d7543b31cde2aa9e2e4984661ddd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/features/export/ExportBookmarksUseCase.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b4d489e8b451bc7c4ff08cd6d47d28786b6038fc1c538a21624dcb4127e7ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/core/util/DateFormatter.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a5af06e6f98a6b562c1e6c175614630a80cb85cac31c9548bf5688609d1610"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/core/util/DateFormatter.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"685b1fe855f443770b56e1a392d7e4b2b078af95a3f2d12f9a952642f534775e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/core/network/SkipBadElementsListSerializer.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23a517b2a08bd4a2ea7b826775bd906497bec33a8bdbf8dfbef519274365d4c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060dataFormatToEpoch\u0060 swallows every exception into \u0060-1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/kotlin/com/fibelatti/pinboard/core/util/DateFormatter.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae205428d29f89a7a694c1dc0e84e0a14c90d449329dad067168db41f8a982d5"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-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-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"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-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":31,"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."]}]}