{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"MultiWorkspaceBspServer.handleTest (cyclomatic 107): MultiWorkspaceBspServer.handleTest has cyclomatic complexity 107 (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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e29baf9cac4fbfa30c4560595416c11e524ab6643bfe6c0b486b6b632ffe52"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskDag.executor (cyclomatic 106): TaskDag.executor has cyclomatic complexity 106 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/TaskDag.scala"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fd689b49ff19b02a3f8271b11d240ef78a2d475f1f541cf4a380ed69c5d108"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildStateReducer.reduce (cyclomatic 88): BuildStateReducer.reduce has cyclomatic complexity 88 (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":"bleep-core/src/scala/bleep/testing/BuildState.scala"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d7197ddaea2e286630201e151b94c521e1c36fa6d223ee0ebcbddc05605a13"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerMetrics.generateHtml (cyclomatic 87): ServerMetrics.generateHtml has cyclomatic complexity 87 (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":"bleep-cli/src/scala/bleep/commands/ServerMetrics.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1808327a67c3611fdf5bdfc223334803b2fc539ed6d190da08d2d62127ade69b"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildDisplayImpl.printSideEffects (cyclomatic 75): BuildDisplayImpl.printSideEffects has cyclomatic complexity 75 (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":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f7ff10d1f53f01ca28b1d022153b80a7464c9c76fd1afc5c0187bff0113822"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactiveBsp.runWithBleepBsp (cyclomatic 73): ReactiveBsp.runWithBleepBsp has cyclomatic complexity 73 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d015e2eca344e8a10294fb83449126e03450e570b9027887f58adbdc25c3a18"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildSummary.formatSummary (cyclomatic 71): BuildSummary.formatSummary has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dfe930d7a0099e330c29fffdd22adc87b74693d09d2403d298b05e63f3ef8c"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportMaven.run (cyclomatic 67): ExportMaven.run has cyclomatic complexity 67 (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":"scripts/src/scala/bleep/scripts/ExportMaven.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f14cb17cb47069d11cc4a77aece8c7a86b9ca2a13cce3fa8682c22f4050a41d"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiWorkspaceBspServer.consumeEvents (cyclomatic 56): MultiWorkspaceBspServer.consumeEvents has cyclomatic complexity 56 (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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":4490}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e39d8252836138cf2fe70bc3abe276e9c17877e3870645f1348f7d34f96e07"}},{"ruleId":"D1","level":"warning","message":{"text":"ResolveProjects.resolveProject (cyclomatic 56): ResolveProjects.resolveProject has cyclomatic complexity 56 (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":"bleep-core/src/scala/bleep/ResolveProjects.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e109103a8d17c330eb5df581da9f18be32dc71cd07cbec3db680fcb75e79861"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiWorkspaceBspServer.handleCompile (cyclomatic 51): MultiWorkspaceBspServer.handleCompile has cyclomatic complexity 51 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b70b8f4fb95e690c10653cc5103c84e3698ef3c2aecf065e9f837e48d67c6"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerTopUpdate.update (cyclomatic 51): ServerTopUpdate.update has cyclomatic complexity 51 (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":"bleep-cli/src/scala/bleep/commands/server/tui/ServerTopState.scala"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"18eb0a5164887eadd821497ad55d89f2840c1e224cb02f8f37d17da8db5529c3"}},{"ruleId":"D1","level":"warning","message":{"text":"FancyBuildDisplay.runLoop (cyclomatic 41): FancyBuildDisplay.runLoop has cyclomatic complexity 41 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b82b46efa6797410bfd46940b4fea7ae6ca977cffd927f5da7c52fdc73af1f"}},{"ruleId":"D1","level":"warning","message":{"text":"summarise-bsp-metrics.summarise (cyclomatic 41): summarise-bsp-metrics.summarise has cyclomatic complexity 41 (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":".github/scripts/summarise-bsp-metrics.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae8b5d8a17cbd17e3ce9a8c97b83f9b3e797d189146cc491272bbe9c9943d03"}},{"ruleId":"D1","level":"warning","message":{"text":"FancyBuildDisplay.processEvent (cyclomatic 39): FancyBuildDisplay.processEvent has cyclomatic complexity 39 (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":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5fd196d77791ab3f2ddbb07898f0b2b1d11f3b0d2db65958dc989171cc303c"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.builtinBuildOpts (cyclomatic 35): Main.builtinBuildOpts has cyclomatic complexity 35 (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":"bleep-cli/src/scala/bleep/Main.scala"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e93d49c6fe99b8e7cd53192a8f8ac17177d584232af46e32756c7db746f4a18"}},{"ruleId":"D1","level":"warning","message":{"text":"buildFromBloopFiles.apply (cyclomatic 31): buildFromBloopFiles.apply has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b2354becc61e9cb4adecf6f6718b102dfe721b38e813a4d15f471f924b8b1a"}},{"ruleId":"D1","level":"warning","message":{"text":"CompileDisplayImpl.handle (cyclomatic 31): CompileDisplayImpl.handle has cyclomatic complexity 31 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/CompileDisplay.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"104b2e862ffafded467d1027dc2a5f3d4603e15ae58e36716260f4b99875964a"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildPatch.apply (cyclomatic 31): BuildPatch.apply has cyclomatic complexity 31 (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":"bleep-model/src/scala/bleep/rewrites/BuildPatch.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dff7af1146d9932463605003fead2d158a55aaf9f9d7c202a901dd3547741e0"}},{"ruleId":"D1","level":"warning","message":{"text":"BspServerDaemon.runWithLock (cyclomatic 30): BspServerDaemon.runWithLock has cyclomatic complexity 30 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6688cff17d0d20de0633cf77f76dd14c9081928eb983711a67dcfbd6b929d6d"}},{"ruleId":"D1","level":"warning","message":{"text":"mineTemplates.apply (cyclomatic 27): mineTemplates.apply has cyclomatic complexity 27 (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":"bleep-model/src/scala/bleep/templates/mineTemplates.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f90c14b21b8088a09542955a916a3c038d508c9dc5f92c3cb87caf3f5cc4721"}},{"ruleId":"D1","level":"warning","message":{"text":"QuarkusAppModel.buildSpec (cyclomatic 27): QuarkusAppModel.buildSpec has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusAppModel.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4540ef2550066f8dd7e6fda6f0278671e8aab2095ee6b41b4cee18af93a13b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ZincBridge.compileOnce (cyclomatic 26): ZincBridge.compileOnce 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":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b232e0650c54e6bd209e51527a21f07e96f6e5afe97200991a6c77ab199e3f"}},{"ruleId":"D1","level":"warning","message":{"text":"FancyBuildDisplay.renderSummary (cyclomatic 26): FancyBuildDisplay.renderSummary has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"02490164bd0e4c9628ecdf79f305079fde82d6e7180f77a342819d3ec2a4a4ba"}},{"ruleId":"D1","level":"warning","message":{"text":"ScalaNative05Bridge.linkBlocking (cyclomatic 24): ScalaNative05Bridge.linkBlocking has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d403cdd885041814ebaaaa38e803c6463f2fc304c4781faf62e83948d8e1d5"}},{"ruleId":"D1","level":"warning","message":{"text":"EcjCompiler.run (cyclomatic 24): EcjCompiler.run has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7288a23b5b07f11c96da3f7c1133be82ea798f29fb46d4e7a6c82d2079c1a2"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiWorkspaceBspServer.compileProject (cyclomatic 24): MultiWorkspaceBspServer.compileProject has cyclomatic complexity 24 (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. This is NOT this file\u0027s highest cyclomatic complexity: MultiWorkspaceBspServer.dispatchMethod (cyclomatic 31) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":3204}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d210f30f690819bd70d8cce5cd16e7e620eb2aa0788d0e2871268f172b9071"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectLock.acquireLock (cyclomatic 23): ProjectLock.acquireLock has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/ProjectLock.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af8f2ac14dbaa3a44c625fd3665eaa761d3f72b9612cdbd866d69cd0a59f586"}},{"ruleId":"D1","level":"warning","message":{"text":"buildFromBloopFiles.importDeps (cyclomatic 23): buildFromBloopFiles.importDeps 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":"bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bd092cf4c82f3410ad8f417ef5f4f34525e17c8379a500e4fc0f7b4e2ef819"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptDiff.mechanicalCompile (cyclomatic 23): TranscriptDiff.mechanicalCompile 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":"bleep-core/src/scala/bleep/history/TranscriptDiff.scala"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41f22a62ca6da6c20033df02e8913e9f06e25123eccb210789d549cb2e3ff32"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildDisplayImpl.printCompileSummary (cyclomatic 23): BuildDisplayImpl.printCompileSummary has cyclomatic complexity 23 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8494b53ba95b48a13ffd9738ab10773ef560d1f7718d827a4c1e79d6b7ba3749"}},{"ruleId":"D1","level":"warning","message":{"text":"JUnitXmlCollector.handle (cyclomatic 22): JUnitXmlCollector.handle has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JUnitXmlReport.scala"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4049c84f9725cad06c342cd0800ecb3838fb23e39db63357a551fd6b2de123"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactiveBsp.executeBspRequest (cyclomatic 21): ReactiveBsp.executeBspRequest has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7d5101dac9427ba0a766046db814a2433e8967e7e9cffca4bce9190351ad0e"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptFormat.formatTestResult (cyclomatic 21): TranscriptFormat.formatTestResult has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/history/TranscriptFormat.scala"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4891c826a3f73fc3b89a57325e6c1ba99c5eb4521bf3ec8dd4fb94f032783e"}},{"ruleId":"D1","level":"warning","message":{"text":"ZincBridge.loadAndValidateManifest (cyclomatic 20): ZincBridge.loadAndValidateManifest has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"27589335852838e531eca5e7723fb729de6adc9a00a33a4369ecb010e3490fe5"}},{"ruleId":"D1","level":"warning","message":{"text":"ZincBridge.createInputs (cyclomatic 20): ZincBridge.createInputs has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"911d8df8be4750e31c0b2c84cfc4b54f5ca4cc59e5aa2f62d893455e09680c7a"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkExecutor.doKotlinJsLink (cyclomatic 20): LinkExecutor.doKotlinJsLink has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"2182d760f6964ce060d614b6793d2979c68f23ba53e3f95da93572349221a69c"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkExecutor.doKotlinNativeLink (cyclomatic 20): LinkExecutor.doKotlinNativeLink has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d197f2a07a68d67e7eb9e45249f1cb016a4de2aa8d84f4efe3a326604957cc77"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptDiff.mechanicalTest (cyclomatic 20): TranscriptDiff.mechanicalTest has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/history/TranscriptDiff.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90c5ad4431903a5caf3261e5135ebb95db18d4ea8696b71be5e1b38b290e895"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildSummary.toEither (cyclomatic 20): BuildSummary.toEither has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"46861cd0b083fd82ac97a640979cb9ee294f825c9fbe5c09f38a24eeb6673d66"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinJsCompiler.compileDirect (cyclomatic 18): KotlinJsCompiler.compileDirect has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24e54cfd1bff58aff20416494f1a299fe11c0a65ee01000f9384d8306e69616"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinJsLinker.linkBlocking (cyclomatic 18): KotlinJsLinker.linkBlocking has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7374fb21b34e0e5567279263c2e4aa4c76f56dce3eab92d7e952a5c9937d6ea"}},{"ruleId":"D1","level":"warning","message":{"text":"ScalaNative04Bridge.linkBlocking (cyclomatic 18): ScalaNative04Bridge.linkBlocking has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb58d2372d141a162c5c8aee4b2e327f0523a41c69abf05fda844d2632fd048"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonRpcTransport.readMessageTyped (cyclomatic 18): JsonRpcTransport.readMessageTyped has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/JsonRpcTransport.scala"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d40dccf0aad9af629ddda539619393d2342c9426d86a9b6271e683966a3d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"Completer.completeOpts (cyclomatic 18): Completer.completeOpts has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/com/monovore/decline/Completer.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0ae1a1a1c03284064e744fb9a6d2c8754d28a6e536210333ed140715210fd4"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactiveBsp.runOnce (cyclomatic 18): ReactiveBsp.runOnce has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e2b8606122333db171acaf9ef302773541b91d00de953130d58e12651a3d9e"}},{"ruleId":"D1","level":"warning","message":{"text":"FancyBuildDisplay.buildProjectPane (cyclomatic 18): FancyBuildDisplay.buildProjectPane has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9334cbfaaa30f5b74f8ce74b1a023d14ad479cd87fb2e53c94a49a6f9ec912b"}},{"ruleId":"D1","level":"warning","message":{"text":"Platform.intersect (cyclomatic 18): Platform.intersect has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Platform.removeAll) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/Platform.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2f513a90ce59882fb95187af8341c3134170017354a8034256ba75a2ddf315"}},{"ruleId":"D1","level":"warning","message":{"text":"Platform.removeAll (cyclomatic 18): Platform.removeAll has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Platform.intersect) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/Platform.scala"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d20e3cc3bae1839eca24a9bff23d2495418080b78592e884e45f170f8f542ff"}},{"ruleId":"D1","level":"warning","message":{"text":"nameTemplates.hints (cyclomatic 18): nameTemplates.hints has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/templates/nameTemplates.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8b42962097a2550ff5618670f07c5831f2a8efec60f60cce91dc6bf4cf2909"}},{"ruleId":"D1","level":"warning","message":{"text":"BspStress.run (cyclomatic 18): BspStress.run has cyclomatic complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts-dev/src/scala/bleep/scripts/dev/BspStress.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"730b3c65dcdda610d10255d20125c18944046e43a6b254a4f81d014df8cfeba3"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinSourceCompiler.compileIncremental (cyclomatic 17): KotlinSourceCompiler.compileIncremental has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9a3f15d4a060fca5a34cc17e8f311d04a1dffd9a18d4c7a112461a220c9619"}},{"ruleId":"D1","level":"warning","message":{"text":"ParallelProjectCompiler.buildProjects (cyclomatic 17): ParallelProjectCompiler.buildProjects has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ParallelProjectCompiler.scala"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f21efcc0e5fc999c0c16aaefe374ccc556430e424d53214b1d21de9f9f969de"}},{"ruleId":"D1","level":"warning","message":{"text":"BleepBuildConverter.detectLanguage (cyclomatic 17): BleepBuildConverter.detectLanguage has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BleepBuildConverter.scala"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6182297617c95f7a4a56a8ea246a0ddac6212e9ecee9821d132d5f03876aea"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiWorkspaceBspServer.consumeCompileEvents (cyclomatic 17): MultiWorkspaceBspServer.consumeCompileEvents has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: MultiWorkspaceBspServer.dispatchMethod (cyclomatic 31) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":4706}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb17ac21458ebb8d1b43ab4cf2243ea8ad6155d9accbf9dea0ca44d189d63b2b"}},{"ruleId":"D1","level":"warning","message":{"text":"BleepMcpSession.heartbeat (cyclomatic 17): BleepMcpSession.heartbeat has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15f81f0ffc11ba0f80801eb707691eda582c70cf5efa055272145d448ef2358"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.maybeRunWithDifferentVersion (cyclomatic 17): Main.maybeRunWithDifferentVersion has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/Main.scala"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"2269be4d31f728313cddc807399b59d10052aed4d096fdb0213c57dfcc05148d"}},{"ruleId":"D1","level":"warning","message":{"text":"BspRifle.ensureRunning (cyclomatic 17): BspRifle.ensureRunning has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspRifle.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcade36b942703d458e55b7564abc272824953f6cada54f663969a7a567be78"}},{"ruleId":"D1","level":"warning","message":{"text":"FetchBleepRelease.fetchRelease (cyclomatic 17): FetchBleepRelease.fetchRelease has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/FetchBleepRelease.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d56ffb2210d00cbb10db9dd38f646b65c080a7f7f8c0d2e2328190b9146cccf"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiWorkspaceBspServer.handleInitialize (cyclomatic 16): MultiWorkspaceBspServer.handleInitialize has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: MultiWorkspaceBspServer.dispatchMethod (cyclomatic 31) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70a2a5b1911288196943310ba91771734a3bb401d645dbe71b48135be9ba770"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiWorkspaceBspServer.validateLinkOptions (cyclomatic 16): MultiWorkspaceBspServer.validateLinkOptions has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: MultiWorkspaceBspServer.dispatchMethod (cyclomatic 31) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":2137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2251908ea1865677f96d5b848138482cff501aea9caf0cb88cc0f02cd980365c"}},{"ruleId":"D1","level":"warning","message":{"text":"BleepMcpSession.executeTest (cyclomatic 16): BleepMcpSession.executeTest has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a870934417caae71481320688ed23f9a35fde94362af1ab9ae60e3c03b1dba"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildDiff.run (cyclomatic 16): BuildDiff.run has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/BuildDiff.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd00b38e82e5c4aa46bcb442ac42cec1f69303f201bb2e489f83842b20429b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerTopLoop.run (cyclomatic 16): ServerTopLoop.run has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/server/tui/ServerTopLoop.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a082d7cd19f5f47ba868ed92dc62377d0250e1f09e13a498f651b892063cfd"}},{"ruleId":"D1","level":"warning","message":{"text":"BleepDevDeps.resolveFromJvmClasspath (cyclomatic 16): BleepDevDeps.resolveFromJvmClasspath has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/BleepDevDeps.scala"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a47eb7e5d25e1ddb6ff3bf9785b04d7a370e16b5fc96248d97ef3e9354eeb66"}},{"ruleId":"D1","level":"warning","message":{"text":"Direct.direct (cyclomatic 16): Direct.direct has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/CoursierResolver.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0f18b9fe6033150cb52d8cb416fa41c4e62e14d6187d5f5a61432da27f188f"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactiveBsp.runInProcess (cyclomatic 16): ReactiveBsp.runInProcess has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bdcecfb137056b0de7ef62e016056c8e59515e3b6bc10b18b0d3d199ddde55"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildDisplayImpl.printCompileFailures (cyclomatic 16): BuildDisplayImpl.printCompileFailures has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef915d90021a34d545e721d152c2a018c0b081a4a4119fb9590aabb68d6d5a5"}},{"ruleId":"D1","level":"warning","message":{"text":"FancyBuildDisplay.renderUI (cyclomatic 16): FancyBuildDisplay.renderUI has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"827cf8b43fb47e5f25ee9b14fcc3a80d0fc3dec5b972086785c7a34924f9199d"}},{"ruleId":"D1","level":"warning","message":{"text":"JvmPoolImpl.spawnJvm (cyclomatic 16): JvmPoolImpl.spawnJvm has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7d9881f609d95a1a2c8326319c5bd8b809212fea5b3f0e00bc8fc41ef61bdb"}},{"ruleId":"D1","level":"warning","message":{"text":"YamlComments.print (cyclomatic 16): YamlComments.print has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/internal/YamlComments.scala"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"263eb291e504e71f5d6324583b06123954b9d15494e1f5f19cc6bb399e8e5374"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildPatch.removeFrom (cyclomatic 16): BuildPatch.removeFrom has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/rewrites/BuildPatch.scala"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae6907c0cd65170f4d5a014361e42968f44cb9f444205448ba1a0d3d645f88c"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiWorkspaceBspServer.handleTest (cognitive 712): MultiWorkspaceBspServer.handleTest has cognitive complexity 712 (threshold 15). Drivers by points: if/else 54 (309 pts), loops 30 (256 pts), match/switch 14 (119 pts), error handling 2 (16 pts), boolean chains 12 (nesting depth added 600). 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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e173d00e3869cc77c26370eef51bc9340ae79d8b7f1fff52a8b6269bcfd4b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactiveBsp.runWithBleepBsp (cognitive 476): ReactiveBsp.runWithBleepBsp has cognitive complexity 476 (threshold 15). Drivers by points: loops 29 (318 pts), match/switch 13 (98 pts), if/else 11 (57 pts), boolean chains 2, error handling 1 (nesting depth added 420). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c45c5038a02e0b0dfb75db2b2e88e24a8fa36d107549f5f32bdf9bcca296b5"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDag.executor (cognitive 406): TaskDag.executor has cognitive complexity 406 (threshold 15). Drivers by points: loops 61 (334 pts), if/else 15 (37 pts), match/switch 11 (33 pts), boolean chains 2 (nesting depth added 317). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/TaskDag.scala"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e595aa1dec462e5ffcb73d9addadf60ba083de31d02ead6d3142afbc5afb517"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiWorkspaceBspServer.handleCompile (cognitive 166): MultiWorkspaceBspServer.handleCompile has cognitive complexity 166 (threshold 15). Drivers by points: if/else 31 (60 pts), loops 12 (55 pts), match/switch 8 (46 pts), boolean chains 5 (nesting depth added 110). 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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e1b3d9d4fd0e5898ccff0e3eeb1a390177db9832b84c0bfcebbbf488e5656d"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildDisplayImpl.printCompileSummary (cognitive 164): BuildDisplayImpl.printCompileSummary has cognitive complexity 164 (threshold 15). Drivers by points: loops 14 (105 pts), if/else 12 (57 pts), boolean chains 2 (nesting depth added 136). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8d31c942fe4e1313bce7b800f55d3f11b4c08da38e3ed1f9dbfe99d461abbb"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerMetrics.generateHtml (cognitive 157): ServerMetrics.generateHtml has cognitive complexity 157 (threshold 15). Drivers by points: if/else 114 (143 pts), boolean chains 12, loops 1 (2 pts) (nesting depth added 30). 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":"bleep-cli/src/scala/bleep/commands/ServerMetrics.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de2d82a2c4103cf14def1b109a491a55b408a0887c2d172e4d04d02da2d3afa"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildSummary.formatSummary (cognitive 151): BuildSummary.formatSummary has cognitive complexity 151 (threshold 15). Drivers by points: if/else 76 (141 pts), boolean chains 7, match/switch 3 (nesting depth added 65). 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":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb88560da879e6769d2371fd773ce8a1666a4d9c0f308bb7a9361a39d9c106c5"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildStateReducer.reduce (cognitive 122): BuildStateReducer.reduce has cognitive complexity 122 (threshold 15). Drivers by points: if/else 58 (91 pts), match/switch 10 (19 pts), boolean chains 12 (nesting depth added 42). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildState.scala"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"764d692b29782c0f5aa3ab2104b772ba6c60cbfae2571c5c33fda8ace9a70f16"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildDisplayImpl.printSideEffects (cognitive 106): BuildDisplayImpl.printSideEffects has cognitive complexity 106 (threshold 15). Drivers by points: if/else 49 (88 pts), match/switch 5 (12 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 49). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e4850de323475b8acc154b38abbb160ad68cf064feb5c425ed5a567639c393"}},{"ruleId":"D2","level":"warning","message":{"text":"BleepMcpSession.executeTest (cognitive 97): BleepMcpSession.executeTest has cognitive complexity 97 (threshold 15). Drivers by points: loops 14 (96 pts), if/else 1 (nesting depth added 82). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38b2f14a367d68ebfa4353d75d72881a4971ab79dd7ae6964b3b021ee71f91c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportMaven.run (cognitive 94): ExportMaven.run has cognitive complexity 94 (threshold 15). Drivers by points: if/else 44 (55 pts), match/switch 20 (32 pts), boolean chains 6, loops 1 (nesting depth added 23). 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":"scripts/src/scala/bleep/scripts/ExportMaven.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff69be28093feb5fc67a3aa4112f2ea24769343ce6e4894ea159988fb812e73"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolveProjects.resolveProject (cognitive 92): ResolveProjects.resolveProject has cognitive complexity 92 (threshold 15). Drivers by points: if/else 46 (58 pts), match/switch 15 (24 pts), boolean chains 10 (nesting depth added 21). 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":"bleep-core/src/scala/bleep/ResolveProjects.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4987a6471fdfc0c947838385089a6fd297adc5f5f771915cfb93a4a877bb234"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactiveBsp.runInProcess (cognitive 78): ReactiveBsp.runInProcess has cognitive complexity 78 (threshold 15). Drivers by points: loops 14 (77 pts), error handling 1 (nesting depth added 63). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4728e158cb606b3ebad9ddaaa5523dd39075078565bb2423596506dcb59b3e"}},{"ruleId":"D2","level":"warning","message":{"text":"CompileDisplayImpl.handle (cognitive 67): CompileDisplayImpl.handle has cognitive complexity 67 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 10 (28 pts), match/switch 4 (9 pts), boolean chains 1 (nesting depth added 36). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/CompileDisplay.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d30651c266a86df50f84e01904c17565c212ab565173c51edd2824dd8ddf49"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildDisplayImpl.printCompileFailures (cognitive 67): BuildDisplayImpl.printCompileFailures has cognitive complexity 67 (threshold 15). Drivers by points: if/else 14 (36 pts), loops 8 (31 pts) (nesting depth added 45). 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":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dca8daf6ee8985510d15c76a0218c13430067c001d50591350f24412d23c4b5"}},{"ruleId":"D2","level":"warning","message":{"text":"CompileDisplayImpl.printSummary (cognitive 65): CompileDisplayImpl.printSummary has cognitive complexity 65 (threshold 15). Drivers by points: loops 10 (55 pts), if/else 2 (10 pts) (nesting depth added 53). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/CompileDisplay.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22c80c7fc75066f4addd3af71c0d560669d7889b2b8af850830affe0ab294cd"}},{"ruleId":"D2","level":"warning","message":{"text":"summarise-bsp-metrics.summarise (cognitive 61): summarise-bsp-metrics.summarise has cognitive complexity 61 (threshold 15). Drivers by points: if/else 24 (34 pts), loops 8 (16 pts), boolean chains 6, ternaries 2 (5 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/summarise-bsp-metrics.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0685b8ba8eb7fb7f48aa1eb72aa2573bbb404cda357bc53753dad86ea82718"}},{"ruleId":"D2","level":"warning","message":{"text":"FancyBuildDisplay.runLoop (cognitive 60): FancyBuildDisplay.runLoop has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (25 pts), match/switch 7 (23 pts), boolean chains 7, loops 3 (5 pts) (nesting depth added 29). 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":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f08e6234e494b4aff2ec635ee999497c365436708f837a4efa86db33808cd40"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildPatch.apply (cognitive 60): BuildPatch.apply has cognitive complexity 60 (threshold 15). Drivers by points: match/switch 13 (40 pts), if/else 9 (17 pts), boolean chains 3 (nesting depth added 35). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/rewrites/BuildPatch.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"111e1c5b5400926dc6bed0ae7108dde3daf3b0936a0854df28357cf0dfab53c3"}},{"ruleId":"D2","level":"warning","message":{"text":"FetchBleepSnapshot.apply (cognitive 58): FetchBleepSnapshot.apply has cognitive complexity 58 (threshold 15). Drivers by points: loops 8 (52 pts), match/switch 3 (6 pts) (nesting depth added 47). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/FetchBleepSnapshot.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"579fa92e406bda06ba66fbbf41162f34b76a8dff3405da65ca65b667c173f412"}},{"ruleId":"D2","level":"warning","message":{"text":"BspServerDaemon.runWithLock (cognitive 57): BspServerDaemon.runWithLock has cognitive complexity 57 (threshold 15). Drivers by points: error handling 17 (31 pts), if/else 11 (21 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dce33f9d368f9da9d3d30fff46b93bfd9bffd73c1e5b9e97ecdee3b70c15155"}},{"ruleId":"D2","level":"warning","message":{"text":"JvmPoolImpl.shutdown (cognitive 57): JvmPoolImpl.shutdown has cognitive complexity 57 (threshold 15). Drivers by points: loops 9 (45 pts), error handling 2 (8 pts), if/else 1 (4 pts) (nesting depth added 45). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d823bc463a9ef08046ffc63cfd2dc3842a628f5e5fd393abfe8dbcf9f084c25"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarkusAppModel.buildSpec (cognitive 50): QuarkusAppModel.buildSpec has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 13 (18 pts), ternaries 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusAppModel.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce59accd1e70163b5b7aadf66a46410bc1555ef329c993d483e68d4fc5c8d376"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelProjectCompiler.buildProjects (cognitive 47): ParallelProjectCompiler.buildProjects has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 7 (16 pts), boolean chains 2 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ParallelProjectCompiler.scala"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f1f8b0c04afd3eba2425ab05d9d8832095e01cba3c2e1e211aff87c3909448"}},{"ruleId":"D2","level":"warning","message":{"text":"BleepMcpSession.executeCompile (cognitive 46): BleepMcpSession.executeCompile has cognitive complexity 46 (threshold 15). Drivers by points: loops 9 (45 pts), if/else 1 (nesting depth added 36). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"8370bc7d2ef9b87c1837f5462d31dffa9d0c1ffaba2f40fb7809430c5b0db5a5"}},{"ruleId":"D2","level":"warning","message":{"text":"FancyBuildDisplay.renderSummary (cognitive 46): FancyBuildDisplay.renderSummary has cognitive complexity 46 (threshold 15). Drivers by points: if/else 27 (37 pts), match/switch 5, boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"2781676b50910951f022e6e9310de5e2e75110a8b8b1bf74d8ff1a8f1f1278c0"}},{"ruleId":"D2","level":"warning","message":{"text":"BleepMcpSession.compileForRun (cognitive 45): BleepMcpSession.compileForRun has cognitive complexity 45 (threshold 15). Drivers by points: loops 9 (45 pts) (nesting depth added 36). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2af569821e118dfa2cebad1c49b207f3981213f0fd8f3b5c78c075353ba4f42"}},{"ruleId":"D2","level":"warning","message":{"text":"mineTemplates.apply (cognitive 45): mineTemplates.apply has cognitive complexity 45 (threshold 15). Drivers by points: match/switch 10 (22 pts), if/else 12 (20 pts), boolean chains 2, loops 1 (nesting depth added 20). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/templates/mineTemplates.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e54464913d9b1a4a0fa44d9cc4009bad14ee6e88142bcdf740f0a26ed3fe18f"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkExecutor.doKotlinNativeLink (cognitive 44): LinkExecutor.doKotlinNativeLink has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (36 pts), match/switch 3 (7 pts), boolean chains 1 (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cdf878e47bd7741e3dc902ea469da72d6a238f1c97e6cab2d8aee1a7ca3655"}},{"ruleId":"D2","level":"warning","message":{"text":"BleepMcpSession.heartbeat (cognitive 43): BleepMcpSession.heartbeat has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (24 pts), match/switch 5 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a24089439844c2c47ebb5bb8d27b901b10a75b4cb2962bb0b332e484fd98183"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiWorkspaceBspServer.consumeEvents (cognitive 42): MultiWorkspaceBspServer.consumeEvents has cognitive complexity 42 (threshold 15). Drivers by points: match/switch 10 (25 pts), if/else 9 (11 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 20). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":4490}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39511dded11659d29d80ab05e7505a4e3f2be7cb04eed7e4920c6c199530c64"}},{"ruleId":"D2","level":"warning","message":{"text":"buildFromBloopFiles.apply (cognitive 41): buildFromBloopFiles.apply has cognitive complexity 41 (threshold 15). Drivers by points: if/else 27 (30 pts), match/switch 9, boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8418648e6d62c75e72a1e1ae0ca61b20f05c1a75422dcd448dc50362caf72e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectLock.acquireLock (cognitive 38): ProjectLock.acquireLock has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 5 (13 pts), match/switch 3 (4 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/ProjectLock.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bb79b885563f96e1fac3093c4a03da9d11253ed0165d7799e75ae6dea88203"}},{"ruleId":"D2","level":"warning","message":{"text":"BspStress.run (cognitive 37): BspStress.run has cognitive complexity 37 (threshold 15). Drivers by points: loops 6 (21 pts), if/else 10, match/switch 2 (3 pts), error handling 2, boolean chains 1 (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts-dev/src/scala/bleep/scripts/dev/BspStress.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"140863fce80668fb68b45a82e5f1c22a8f83b50f646c853e247743e32284fce7"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildDisplay.createFancyWithState (cognitive 36): BuildDisplay.createFancyWithState has cognitive complexity 36 (threshold 15). Drivers by points: loops 8 (36 pts) (nesting depth added 28). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"da78d59e17958aa412ea9fb188ba2530cb8aaad662b5a1cb6ba0201fc4feb260"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerTopUpdate.update (cognitive 35): ServerTopUpdate.update has cognitive complexity 35 (threshold 15). Drivers by points: match/switch 9 (25 pts), if/else 4 (7 pts), boolean chains 3 (nesting depth added 19). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/server/tui/ServerTopState.scala"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"6177945adec3fdb1b12948b6a4cc14cd010513dc1bd493f149090e4ba370c988"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerTopLoop.run (cognitive 34): ServerTopLoop.run has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (8 pts), match/switch 2 (7 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/server/tui/ServerTopLoop.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1837551be562bc671c078aabf69563276ed056f0d39426e5bc8ab15416ab12"}},{"ruleId":"D2","level":"warning","message":{"text":"Direct.direct (cognitive 34): Direct.direct has cognitive complexity 34 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 11 (14 pts), match/switch 3, boolean chains 1, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/CoursierResolver.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d347fb0da1c6f09fd01da2cc5c8f7c3b817594a6d751ccf8a34344f635935285"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptDiff.mechanicalCompile (cognitive 34): TranscriptDiff.mechanicalCompile has cognitive complexity 34 (threshold 15). Drivers by points: if/else 23 (33 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/history/TranscriptDiff.scala"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"862bfc4d89b224fea3c4038c31c50e52f220db1717b41df874179720cf3209fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Platform.intersect (cognitive 34): Platform.intersect has cognitive complexity 34 (threshold 15). Drivers by points: if/else 34. 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. This shape REPEATS in the file: one other method here (Platform.removeAll) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/Platform.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89b8ed5ad77b19d8497a33ecdb8be861400145dfadfede878a9285e26dacf6f"}},{"ruleId":"D2","level":"warning","message":{"text":"Platform.removeAll (cognitive 34): Platform.removeAll has cognitive complexity 34 (threshold 15). Drivers by points: if/else 34. 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. This shape REPEATS in the file: one other method here (Platform.intersect) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/Platform.scala"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3303651c9a61d3b3454488c278b3fe7f2d7db9dd776df0ec32e27012bf2a4e26"}},{"ruleId":"D2","level":"warning","message":{"text":"ZincBridge.loadAndValidateManifest (cognitive 33): ZincBridge.loadAndValidateManifest has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (24 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa4584a026256fe96c059f2a4b81653bc2ff871d54ad43af7c44a891e850122"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiWorkspaceBspServer.makeCompileAdmission (cognitive 33): MultiWorkspaceBspServer.makeCompileAdmission has cognitive complexity 33 (threshold 15). Drivers by points: loops 5 (15 pts), match/switch 2 (11 pts), if/else 2 (7 pts) (nesting depth added 24). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1abb5c96540462878e60ca645f14481baf92d2bd84e019afb61f48a7a99feca"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildSummary.toEither (cognitive 33): BuildSummary.toEither has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (30 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d59d86a7db4d78933a735a9e402bd14ab3247b8b27ab7baf8984b6008acf22"}},{"ruleId":"D2","level":"warning","message":{"text":"FancyBuildDisplay.buildTestPane (cognitive 33): FancyBuildDisplay.buildTestPane has cognitive complexity 33 (threshold 15). Drivers by points: if/else 22 (32 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac8fdb67c3e025a714ac9ac5cb15d1f4dc6f0cb8422e65e9c647bc645a25496"}},{"ruleId":"D2","level":"warning","message":{"text":"EcjCompiler.run (cognitive 32): EcjCompiler.run has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 6, error handling 4 (5 pts), loops 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"107face2a7741ca3b64e5c57697bedd81b387e9b9d8739051a6e5efe3af2db79"}},{"ruleId":"D2","level":"warning","message":{"text":"ChildProcessDiagnostics.parseJstackOutput (cognitive 32): ChildProcessDiagnostics.parseJstackOutput has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 3 (10 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/internal/ChildProcessDiagnostics.scala"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b7ea83c5b73d2dbafd53f039f865bdba91ae4445c5c6945ea246b6493633b9"}},{"ruleId":"D2","level":"warning","message":{"text":"ZincBridge.compileOnce (cognitive 31): ZincBridge.compileOnce has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 5, error handling 4, match/switch 3 (4 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e0871336923e6b1a7096182dbe8f97629af4070b601a7c051aba50f8ef734c"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkExecutor.doKotlinJsLink (cognitive 30): LinkExecutor.doKotlinJsLink has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (23 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c53c3bbd5adf09e59e9efe15846d4c4ea4db341f24f12303502af3d362922a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerLs.renderText (cognitive 30): ServerLs.renderText has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (20 pts), match/switch 4 (9 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/server/ServerLs.scala"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4675c6b4b23ed5774081de83c3d71d61ac70f865e7b6a3229e5e0c267a93aa28"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactiveBsp.executeBspRequest (cognitive 30): ReactiveBsp.executeBspRequest has cognitive complexity 30 (threshold 15). Drivers by points: loops 6 (15 pts), match/switch 5 (11 pts), if/else 3 (4 pts) (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f7062b28c6240d02a60a6d3f30eaa2fa52033f85fe03ab5bd9c6db93aa713b"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinNativeProjectCompiler.compileKotlinNative (cognitive 29): KotlinNativeProjectCompiler.compileKotlinNative has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 3 (9 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"b190e1ec99dea326ba1fe21b763576dcf3d2f03bcf059766e49cc0c9c82ff6b2"}},{"ruleId":"D2","level":"warning","message":{"text":"templatize.string (cognitive 29): templatize.string has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 2 (8 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/Replacements.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5ed591424912ea2fbb48223130e010ba31ad32efc525c4229ea5adf34734cf"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinJsCompiler.compileDirect (cognitive 28): KotlinJsCompiler.compileDirect has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (21 pts), error handling 4, boolean chains 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b465913cf6a54c960b64be834acaf7d92e2403c1a6842f75650c8bd3cabc261"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinJsProjectCompiler.compileKotlinJs (cognitive 28): KotlinJsProjectCompiler.compileKotlinJs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, error handling 2 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7109564dd6c351dd1c53881a52bad91c952e94db90c95d6d6815fe615843fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessRunner.runWithOutput (cognitive 28): ProcessRunner.runWithOutput has cognitive complexity 28 (threshold 15). Drivers by points: loops 6 (21 pts), match/switch 1 (7 pts) (nesting depth added 21). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/ProcessRunner.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31c2f2fb2926387d4129464f3dcea10b9a0cc02dc13d5c486c637f0f7ce295f"}},{"ruleId":"D2","level":"warning","message":{"text":"BleepMcpSession.runProject (cognitive 28): BleepMcpSession.runProject has cognitive complexity 28 (threshold 15). Drivers by points: loops 6 (21 pts), if/else 2 (7 pts) (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aee661fde62ce8cbb29ceee50407267d3791c01aca0aae82336ecc046fe4f6c"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineResources.retuneLoop (cognitive 28): MachineResources.retuneLoop has cognitive complexity 28 (threshold 15). Drivers by points: loops 5 (20 pts), if/else 3 (7 pts), match/switch 1 (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/MachineResources.scala"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"88662c1ae47a82ca871ac7131a422d1cfe77017b5cbc8cc71fc04cb935f7f55d"}},{"ruleId":"D2","level":"warning","message":{"text":"JvmPool.create (cognitive 28): JvmPool.create has cognitive complexity 28 (threshold 15). Drivers by points: loops 6 (21 pts), if/else 2 (7 pts) (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"358dfaa527aa3806e98ac0f52d17c5ce6e29cc73d5f38cc027eb7e8fd0ad9cec"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelProjectCompiler.buildValidDag (cognitive 27): ParallelProjectCompiler.buildValidDag has cognitive complexity 27 (threshold 15). Drivers by points: loops 4 (10 pts), match/switch 2 (10 pts), if/else 2 (6 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ParallelProjectCompiler.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a321443b53d567bdb0145c901be19058ceb10a523718f61ec41c501a16bdcb65"}},{"ruleId":"D2","level":"warning","message":{"text":"ZincBridge.createInputs (cognitive 27): ZincBridge.createInputs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (15 pts), match/switch 6 (7 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"031424fba2f8bff6e6de4bcf4788a7d17625893131e5507c97d83fd6f26f29be"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinJsLinker.linkBlocking (cognitive 26): KotlinJsLinker.linkBlocking has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 4, error handling 4 (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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f124998f6babb8734a23188d236c59a60212b38c96ba941d3a39308d566750"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinSourceCompiler.applyCompilerOptions (cognitive 26): KotlinSourceCompiler.applyCompilerOptions has cognitive complexity 26 (threshold 15). Drivers by points: error handling 4 (10 pts), match/switch 4 (9 pts), if/else 3 (5 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"c580204174f9a1ede654ce329253ed5381236bc3bc611f9983b965c17305bc36"}},{"ruleId":"D2","level":"warning","message":{"text":"ScalaNative05Bridge.linkBlocking (cognitive 26): ScalaNative05Bridge.linkBlocking has cognitive complexity 26 (threshold 15). Drivers by points: error handling 9 (12 pts), if/else 9 (10 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae842fa47e9291f3721aae21e915edfb482a431756f4eed9bf8fd1450ac86bd4"}},{"ruleId":"D2","level":"warning","message":{"text":"BomPins.apply (cognitive 26): BomPins.apply has cognitive complexity 26 (threshold 15). Drivers by points: loops 6 (18 pts), if/else 6 (8 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/BomPins.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"443a3d41307af903b469c0d72b00f68bcff41c9b278a09f9afd45be70596fe79"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineResources.reclaimDeadProcesses (cognitive 26): MachineResources.reclaimDeadProcesses has cognitive complexity 26 (threshold 15). Drivers by points: loops 5 (15 pts), match/switch 2 (6 pts), if/else 2 (5 pts) (nesting depth added 17). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/MachineResources.scala"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b543e91e463f3e1be29789d892a867c29b1299e54993aa531f059999fc531709"}},{"ruleId":"D2","level":"warning","message":{"text":"BspRifle.ensureRunning (cognitive 26): BspRifle.ensureRunning has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 4 (7 pts), error handling 3 (6 pts) (nesting depth added 7). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspRifle.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e061a44c158df49471456fe21ced6a95e89f4d19c3527d827443425eec0ecf5"}},{"ruleId":"D2","level":"warning","message":{"text":"JUnitXmlCollector.handle (cognitive 26): JUnitXmlCollector.handle has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 4 (8 pts), boolean chains 2 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JUnitXmlReport.scala"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b77c14bad0708cb75997134492ad6603b5f417e1055ebd74b69acdb7711ba93"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildPatch.removeFrom (cognitive 26): BuildPatch.removeFrom has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 5 (9 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/rewrites/BuildPatch.scala"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35d2b91e98ecab0e1b7c73ef37f893f52ecb9bcdefefdd2f34d53427dc71315"}},{"ruleId":"D2","level":"warning","message":{"text":"generateBuildFromMaven.apply (cognitive 25): generateBuildFromMaven.apply has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/mavenimport/generateBuildFromMaven.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d63aeaa9272df3c6790e5dade29cf029cf47d5b960c51a7fdc93a9ad802a589"}},{"ruleId":"D2","level":"warning","message":{"text":"FancyBuildDisplay.renderUI (cognitive 25): FancyBuildDisplay.renderUI has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba368cdda0cbf2dc7db667f1abac5a3e587b2c76d2af8107dfc86f9fd69875b"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinSourceCompiler.compileIncremental (cognitive 24): KotlinSourceCompiler.compileIncremental has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 2, error handling 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":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"a913293a3bfb422ce14c97ceaba8a63c7ce8898ecde19c90adec587c04be9bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerTopView.serverListLine (cognitive 24): ServerTopView.serverListLine has cognitive complexity 24 (threshold 15). Drivers by points: if/else 22, boolean chains 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/server/tui/ServerTopView.scala"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fdef157c84a327a77f8c47de0325af17fca1d344f33506f9028a47e2e7e2b4"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlComments.print (cognitive 24): YamlComments.print has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (17 pts), match/switch 4 (5 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/internal/YamlComments.scala"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec91da28e9829cf029c842d3cef241348d19ca976c13fd41c3a1790865f8271b"}},{"ruleId":"D2","level":"warning","message":{"text":"FancyBuildDisplay.processEvent (cognitive 23): FancyBuildDisplay.processEvent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 6 (7 pts), boolean chains 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce3f5988996c21a8ee7e6bd7e87dbd5ac76f4e1dbc197c79e558f642ef32327"}},{"ruleId":"D2","level":"warning","message":{"text":"BleepBuildConverter.detectLanguage (cognitive 22): BleepBuildConverter.detectLanguage has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 5 (7 pts), boolean chains 3 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BleepBuildConverter.scala"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc582789b8d5db6e64f6c47bbdc6e31f1e8342a3d13182b44b6236bdebf6617c"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptFormat.formatTestResult (cognitive 22): TranscriptFormat.formatTestResult has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 4, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/history/TranscriptFormat.scala"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"04097ad50720b5594052e09957636d5874c7f5053412dee9462303631f19324a"}},{"ruleId":"D2","level":"warning","message":{"text":"FancyBuildDisplay.buildProjectPane (cognitive 22): FancyBuildDisplay.buildProjectPane has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afa49b7c61c1fd1444bdad45f59f84e8720e9598d206ca7d4bb8d1fec989d81"}},{"ruleId":"D2","level":"warning","message":{"text":"GenCliDocs.renderBody (cognitive 22): GenCliDocs.renderBody has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts-dev/src/scala/bleep/scripts/dev/GenCliDocs.scala"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"085a28ae3d1950c63ec0f2b45b18fabe5e4ca2502b39263af97539ef7f550609"}},{"ruleId":"D2","level":"warning","message":{"text":"BspMetrics.initialize (cognitive 21): BspMetrics.initialize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 3 (6 pts), loops 3 (6 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspMetrics.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05a5c658a507415236b6112eb65981ed29c383af497d97c0c71db329cdebe22"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiWorkspaceBspServer.compileProject (cognitive 21): MultiWorkspaceBspServer.compileProject has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, match/switch 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":3204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af40e2dd3dd7b37fcec195f0c71758e82f0e945908b662f641c873b4802a8e3"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiWorkspaceBspServer.handleCleanCache (cognitive 21): MultiWorkspaceBspServer.handleCleanCache has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":5172}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a105693bb04fc72cd7257b966d72ef2580ec429714a266f22eecfcfbcdf5b7"}},{"ruleId":"D2","level":"warning","message":{"text":"SubprocessRunner.run (cognitive 21): SubprocessRunner.run has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 2 (6 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/SubprocessRunner.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f1b0487631629c5b8d4187ec5f91fd90baec357db62804c4b4df37eb86b3b7"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineResources.acquire (cognitive 21): MachineResources.acquire has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 2 (6 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/MachineResources.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f8d8337f2060254effbcf29a52d57b8c817f8398a95aa35ea5ac1702dc400c"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildDiff.formatCompileDiff (cognitive 21): BuildDiff.formatCompileDiff has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildDiff.scala"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e401903a5a47dceb29c0e4b2a025a1212e4106ae98d448647cb57639dd312615"}},{"ruleId":"D2","level":"warning","message":{"text":"CompileScheduler.create (cognitive 21): CompileScheduler.create has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (10 pts), match/switch 3 (10 pts), if/else 1 (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/CompileScheduler.scala"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cf6164c0a5fe8af4c8f62621297b351d3500d4489ee68209e44c607f53aa29"}},{"ruleId":"D2","level":"warning","message":{"text":"StackTraceCycles.collapseFrameCycles (cognitive 21): StackTraceCycles.collapseFrameCycles has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 6 (9 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/StackTraceCycles.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"012d6bc13f5610e184555b262a7759c9e6f85102c8e521b566cd78536ee17a1a"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinProjectCompiler.compileKotlin (cognitive 20): KotlinProjectCompiler.compileKotlin has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, error handling 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"451c2c07df2f6dac6593602cc656307cb3d2e1ba3c38eaa8a40c2b398f230576"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiWorkspaceBspServer.handleJavacOptions (cognitive 20): MultiWorkspaceBspServer.handleJavacOptions has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 2 (8 pts), if/else 2 (6 pts), loops 3 (6 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":4991}}}],"partialFingerprints":{"codehealthFindingId/v1":"10476360cb82b3ae866cefa3aab8c98bef918217304359ad1b8787d675ae189d"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceGenRunner.runScripts (cognitive 20): SourceGenRunner.runScripts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/SourceGenRunner.scala"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a842be91721e3f41b007e5412018c0b49df0de8c92b10b687698065de2557df2"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.builtinBuildOpts (cognitive 20): Main.builtinBuildOpts has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 13 (14 pts), if/else 5, boolean chains 1 (nesting depth added 1). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/Main.scala"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5390aee999f376a9995cb085994040478741117a4b182ff86fa327ab3f56fd5a"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildProjectRename.run (cognitive 20): BuildProjectRename.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 6 (9 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/BuildProjectRename.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3920c980a9fce3aa5b246833403881a4c9ac908d1671be763951d2640efcca76"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectDigest.hashDirectories (cognitive 20): ProjectDigest.hashDirectories has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/ProjectDigest.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ab851f2b7d1d869babaf3a3b9a787e311ce6b84dd3d9f77950a675bc75ea69"}},{"ruleId":"D2","level":"warning","message":{"text":"TarGz.unpack (cognitive 20): TarGz.unpack has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/TarGz.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bb65f99029657be6a87be0de36e21ddc53a08cd40e6aeedcb4df3b8fcf496b"}},{"ruleId":"D2","level":"warning","message":{"text":"Publish.renderDryRun (cognitive 20): Publish.renderDryRun has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), match/switch 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/Publish.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"555c113601138d19e5d88bf77cf08ee6109c4371d23590bf9897145285bb0ff2"}},{"ruleId":"D2","level":"warning","message":{"text":"Push.run (cognitive 20): Push.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/RemoteCache.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6aeb93b5b10d80dab825500c822596657cb8ff70d273b8655a4473516750b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Run.runOnce (cognitive 20): Run.runOnce has cognitive complexity 20 (threshold 15). Drivers by points: loops 7 (19 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/Run.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88a385bf968fc27e4680ec96268af2234bd1f9cb2e8977f9e43c0bba739de07"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptDiff.mechanicalTest (cognitive 20): TranscriptDiff.mechanicalTest has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 6 (8 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/history/TranscriptDiff.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d777b77b55a75c2fa0907a6d2aa7e32b351d42c22261b38eb372aa08943ebab5"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinNative.intersect (cognitive 20): KotlinNative.intersect has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. 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. This shape REPEATS in the file: one other method here (KotlinNative.removeAll) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/KotlinNative.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f06a90844efd51ebd487d64a141aad69d63437322c8c0d4152c8d15cef6072"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinNative.removeAll (cognitive 20): KotlinNative.removeAll has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. 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. This shape REPEATS in the file: one other method here (KotlinNative.intersect) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/KotlinNative.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68b6246b3b679d13f18daa23d517d2e385dce2b4ad5ac805d6a849f62612fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.splitEither (cognitive 20): Options.splitEither has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/Options.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f52b53a7f23d9011bd642d04eca86ae3f4345693e5e3f12cc013604de1186f"}},{"ruleId":"D2","level":"warning","message":{"text":"AppModelAssembler.resolveConditionalDependencies (cognitive 20): AppModelAssembler.resolveConditionalDependencies has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-quarkus/src/main/java/bleep/quarkus/AppModelAssembler.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"21327e4662ba99fc1d1c0ae64c7405400e3a40c6986c2e93ad218b63ac1785ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ClasspathAnalyzer.extractKotlinMetadata (cognitive 19): ClasspathAnalyzer.extractKotlinMetadata has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5de2397d4f2f2f86b05e5bd4c9a7167533f28d9f340e1dc69bd69e5d339c66"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinNativeCompiler.compileBlocking (cognitive 19): KotlinNativeCompiler.compileBlocking has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 5, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompiler.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec4d81753f624a58d7e0c9bc81d462218e6e02185e41c7f38b9b3c945595810"}},{"ruleId":"D2","level":"warning","message":{"text":"ZincBridge.checkNoopFromDirs (cognitive 19): ZincBridge.checkNoopFromDirs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 2, match/switch 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"485c690193d17ce5e38df4d01cfc43220e584ebab1a6568a674d6a93dc907954"}},{"ruleId":"D2","level":"warning","message":{"text":"ZincBridge.checkNoopManifest (cognitive 19): ZincBridge.checkNoopManifest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbb1a55b54fbdaea1d730cd1af6ced5ffba72ce1e5e3a9650efc4363db1249c"}},{"ruleId":"D2","level":"warning","message":{"text":"BspServerOperations.waitForServer (cognitive 19): BspServerOperations.waitForServer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 3 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspServerOperations.scala"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e285c71f6af59abc6d7d9b3a88c8266f3361c28b4d0f4c63ee0f920b003541d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactiveBsp.runOnce (cognitive 19): ReactiveBsp.runOnce has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 6 (8 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e0a6aff36735b8828e4ec594c62be533085e74698bd7952b483fcbc476a6a5"}},{"ruleId":"D2","level":"warning","message":{"text":"SbtUpdateReport.moduleReports (cognitive 19): SbtUpdateReport.moduleReports has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 4, loops 1 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/depcheck/SbtUpdateReport.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe2343e10408fb61131759ea1cc6133eef58ece41a989d43deaf5ddc5538a02"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionCombo.libraries (cognitive 19): VersionCombo.libraries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/VersionCombo.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46325c086c8d95ab29c69b17487d0da28c5a8b29cc7458c615eb10d8f85557d"}},{"ruleId":"D2","level":"warning","message":{"text":"structureTemplates.extractCrossSetups (cognitive 19): structureTemplates.extractCrossSetups has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 4 (6 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/templates/structureTemplates.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed09b645f2f8abaec09d5c9834a4c1de9b5604da2a909368e5d9649a044d0caf"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinSourceCompiler.compile (cognitive 18): KotlinSourceCompiler.compile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), match/switch 3 (4 pts), boolean chains 1, error handling 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"787c5ff64753b7370e483fa7b9bc32ad06727c0058d6cbf8556ad90eba27a9a8"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinSourceCompiler.createMessageCollectorProxy (cognitive 18): KotlinSourceCompiler.createMessageCollectorProxy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 1 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d72c66741f0784514de48b10d7efe88aaa9b83bd65a5336b0b870f535eca787"}},{"ruleId":"D2","level":"warning","message":{"text":"ScalaNative04Bridge.linkBlocking (cognitive 18): ScalaNative04Bridge.linkBlocking has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 4 (5 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e74ce2395eddfcc5c79983a1728f6f5257430317c7a99f0f73659da2980aea4"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonRpcTransport.readMessageTyped (cognitive 18): JsonRpcTransport.readMessageTyped has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), error handling 5, loops 2, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/JsonRpcTransport.scala"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"535007b1e1db8040e06170a3b3f0ac42b33b2b2d7a450be8c9c7d387e95a7fa8"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiWorkspaceBspServer.handleCopyState (cognitive 18): MultiWorkspaceBspServer.handleCopyState has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2d04e843a2b5fe3afc739c19cfece133c1bd3fc961a48fad0c41eb62e4b56e"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerTopView.summaryLines (cognitive 18): ServerTopView.summaryLines has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/server/tui/ServerTopView.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"02be55cb20383155f19a967b45d0fba7e3e1828890b7bba438530ac176a5f596"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportInputData.collectFromFileSystem (cognitive 18): ImportInputData.collectFromFileSystem has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (6 pts), boolean chains 5, match/switch 2 (4 pts), if/else 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/sbtimport/ImportInputData.scala"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"940d52584dacd4d2777203e5c8f6766bde8895acfc7e8aa41ef1f1123d8cfaa3"}},{"ruleId":"D2","level":"warning","message":{"text":"BleepDevDeps.resolveFromJvmClasspath (cognitive 18): BleepDevDeps.resolveFromJvmClasspath has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/BleepDevDeps.scala"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45084630529f3869d74cf2264f2cd1f132448a08e9d2b42a38dccade6226bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactiveBspClient.onBuildTaskProgress (cognitive 18): ReactiveBspClient.onBuildTaskProgress has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (7 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"37af955d41f456ffaa92d57070b51168389b579a6dd2a31f84f142fd0bff2834"}},{"ruleId":"D2","level":"warning","message":{"text":"CompilationReason.formatted (cognitive 18): CompilationReason.formatted has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildEvent.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9ae465fce32570a8198ce05a74d177875aae44f4ba7191d266a00221a86883"}},{"ruleId":"D2","level":"warning","message":{"text":"Project.removeAll (cognitive 18): Project.removeAll has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/Project.scala"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3df3326cabe7d4cb0c491eebd5e6e1b1b43238952c41e7e25e5ea97359c897"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinJsCompiler.createMessageCollector (cognitive 17): KotlinJsCompiler.createMessageCollector has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, error handling 1 (3 pts), match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (KotlinJsLinker.createMessageCollector) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9a62dfdbb1bbf487709452993fda705aee9f3c63eb3b8a130e08a466fca0a2"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinJsLinker.createMessageCollector (cognitive 17): KotlinJsLinker.createMessageCollector has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, error handling 1 (3 pts), match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (KotlinJsCompiler.createMessageCollector) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e829db27fb9d5efe67b97443dc6140b7c908ee0e92d16e3ef31a91602615054"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinSourceCompiler.compileWithReflectionImpl (cognitive 17): KotlinSourceCompiler.compileWithReflectionImpl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 2, boolean chains 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4454ed488d15264640db124bf11ba87c1c5ab8994f7aefa95d35ece77a6fe3a"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinProjectCompiler.compileJavaSources (cognitive 17): KotlinProjectCompiler.compileJavaSources has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 4 (6 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc78eea42e9d4dbbeeb3c0789e739ce06cb6ea0e45a57dc8710df2964c323e9"}},{"ruleId":"D2","level":"warning","message":{"text":"PortableAnalysisMappers.relativizePath (cognitive 17): PortableAnalysisMappers.relativizePath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4b8716959c1ca48ae54179d1e3c476357e6cd1cc166e34b7949503689756af"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiWorkspaceBspServer.handleInitialize (cognitive 17): MultiWorkspaceBspServer.handleInitialize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, error handling 3 (5 pts), match/switch 4 (5 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe79e0c647d995f289c992290a1604c926e12b0a80bf42a280d93646527b23a"}},{"ruleId":"D2","level":"warning","message":{"text":"runSbt.apply (cognitive 17): runSbt.apply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 2, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/sbtimport/runSbt.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4643c5e5371ef2a14f666ecab7a5eb042d83c3ee79b80af0da0be39525154a30"}},{"ruleId":"D2","level":"warning","message":{"text":"FancyBuildDisplay.renderScrollIndicator (cognitive 17): FancyBuildDisplay.renderScrollIndicator has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"153fbd9bf2e7b31d5593964d1cfe755afffb46bc85cf75e1c2217b2a64e3a3ba"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlComments.extract (cognitive 17): YamlComments.extract has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), match/switch 5 (7 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/internal/YamlComments.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a04750cd21b3c7ebb7f809317334c743e52bc9033ce62b95dd3078a00fde36"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarkusDevRun.main (cognitive 17): QuarkusDevRun.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 4 (5 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-quarkus/src/main/java/bleep/quarkus/QuarkusDevRun.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d747d2a60c63319b634916ec6e257ba2c408fb9e4c345724bb84a70bf3bdeb"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinNativeProjectCompiler.doKotlinNativeCompile (cognitive 16): KotlinNativeProjectCompiler.doKotlinNativeCompile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca795cc2cef6ec802f8616778aa138a91c0f2a37567b9d1cfca82d7b7ddf14e"}},{"ruleId":"D2","level":"warning","message":{"text":"ScalaNative04Bridge.createBuildLogger (cognitive 16): ScalaNative04Bridge.createBuildLogger has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"854fd3193f6b204fbd2c8c14952da550044f825a953cbe317a3307e007e9e9e7"}},{"ruleId":"D2","level":"warning","message":{"text":"ScalaNative05Bridge.createBuildLogger (cognitive 16): ScalaNative05Bridge.createBuildLogger has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac457305bf1d7449776c2877f4845a53a857e672b99445ceb41ed8d53cd9a73"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerMetrics.findMetricsFile (cognitive 16): ServerMetrics.findMetricsFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/ServerMetrics.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2d3599085409c2288d1d2b419807cf8a81228629cf0fe4ba29ed4bc8a95938"}},{"ruleId":"D2","level":"warning","message":{"text":"buildFromMavenPom.convertModule (cognitive 16): buildFromMavenPom.convertModule has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, match/switch 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75cf8fd238a2934cb1b8bc11e03b2664d12273258ac3da2bbb4825dfbb1cb26"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptDiffRender.mechanicalTest (cognitive 16): TranscriptDiffRender.mechanicalTest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/history/TranscriptDiffRender.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc9c89e10fbb05e83676ab38b4d8d5e2e5c58a962dba7ea6957e6f99e532d3b"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffWatchBuildDisplayImpl.printDiffSideEffects (cognitive 16): DiffWatchBuildDisplayImpl.printDiffSideEffects has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a3064144a606bf60ab95fedfc604bfa56fa256ff161a5bef7ab69acb524b8d"}},{"ruleId":"D2","level":"warning","message":{"text":"StackTraceElision.ownerOf (cognitive 16): StackTraceElision.ownerOf has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 5 (7 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/StackTraceElision.scala"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67c0b3920001854be8e81b65fa9bc8ba8ab976388cb33b87b15cf61e82aabfc"}},{"ruleId":"D2","level":"warning","message":{"text":"FetchBleepRelease.fetchRelease (cognitive 16): FetchBleepRelease.fetchRelease has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6 (14 pts), if/else 2 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/FetchBleepRelease.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26fc712991a5ad7ed47e0b0909077ebf905e774677e975095284fa533612368"}},{"ruleId":"D2","level":"warning","message":{"text":"Mapped.get (cognitive 16): Mapped.get has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (6 pts), if/else 3 (5 pts), error handling 1 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/Lazy.scala"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6b94431a90f1fac2d8ddf798391f423c283cb94c7a6be2be66b97cf20e06ed"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlComments.identity (cognitive 16): YamlComments.identity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (6 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/internal/YamlComments.scala"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"454bad105648b9b4fa1c6c46b3007175653726e72e24abd14d24ec3c97e9d2e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Project.intersect (cognitive 16): Project.intersect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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":"bleep-model/src/scala/bleep/model/Project.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0494dded612fe4e6e20081485cc49faffca50e48fcae9a5dcbb2d51ad149996"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bsp/MultiWorkspaceBspServer.scala: FileTooLong \u2014 3608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3108 over it, 7.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c009a419ad11227920b8a81766e8494f468a5e96eba9bb764ae634023ef360a6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MultiWorkspaceBspServer: TooManyMethods \u2014 118 methods. The bar is 30 methods; this is 88 over it, 3.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c53902989c5db64e68fd3048dd373afd85977fe2a53b9b3ca5a6ab905029a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ResolveProjects.resolveProject: MethodTooLong \u2014 resolveProject runs 336 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 236 over it, 3.36\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":"bleep-core/src/scala/bleep/ResolveProjects.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaf90890763aab1f255a5768b684505beefbc474bcee693bf43cfe37914e3ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: analysis/ZincBridge.scala: FileTooLong \u2014 1427 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 927 over it, 2.85\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":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3528c0e88ed838aafb142336cfe6b28b77698c82447234f74f0bcafbb0ed022f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bleep/Main.scala: FileTooLong \u2014 1259 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 759 over it, 2.52\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":"bleep-cli/src/scala/bleep/Main.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ab10388c0ba0466ba73aef42689c589bfb216062ee97703d9388e17d87a9fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/index.js: FileTooLong \u2014 1195 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 695 over it, 2.39\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":"bleep-site/src/pages/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"654e1a801f394ea2ea7f41a05d64b8bc8253903530267a24a81924c688206841"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bsp/Bsp.scala: FileTooLong \u2014 1086 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 586 over it, 2.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":"bleep-bsp/src/scala/ch/epfl/scala/bsp/Bsp.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aff31a24bf54bd6471b40f0823aaa6c6772689bfe4f4299d475b05961bb9225"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/why.js: FileTooLong \u2014 999 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 499 over it, 2.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/why.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be638d89a883c9cf0f54fb42ad97f208591bc8e2608f4fe81a65321f9aa98ac3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: testing/BuildDisplay.scala: FileTooLong \u2014 969 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 469 over it, 1.94\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":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11226695177b6b398ab42ead5758d12beb53b2f89941405b30ddc0a66639684a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: testing/FancyBuildDisplay.scala: FileTooLong \u2014 928 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 428 over it, 1.86\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6179978584a509c8cca1a115b5cd581a206e6ef73b4a724dff7ca574e405b71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/BleepMcpServer.scala: FileTooLong \u2014 919 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: BleepMcpServer (47-1217). The bar is 500 significant lines; this is 419 over it, 1.84\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e5f5f36a9bbb7b1556dfbb4876900b5dde2e8c3ac9f44772a95c13d157dd2f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServerTopView: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/server/tui/ServerTopView.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b721bca26dc8c245c04f0d7818554022a0499e45eef966e6113af1a18d6d08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.AgentsSection: FunctionTooLong \u2014 AgentsSection runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.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":"bleep-site/src/pages/index.js"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c74e28fe3c646fa770e7ca07d9427b63b096b365718480e17924c855dd148b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bsp/TaskDag.scala: FileTooLong \u2014 805 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 305 over it, 1.61\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":"bleep-bsp/src/scala/bleep/bsp/TaskDag.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b264ea59f35532177d2e67e3ddce41e9d45b475cb99d0dd5b8796b694161c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: testing/JvmPool.scala: FileTooLong \u2014 801 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 301 over it, 1.60\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":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"097e13028aa42ffb00139e0ca51e0750ce7feb374c734f16a62fba32b26625d3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BleepMcpSession: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8859a4390563403f9e4a705e9394542fadcad275e6809b987d2bcb3d0f9231f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CompilerResolver: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"264e7d21056f8c77e7a106a2e40dc6679da43f018603724353d2d750c016f81f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/ReactiveBsp.scala: FileTooLong \u2014 751 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 251 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcea9b3ea66171b6a6c33418fa502ed49318fe34770ab67efabc7c02d7b78bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BspMetrics: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspMetrics.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0fbf8533f214907b3b9e159c9852fa1969d30b73cf240dd9d3e23c7426ab4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: why.AgentEraSection: FunctionTooLong \u2014 AgentEraSection runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/why.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b8c50ec2e84b8f70b9f73ac67e8e6b4249be47c2dad2b5178b8ffe1122559e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: why.SimplicitySection: FunctionTooLong \u2014 SimplicitySection runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/why.js"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e94bac1adf17d8a81ff24770f6ca2e7c5bdcdcacd5145f36a6f31d45d6e29ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/ServerTopView.scala: FileTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 150 over it, 1.30\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":"bleep-cli/src/scala/bleep/commands/server/tui/ServerTopView.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"072f529bbc819c094885372057d7895e38657f1ae510c91817c23db29c80bbb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mavenimport/buildFromMavenPom.scala: FileTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 136 over it, 1.27\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":"bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3826282d064c501dcf4137e9876784a6626e25cef8155b13c4e0379de156bd2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZincBridge: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"32755c6b1bb6b5fb150938b93b64b9c175c9e5d81bb35ec7b37ec8bed90985f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: analysis/KotlinSourceCompiler.scala: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 91 over it, 1.18\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":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34950967c213f3e96f7ae2809fa7428070f83fa5f09646520b8d538bf8571db7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: protocol/BleepBspProtocol.scala: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 over it, 1.14\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":"bleep-bsp-protocol/src/scala/bleep/bsp/protocol/BleepBspProtocol.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c80f8c14054860c2491b9690478db2dc11c6e3f263c205a1a0935bcbba538e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Main: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/Main.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c05c799a88b51689bde2b5626fa17d9998e7380b89818a44541480b43719481"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/ServerMetrics.scala: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 over it, 1.11\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":"bleep-cli/src/scala/bleep/commands/ServerMetrics.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad051994ef3eba090f6bab43b0c2a68133d11f25a166f956438edf8a6a28d9a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SbtUpdateReport.moduleReports: MethodTooLong \u2014 moduleReports runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/depcheck/SbtUpdateReport.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca46cc0497f1b89d2fd63580fb7b78cdec5d64e4ec826c51abcc4118f5d00f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: mineTemplates.apply: MethodTooLong \u2014 apply runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/templates/mineTemplates.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"372f66b8c7ac1eb91c5a89705be651a46946f953a6ac0928843a2cbc52e8cb7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sbtimport/buildFromBloopFiles.scala: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 53 over it, 1.11\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":"bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66a06a3e4724e6506727448c049a78435b4e7b955d42dcf07b579a9abb4bcaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Hero: FunctionTooLong \u2014 Hero runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9139bbfc90237e1f0aed2e88e57fe24baaa89980b28d4081ba67dc0fd086cca1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: analysis/ProjectCompiler.scala: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 26 over it, 1.05\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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"487dc961d6cb7d87e502e5c95dc1ef7772ed3623be204d275dc77b55ae364cfb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: buildFromMavenPom: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc11a178d6b19b54f39a62268131a4f59ba8bca0128a49132f662b02cae1605"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: analysis/ClasspathAnalyzer.scala: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 over it, 1.03\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":"bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b94fb8e67236f0f8ab6943a74fc8bd784ba175544a019768f80fa47dbba1632"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bleep/CoursierResolver.scala: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/CoursierResolver.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a113ee72b952df950e9865bbebb7ce934922350baaf73569b76054b10fe6de4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (116 shared lines): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:69-234 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:431-618 \u2014 These two members are variants of one another: 116 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9312a874c605883f115517c138443426b2c95b62c5db6e3f4cba61f7fde149"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (94 shared lines): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:38-224 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:38-294 \u2014 These two members are variants of one another: 94 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a8aa15bd2f0786619f1978549de85d790d949822f292d4a0f67781cfc91ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:954-1011 | bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:1035-1061 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"854a37a4b7a490ea3f967f6e753574ed0b4b7fe1baf4afcdf939e267ed758d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:144-219 | bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:450-528 | bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:654-728 | bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:759-780 \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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06f9943797c928ace80241f36316b5199ec879fd77931d1bc722501854557df"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:3946-4027 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4038-4126 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4137-4181 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4192-4246 \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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":3946}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe22c4aa300c99bc3b0a8d2f2816905babee1485321527937ec00ab8532f0eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:109-137 | bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:255-345 | bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala:121-337 | bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala:43-331 \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":"bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"88141b6007816ebd37bf610e34e38326ac998bd3707ad9c3e55e617ff86191f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bleepscript/src/main/java/bleepscript/ProjectPaths.java:15-24 | bleepscript/src/main/java/bleepscript/ResolvedProject.java:23-41 | bleepscript/src/main/java/bleepscript/ResolvedProject.java:96-107 | bleepscript/src/main/java/bleepscript/ResolvedProject.java:113-121 \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":"bleepscript/src/main/java/bleepscript/ProjectPaths.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"26aac422b84f5b861e6d71746247ac653dd27d8088eb8aaee757291dd310ff87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:123-171 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:507-555 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:123\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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"378daa845ce321ffbd624b9e92b53e153012893d7c2692f02aa2558c7ec6ec5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201339 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:147-185 | bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:214-249 \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 \u0060bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:147\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":"bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc8ca64608305cf2ab3929c54e4bb47662c584265416e2ca68103a83e3def21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompiler.scala:139-176 | bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompiler.scala:364-401 \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":"bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompiler.scala"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2945b858dfa2c6032ce425a64a037f60c65cb7bdc0bceaa0dbebd06b94fa6c0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201333 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:149-176 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:209-241 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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 \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:149\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb74ce78cf15ca62d719cfe9905b55bb3922ee97ab9666a9710dedd6a0dccaa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:258-288 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:657-684 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:258\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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"359db579385e58f291e481471ba13f55e2f7336e75e07111dc35535327ab3853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:646-674 | bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:808-836 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:646\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:676\u0060 calls \u0060printStackTrace\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:837\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"61568437cf5a8a4cbd2e279318fd2318c09bd92d62256c5444f5d995cd206760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201329 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala:34-62 | bleep-cli/src/scala/bleep/commands/PublishSetup.scala:191-216 \u2014 before extracting anything, compare \u0060bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala\u0060 and \u0060bleep-cli/src/scala/bleep/commands/PublishSetup.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 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 \u0060bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"456eef6e68fd12b29d4a49c70a7bf399002a4b90ae7031bb684bfbfc3ade2586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 2): bleep-cli/src/scala/bleep/mavenimport/generateBuildFromMaven.scala:184-207 | bleep-cli/src/scala/bleep/sbtimport/generateBuild.scala:116-143 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"bleep-cli/src/scala/bleep/mavenimport/generateBuildFromMaven.scala"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c19e2d2582df849f6f81321f4e5c3e91a5a2597e3ff57bd1067c8f07bc0004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:326-352 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:702-725 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:326\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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b267f4a1ad07494412b3d0bd9a97d1aceb4a0000e31351f828ef229a23ca11df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:339-365 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:404-430 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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 \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:339\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":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"210d0f3ebf0bb065e2f6283219452f575b8e6bd69d29e1cbdbbef03a50eeb979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:354-379 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:727-750 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:354\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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7adcbc610ce9a9ae94d44ba92ff497d7683f8156119b42930aaf13e9d4253a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:190-213 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:574-597 \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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a63efa4a1b014b27519cb285cfb943b5b7da8b7827c01a955666cf6af5571e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201324 lines \u00D7 3): bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala:447-470 | bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:317-319 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:436-459 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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 \u0060bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala:447\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala:446\u0060 calls \u0060find\u0060, \u0060loadClass\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:317\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":"bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8479675665594568e50086eec17d76be8c05059770a0c98c58e6d158100d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:70-92 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:72-94 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bf8567612e64e23285384a22ef33f994fae763123c1e23abeca9ee823877bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 3): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:3992-4013 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4161-4179 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4226-4244 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:3992\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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":3992}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdf657e423728efd2ec6203036737114df9d400b27ed6e953469c279e2d5b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:3997-4018 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4096-4117 \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 \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:3997\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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":3997}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec35e1cc8c9ee3e108415196e40dd8ddfbde9cbce15cab44c122cd2d0b5c117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:452-472 | bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:656-676 \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 \u0060bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:452\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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c102808b8196197eaca65db9fee11480c0100f560277376d04b5f0e3b4ad966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala:96-116 | bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala:120-140 \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":"bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c2ab939b61ebee0fc3d0cbaf23c2fd85aa8dbc7822c849b6f8b5278b1fe0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bleep-model/src/scala/bleep/Lazy.scala:77-97 | bleep-model/src/scala/bleep/Lazy.scala:141-161 \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 \u0060bleep-model/src/scala/bleep/Lazy.scala:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/Lazy.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"412603674645b40d226448d0ee8f68b9a59bb838c458b1ba84461b579406dc61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:39-57 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:39-57 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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 \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:59\u0060 calls \u0060loadClass\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:61\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0223c5acb169e05af478b1bd0044fc6d981ea53c271cc8e4c28f099d07a56f85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): bleep-cli/src/scala/bleep/mavenimport/generateBuildFromMaven.scala:143-158 | bleep-cli/src/scala/bleep/sbtimport/generateBuild.scala:66-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-cli/src/scala/bleep/mavenimport/generateBuildFromMaven.scala:143\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":"bleep-cli/src/scala/bleep/mavenimport/generateBuildFromMaven.scala"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d087d73e2f9b23c7df3784cfd45fc460dc5bdbeae412dee9f050ff970f691a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:498-515 | bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:695-711 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:498\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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"923909d4673b5784076a075b6a6a6829524fd9a978b3eb09a8607adfee35d3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1980-1997 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2817-2834 \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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"2041e3825228f758cc63e760e4933e46ecab11457577d6a34885ef9051a1337c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ExtractInfo.scala:124-141 | bleep-cli/src/scala/bleep/commands/ExtractInfo.scala:196-209 \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":"bleep-cli/src/scala/bleep/commands/ExtractInfo.scala"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59180d15786029f02ebe5d82a2a774a6004a152734a9ebfa87e46921934d017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:215-231 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:599-615 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:215\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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2867ab7821c80a73950ac685b528d8f381fcd721948561c433fe70a63e9ac37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:2093-2109 | bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:2113-2129 \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 \u0060bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:2093\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":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90c2db526c731849142b778fa91d2746d365c5f3f1daa806d308486df6c94b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4143-4154 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4198-4214 \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 \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4155\u0060 calls \u0060nodeBinaryFor\u0060, \u0060explodedProjects\u0060 and \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4215\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":4143}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8edf3c7e1941f3f7835450879a87532c19e587e5e72087316b589416d5c299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:5024-5040 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:5045-5061 \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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":5024}}}],"partialFingerprints":{"codehealthFindingId/v1":"940726f18bcd4587a832f0f600933d3a63e756d2b53ed96ef33499c2ec7c9559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): bleep-core/src/scala/bleep/AnnotationProcessorResolver.scala:68-84 | bleep-core/src/scala/bleep/SymbolProcessorResolver.scala:170-186 \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 \u0060bleep-core/src/scala/bleep/AnnotationProcessorResolver.scala:68\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":"bleep-core/src/scala/bleep/AnnotationProcessorResolver.scala"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47ba28c9465b652005443b34ce519bbaaf9e875c8e685029957f4f0af9f9f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala:80-94 | bleep-bsp/src/scala/bleep/analysis/KotlinNativeRunner.scala:58-72 | bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala:80-94 | bleep-bsp/src/scala/bleep/analysis/ScalaNativeRunner.scala:58-72 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala:80\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae36af8560e83a37ac2214f7c5f6b4da699c3b345559ff532bbda70f38a4c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/PublishSetup.scala:251-265 | bleep-cli/src/scala/bleep/commands/PublishSetup.scala:296-310 \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 \u0060bleep-cli/src/scala/bleep/commands/PublishSetup.scala:251\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":"bleep-cli/src/scala/bleep/commands/PublishSetup.scala"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64ded7dcb809f2d4df42fca17c77533ec3fd9614ff0bf0aa15955f1670aef3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:183-196 | bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompiler.scala:227-240 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:183\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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2085ff715499218032dbcd784bcb90ebc40253466302c421b592f9d30d6ecda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:302-315 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:630-641 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:302\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7871c397287458a4059260be3a8ba151a3fc43f580709dc86053e4caa4c73098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:547-560 | bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:753-766 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:547\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":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af8fd46d461d3a8a5ccd3a3a0d5c65d7c6bf6424080c85d725daad136ce50c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:561-574 | bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:767-780 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:561\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:583\u0060 calls \u0060getMethod\u0060, \u0060invoke\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:783\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":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0683ec3f684801d11bee5abeb3e997d1e2a10cdc955478a67eab98f2dc7013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:134-144 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:192-205 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d2b7901e09a3bb49e4660da99978264397677e59732cf83d4ee6229a9124e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:248-261 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:308-321 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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 \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:248\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":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8b050aba70e69ec1e56a153cf0805bbeba117c78dde6ac280747380cca2fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1878-1891 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2423-2434 \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 \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1878\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"341dd876cb5193e8be8653f358639541880a229fd28cabaae9a194c97f254d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:290-303 | bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:309-323 \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 \u0060bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:290\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad72409cfc345b9d7334b388818bb8e572ca7743c79bff51b9fa4973e2b7a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:819-831 | bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:853-865 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da34d2bfedf4e9d71586c1185ce12852c538fe6841859f745b9ee6f73f3a5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:70-82 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:437-449 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:432\u0060 calls \u0060getKotlinJsCompiler\u0060, \u0060createDirectories\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:69\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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee10bd06fc6b5f5f24a88b8117f13e98440fa940e101d68efd7d786256b13c48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:106-118 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:484-496 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:480\u0060 calls \u0060setField\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:92\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d9e5c084a4e223ae3437a98f8c950021893c1cf262ff56da9a4c2210311811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:2080-2091 | bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:2121-2133 \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 \u0060bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:2080\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":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fc23b8e56956ddb16ce1b74bcd9230e37f5cebdd93418309f16407a439aa92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1824-1836 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2373-2383 \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 \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1824\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1838\u0060 calls \u0060kotlinJsModuleKind\u0060 and \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2388\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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b56357a093678fab2a662c4f21285856502f53faabac995f41551d6744c7a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1845-1857 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2394-2404 \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 \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1845\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"336aecb15f1dcb5e1c6d94a20adedb22ce24937a8cf555f436e4838a6d885ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bleep-cli/src/scala/bleep/Main.scala:907-919 | bleep-cli/src/scala/bleep/Main.scala:925-937 \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 \u0060bleep-cli/src/scala/bleep/Main.scala:907\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":"bleep-cli/src/scala/bleep/Main.scala"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4879d227b623c0034d3625a4f896afff018b6200754041582d93f423d237998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala:46-57 | bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala:46-57 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala:46\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"605a090532f3f3dd04a17c206afa807ddf46e3e6cb026009a269535446a514d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:327-338 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:392-403 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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 \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:327\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":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52713759260f4c27a984fb33363b462cfb606c6ae3dc7311f5438258ecd3408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:700-711 | bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:1076-1086 \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":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"339cca57fec59374c21278d0ac8ef97e26ca689280e60712e8845ed048665837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/server/ServerKill.scala:57-68 | bleep-cli/src/scala/bleep/commands/server/ServerRestart.scala:53-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-cli/src/scala/bleep/commands/server/ServerKill.scala:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/server/ServerKill.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d72d5aa9ddb0586b236a646cc190574c6e44a9cd1375ec4c6a6c2a957e03bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bleep-core/src/scala/bleep/CoursierResolver.scala:507-518 | bleep-core/src/scala/bleep/CoursierResolver.scala:573-584 \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 \u0060bleep-core/src/scala/bleep/CoursierResolver.scala:507\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":"bleep-core/src/scala/bleep/CoursierResolver.scala"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3ae9b1e8bc755d108ea7f64e41fa2cd6126c1401419b219338c59ffc2c05e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bleep-core/src/scala/bleep/commands/Run.scala:138-149 | bleep-core/src/scala/bleep/commands/Run.scala:170-181 \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 \u0060bleep-core/src/scala/bleep/commands/Run.scala:138\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":"bleep-core/src/scala/bleep/commands/Run.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4de875efc40de2a0e52b9b8bbf8ecdbb2a74152d113ce39f3a9b3f9a3c0db74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:827-838 | bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:845-856 \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 \u0060bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:827\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":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a27e08a8efc4790a1f0de7482002fb87d771c66d75868832646afa6453f809b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/Compiler.scala:279-289 | bleep-bsp/src/scala/bleep/analysis/Compiler.scala:301-310 \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":"bleep-bsp/src/scala/bleep/analysis/Compiler.scala"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"500ede5d3b729a8b0617f301c557daccdd73837936369ebe74144526c27ff589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:288-298 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:363-373 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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 \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:288\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":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee18ea23f1ce34f2add2a28d06bfccaaa44858b34fe5161bf78c0fe91ecd9492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): bleep-core/src/scala/bleep/BspQuery.scala:25-34 | bleep-core/src/scala/bleep/commands/ReactiveBsp.scala:213-223 \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 \u0060bleep-core/src/scala/bleep/BspQuery.scala:25\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/BspQuery.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e35b46b91e4a88063d957db59a52e6f8d5869ce55014c3f209f798178887888"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): bleep-core/src/scala/bleep/commands/SetupDevScript.scala:12-20 | bleep-core/src/scala/bleep/commands/SetupDevScript.scala:22-32 \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":"bleep-core/src/scala/bleep/commands/SetupDevScript.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68f8570fa0561410641857050bff56c5d26d387dea27a2162b961ebbfc34428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bleep-model/src/scala/bleep/FetchGoogleJavaFormat.scala:14-24 | bleep-model/src/scala/bleep/FetchKtfmt.scala:14-24 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"bleep-model/src/scala/bleep/FetchGoogleJavaFormat.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca9cc71930befdbe26dc90acf7cab3fb580cb53a24f5adf4411fe46b82533e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bleep-cli/src/scala/bleep/Main.scala:662-671 | bleep-cli/src/scala/bleep/Main.scala:795-804 \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 \u0060bleep-cli/src/scala/bleep/Main.scala:662\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, \u0060bleep-cli/src/scala/bleep/Main.scala:793\u0060 calls \u0060getOrElse\u0060 and \u0060bleep-cli/src/scala/bleep/Main.scala:661\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/Main.scala"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"22694733a532ccc7208eae6b425138372ad409c440083f4f5fc424c849eefeed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ServerMetrics.scala:494-503 | bleep-cli/src/scala/bleep/commands/ServerMetrics.scala:654-663 \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 \u0060bleep-cli/src/scala/bleep/commands/ServerMetrics.scala:494\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/ServerMetrics.scala"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0b46ea7a81e074a0636b2ff62b72bf0ecaea19790a20e45d7222007e43beb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bleep-core/src/scala/bleep/BspQuery.scala:61-70 | bleep-core/src/scala/bleep/commands/ReactiveBsp.scala:273-282 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-core/src/scala/bleep/BspQuery.scala:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/BspQuery.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4636cf25b0330deb19667678581f4e8624bc97e8d9763776067a8f30a56ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): scripts/src/scala/bleep/scripts/GenNativeImage.scala:189-198 | scripts/src/scala/bleep/scripts/GenNativeImage.scala:204-213 \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":"scripts/src/scala/bleep/scripts/GenNativeImage.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a285a2484511ed4913f81b278a7ab3af404e4cf171586fab66f842e0ce2abca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:129-137 | bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:298-306 | bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala:324-332 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:129\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 after the matched lines, \u0060bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:139\u0060 calls \u0060javaRecipe\u0060, \u0060Some\u0060, \u0060jvmPlatform\u0060 and \u0060bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:308\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":"bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"433deb63c1fcee218dbe48142c5eb0ece0d30e6f409b6293bcf5e09f9d57f201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala:44-52 | bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala:72-80 \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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d2460a41ffaf41d8cf4c93d070c46a92c9dffce3a5450a2d61ba527f42442e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala:44-52 | bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala:72-80 \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":"bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adc1350e5f3d4d66950e386322c46aaefc5f412d579cb1ac56c729b3ccc630b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:237-245 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:297-305 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bffc966a7f3ab91a2a5de82ca5816cfaf4458c4abbbbd384de2a6eaa01f660"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1864-1872 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2411-2419 \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 \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1864\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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edfd5428b89070c76e13f1959b53378a58287f6eb921be70c406f15bafaad76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1929-1937 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2447-2455 \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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"5836e665470df4fad0b5527a835025bc6a58e93f3093d0b8e8c96399102efa39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:683-691 | bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:749-757 \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 \u0060bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:683\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":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4aa33c51e27de290ada5bc664f29bf302689cb91806b6e6f227112fe5c0155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:1361-1367 | bleep-core/src/scala/bleep/commands/ReactiveBsp.scala:903-911 \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 \u0060bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:1361\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bleep-core/src/scala/bleep/commands/ReactiveBsp.scala:902\u0060 calls \u0060incrementAndGet\u0060 and \u0060bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:1360\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":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"654df816dde8557e9654b62630714530f35ee9de8995c108bf40a3ce172ce695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bleep-core/src/scala/bleep/CoursierResolver.scala:207-215 | bleep-core/src/scala/bleep/CoursierResolver.scala:218-226 \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":"bleep-core/src/scala/bleep/CoursierResolver.scala"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"04922190bbb5ef41923cb5c6b436af0a4b9ccb6931b3945b4ec5e6ea5d190b2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala:46-53 | bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala:74-81 | bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala:46-53 | bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala:74-81 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala:46\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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsRunner.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b9bee3917903602fbc27ea7de9455860bb2d13ecdda5390b245294fdf2c182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:127-134 | bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala:296-303 | bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala:275-282 | bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala:322-329 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/BuildCreateNew.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0ad2a5792fe5ee059e392cb53ccc2fa583b58c51789eb7f42087a54421380b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ExtractInfo.scala:164-171 | bleep-cli/src/scala/bleep/commands/ExtractInfo.scala:216-223 \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 \u0060bleep-cli/src/scala/bleep/commands/ExtractInfo.scala:164\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":"bleep-cli/src/scala/bleep/commands/ExtractInfo.scala"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9933d5cee6c4c863c6cac7550d07315f3734943c06931f18d0a0e7d5281b9ab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ServerMetrics.scala:219-226 | bleep-cli/src/scala/bleep/commands/ServerMetrics.scala:228-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-cli/src/scala/bleep/commands/ServerMetrics.scala:219\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/ServerMetrics.scala"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b807bcdf1f390f049418c62d444b36aff1a43c2d0568afbbac291a161167fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleep-core/src/scala/bleep/bsp/SetupBleepBsp.scala:145-152 | bleep-core/src/scala/bleep/bsp/SetupBleepBsp.scala:194-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-core/src/scala/bleep/bsp/SetupBleepBsp.scala:145\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":"bleep-core/src/scala/bleep/bsp/SetupBleepBsp.scala"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0d352e2e8798c7e96d3bd6026d9e53c22323b8867555ee4f6ad648279b2160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): bleep-core/src/scala/bleep/commands/Publish.scala:258-264 | bleep-core/src/scala/bleep/commands/Publish.scala:325-332 \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 \u0060bleep-core/src/scala/bleep/commands/Publish.scala:258\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bleep-core/src/scala/bleep/commands/Publish.scala:321\u0060 calls \u0060CredentialProvider\u0060, \u0060resolveTarget\u0060, \u0060MavenRemotePublisher\u0060 and \u0060bleep-core/src/scala/bleep/commands/Publish.scala:257\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":"bleep-core/src/scala/bleep/commands/Publish.scala"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2a935227a7c686e44a2751a13fe3c6bbd180b6875be6f9898f7bb4d65f81ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleep-core/src/scala/bleep/commands/PublishLocal.scala:45-52 | bleep-core/src/scala/bleep/commands/PublishSonatype.scala:33-40 \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 \u0060bleep-core/src/scala/bleep/commands/PublishLocal.scala:45\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":"bleep-core/src/scala/bleep/commands/PublishLocal.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5e3f716881c155749ad585f6ddf70dbf8ee441d20c278230a65b8394f62e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleep-core/src/scala/bleep/commands/RemoteCache.scala:36-47 | bleep-core/src/scala/bleep/commands/RemoteCache.scala:110-117 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-core/src/scala/bleep/commands/RemoteCache.scala:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/commands/RemoteCache.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"983bbf9ed7249f7f112af4469ef2b72c6f953d9a651c6dc708c6faa1fced1477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleep-core/src/scala/bleep/javaapi/JCommands.scala:164-171 | bleep-core/src/scala/bleep/javaapi/JCommands.scala:175-182 \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":"bleep-core/src/scala/bleep/javaapi/JCommands.scala"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9b8a3ce25da6d1d02f55fa0d35a6e5cc694483378e2281d25083ad6de8db2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleep-core/src/scala/bleep/testing/BuildDisplay.scala:552-559 | bleep-core/src/scala/bleep/testing/BuildDisplay.scala:575-582 \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":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc38370912e7bcc34d393cea472c19bc4fef792a28ecd549803f0d196f2070db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:453-459 | bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:657-663 | bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:762-768 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:453\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:769\u0060 calls \u0060filter\u0060, \u0060isRegularFile\u0060, \u0060PlainVirtualFile\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:460\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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b8b5339844d95a6b61c0f3ba31f3c4da08815f527cdeb410bcbdda5fc17c39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala:273-279 | bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala:364-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 \u0060bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala:273\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala:371\u0060 calls \u0060readAllBytes\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala:280\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b13e130d42ead01002737578d7d91d2d14fdf1855f6861a06b5d4367a54c22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:177-183 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:242-248 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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 \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:177\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":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da3736f2362c20025b4fe2e7bcf58d1523edd36150a10098bd43df194a034ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2007-2013 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2854-2865 \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 \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2007\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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":2007}}}],"partialFingerprints":{"codehealthFindingId/v1":"8176dd59de436107499e7eb51adfc1d7c1dc8f8c9300cfe860b4747332554e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-cli/src/scala/bleep/Main.scala:1194-1200 | bleep-cli/src/scala/bleep/Main.scala:1209-1215 \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 \u0060bleep-cli/src/scala/bleep/Main.scala:1194\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":"bleep-cli/src/scala/bleep/Main.scala"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4419eaf387f212876e187658efea7118587e56b2a504fe32282a9e12fbbf744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-cli/src/scala/bleep/Main.scala:1224-1230 | bleep-cli/src/scala/bleep/Main.scala:1236-1242 \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 \u0060bleep-cli/src/scala/bleep/Main.scala:1224\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":"bleep-cli/src/scala/bleep/Main.scala"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4276b6b9f0099bc7a54ed62d2858f63d9ab134b9ff1491996b6a15422e0c8653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala:81-88 | bleep-cli/src/scala/bleep/commands/PublishSetup.scala:231-237 \u2014 before extracting anything, compare \u0060bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala\u0060 and \u0060bleep-cli/src/scala/bleep/commands/PublishSetup.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a665e4773757fe3b877bdc11614e0031e37863e80a4a6c5ecd678dc6756a645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala:143-149 | bleep-cli/src/scala/bleep/commands/PublishSetup.scala:498-504 \u2014 before extracting anything, compare \u0060bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala\u0060 and \u0060bleep-cli/src/scala/bleep/commands/PublishSetup.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/ConfigAuthSetup.scala"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"092058b0a345a3402ab495d19ce05fb5bbeb75e364bb690f7a724e8b69090851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ExtractInfo.scala:104-110 | bleep-cli/src/scala/bleep/commands/ExtractInfo.scala:187-193 \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 \u0060bleep-cli/src/scala/bleep/commands/ExtractInfo.scala:104\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":"bleep-cli/src/scala/bleep/commands/ExtractInfo.scala"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8633f26579848b7a41e44bab34006d4610aadc04f530986b6b1a9b140d79a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/InstallBashTabCompletions.scala:9-15 | bleep-cli/src/scala/bleep/commands/InstallZshTabCompletions.scala:12-18 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-cli/src/scala/bleep/commands/InstallBashTabCompletions.scala:16\u0060 calls \u0060Some\u0060 and \u0060bleep-cli/src/scala/bleep/commands/InstallZshTabCompletions.scala:20\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":"bleep-cli/src/scala/bleep/commands/InstallBashTabCompletions.scala"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe0baa6891cb5ce4215f60ecc0b71cbc92100787aa001e3af9e312ee921d3b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala:321-327 | bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala:287-293 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f5a86542c3f1082d7cf0163b0eb870a66b4c1af00199cd33ef13b1bd7ec3eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-core/src/scala/bleep/AnnotationProcessorResolver.scala:122-128 | bleep-core/src/scala/bleep/SymbolProcessorResolver.scala:278-284 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/AnnotationProcessorResolver.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f249dc6b526a62b6f5ecb7b12a3384d14e07bb627e8ca0475481e783746f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-core/src/scala/bleep/CoursierResolver.scala:499-505 | bleep-core/src/scala/bleep/CoursierResolver.scala:565-571 \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 \u0060bleep-core/src/scala/bleep/CoursierResolver.scala:499\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":"bleep-core/src/scala/bleep/CoursierResolver.scala"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfac77d05b4e1b670528d434e0ce1fae6ff702eeb2835d930f0409e15324d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-core/src/scala/bleep/commands/RemoteCache.scala:58-64 | bleep-core/src/scala/bleep/commands/RemoteCache.scala:129-135 \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 \u0060bleep-core/src/scala/bleep/commands/RemoteCache.scala:58\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":"bleep-core/src/scala/bleep/commands/RemoteCache.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"394baf117f28a2cda349db612e84f3821f086a2c93685d9f21cbad6a7106a39c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:889-895 | bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:903-909 \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 \u0060bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:889\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":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98ad0252d4b4685adba259bb3f571e50321c405135a1ed5f74a16eaf5bc7f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:152-157 | bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:453-458 | bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:657-662 | bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:762-767 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:769\u0060 calls \u0060filter\u0060, \u0060isRegularFile\u0060, \u0060PlainVirtualFile\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala:460\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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a352c537512532e4034b4eccec91f8a8d712339191d4946c6ac5aede9b693fc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:956-961 | bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:1040-1045 | bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompiler.scala:78-83 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:956\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:962\u0060 calls \u0060contains\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:1046\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc08ba830c33dbfd0632084f45d842e172639deb851bd040b8d9861ba7290412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:132-137 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:516-521 | bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala:388-393 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:132\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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d106f9cea8d8312a4d7dde33f650943384ed2222ae376fe8048634e51ca6688e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bleep-core/src/scala/bleep/testing/BuildDisplay.scala:516-521 | bleep-core/src/scala/bleep/testing/BuildDisplay.scala:552-557 | bleep-core/src/scala/bleep/testing/BuildDisplay.scala:575-580 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-core/src/scala/bleep/testing/BuildDisplay.scala:516\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":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a799720e58c82aed3b8c7113e1d46daf1cd009e16a83eccebc0fae55581b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala:341-346 | bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala:779-784 \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 \u0060bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala:341\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":"bleep-bsp/src/scala/bleep/analysis/ClasspathAnalyzer.scala"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f8ec26f99c1cbf1a561a10a7c2a7671a439761a46d751b9298d46e21868f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompilerConfig.scala:48-53 | bleep-model/src/scala/bleep/model/KotlinNative.scala:174-179 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompilerConfig.scala:48\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":"bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompilerConfig.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a3a78b233bb157c1bb2d8bd9e24964bcbdbcbecd722f7292b47ae589c6f894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompilerConfig.scala:54-59 | bleep-model/src/scala/bleep/model/KotlinNative.scala:180-185 \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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompilerConfig.scala:54\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":"bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompilerConfig.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bd30701545766839c892d520ab5c0105627cbc1dd77a9646544c579375b4f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/KotlinNativeRunner.scala:39-44 | bleep-bsp/src/scala/bleep/analysis/ScalaNativeRunner.scala:39-44 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/KotlinNativeRunner.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNativeRunner.scala\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060bleep-bsp/src/scala/bleep/analysis/KotlinNativeRunner.scala:39\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":"bleep-bsp/src/scala/bleep/analysis/KotlinNativeRunner.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"787e884bcf3ea7565c26c14ed1f235fc8cb77a248bb2e866df56b571a7411796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:58-63 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:59-64 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5408b6fd4859cc4899854a29a3a38ab9d66fa39683941ac30ac925eaab8b28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala:303-308 | bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala:434-439 \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 \u0060bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala:303\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":"bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"31316fe4b67476de137efebdc42568d32507105b3033d29277d704526475b809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ServerMetrics.scala:264-269 | bleep-cli/src/scala/bleep/commands/ServerMetrics.scala:273-278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-cli/src/scala/bleep/commands/ServerMetrics.scala:264\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":"bleep-cli/src/scala/bleep/commands/ServerMetrics.scala"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d02b9f8b86b3c03671cf5d24a5a19916f0617876e4d656a28b8e35ebc55fb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:985-990 | bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:1002-1007 \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 \u0060bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:985\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:992\u0060 calls \u0060styled\u0060, \u0060s\u0060 and \u0060bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:1009\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2619ea65ac4097a514c83a6be38ae3aa7ec4806a63f8ec5bbba96cbef99bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:1094-1099 | bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:1185-1190 \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 \u0060bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:1094\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":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed0b010df89f21302e0398e3a03847056f5607c16307a73ee95d7527c0da93d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:1114-1119 | bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:1154-1159 \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 \u0060bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:1114\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":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ff0b2b02e3f31cdeb1dc47af211fff3d1de8d2f9d5ba37f55d41ffae51f3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:962-966 | bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:1045-1049 | bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompiler.scala:83-87 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:962\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:961\u0060 calls \u0060contains\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala:1044\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c08300415125efd8ca054b615582d987a4f74aba40f46dd1cbcdd7b80564ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala:246-250 | bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala:303-307 | bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala:434-438 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala:246\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":"bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddd7d6f7e390847ea8ad6fc2da9199683ca9dc50971c2e32606c65dd4736069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:262-266 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:322-326 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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 \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:262\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":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf740dd04e36c78d4fadf7610d3fd89f32377c821659476017d9a6aa6e63934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:309-313 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:384-388 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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 \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:309\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":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2881fbd044377e57b7bb03b80decf4f120e32ef6c628dc9d9d446addd1e79946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:1949-1953 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:2522-2526 \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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"94183899072e9a897ef05b2e55dc1c47b72b49f71c133bb5967deae80f707897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4506-4511 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4715-4719 \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 \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4506\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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":4506}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bd8e69901743809fbf7a97f748014dc0f1f56aea1db283a559b753eb968d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/SourceGenRunner.scala:494-498 | bleep-bsp/src/scala/bleep/bsp/SourceGenRunner.scala:505-509 \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":"bleep-bsp/src/scala/bleep/bsp/SourceGenRunner.scala"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ca69144faeebb900594a880d7527b3ad140749b3e6798745c59b1becbd5d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:691-695 | bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala:1068-1072 \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":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1753c9b72549c606c101e52315ab2fbe87b4a1c743cbcd43662ebb297f0002"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/BuildDiff.scala:37-41 | bleep-cli/src/scala/bleep/commands/BuildDiff.scala:60-64 \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 \u0060bleep-cli/src/scala/bleep/commands/BuildDiff.scala:37\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":"bleep-cli/src/scala/bleep/commands/BuildDiff.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9011678dcae4e98cee7728fab2a77bea7a494594c5548a1f3d53c08f1b3e8b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:693-697 | bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:710-714 \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 \u0060bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala:693\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":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d1442ec838db7611dcf7ec72eace2657e23ee38a74ee7d2c7c00cb9941aacf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-model/src/scala/bleep/rewrites/BuildPatch.scala:28-32 | bleep-model/src/scala/bleep/rewrites/BuildPatch.scala:236-240 \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 \u0060bleep-model/src/scala/bleep/rewrites/BuildPatch.scala:28\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":"bleep-model/src/scala/bleep/rewrites/BuildPatch.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85fbe68b3a116f01bbb2ade4350c56f4668431b4bc0b56b7e2c0a7c3a9b3baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:237-244 | bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala:620-627 | bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompiler.scala:321-328 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84e59b8fcc900ec3fdc912da592618be59f822d045d399c51ddd8b0d648a8f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala:135-142 | bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:227-234 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:462-469 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8af61aebf8077936d7f7bf755fd8b26c6c12e728df3d9d6317b6f09a302e0a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala:268-275 | bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala:328-335 \u2014 before extracting anything, compare \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala\u0060 and \u0060bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3baf331dc2db5d383326184fcd5a4a379c41bb2ae858308b39b0d3aa138a38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/CompileServerStopAll.scala:51-55 | bleep-core/src/scala/bleep/bsp/ServerDirs.scala:267-271 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/CompileServerStopAll.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea83989e3a4d0bd6b1d471d476615a781a78a94bb40872b3a09dc389d4ec2698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-cli/src/scala/bleep/commands/ServerMetrics.scala:726-730 | scripts-dev/src/scala/bleep/scripts/dev/GenCliDocs.scala:365-369 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/ServerMetrics.scala"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c74bd77700391ed12ad5134c66dea3d786e50a8d2f28d6b7fce553122f185b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-core/src/scala/bleep/BspQuery.scala:81-86 | bleep-core/src/scala/bleep/commands/ReactiveBsp.scala:840-844 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/BspQuery.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0a65da86858bda39cd3549d1386eaa3a140e5fa9667ca497207819dd022c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:2258-2265 | bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:2279-2286 \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 \u0060bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala:2258\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":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f2bfab5639240f3de82c282090337b8fda347aad168d09d4c97a516d15a0f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala:649-653 | bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala:658-662 \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":"bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1a8adb75798511fd6399633103117fcbc539bf5aa4caacb8950d10966cdf1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4686-4694 | bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4753-4761 \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 \u0060bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala:4686\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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":4686}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1452a95d65afe08d1ff119fa01c51aa9a4e0a55a63a55955f6d0c802f82359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-core/src/scala/bleep/CoursierResolver.scala:115-121 | bleep-tests/src/scala/bleep/TestResolver.scala:113-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/CoursierResolver.scala"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e8926479cbb4a19f23c3c9589b25dd9f366d30bf77580b8ff517710654ddfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-core/src/scala/bleep/history/TranscriptFormat.scala:241-245 | bleep-core/src/scala/bleep/history/TranscriptFormat.scala:378-382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-core/src/scala/bleep/history/TranscriptFormat.scala:241\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, \u0060bleep-core/src/scala/bleep/history/TranscriptFormat.scala:377\u0060 calls \u0060foreach\u0060, \u0060fromString\u0060, \u0060stripAnsi\u0060 and \u0060bleep-core/src/scala/bleep/history/TranscriptFormat.scala:240\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":"bleep-core/src/scala/bleep/history/TranscriptFormat.scala"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b345b3012c5ea623f72d53a9c995a849d45f476f320d577ec12f0cec42ab56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusRun.java:115-132 | bleep-plugin-spring-boot/src/main/java/bleep/plugin/springboot/SpringBootRun.java:163-180 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusRun.java:115\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":"bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusRun.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e7156bc0fe0608f0a573cd3331124c235efe92efd91f4f3e6d56196a71f150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusRun.java:75-84 | bleep-plugin-spring-boot/src/main/java/bleep/plugin/springboot/SpringBootRun.java:110-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusRun.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"777e323e1004ee66429793543af4fb4ed142595c57646b402deea84f387261e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusPackage.java:76-83 | bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusRun.java:103-110 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusRun.java:102\u0060 calls \u0060forEach\u0060, \u0060add\u0060 and \u0060bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusPackage.java:75\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":"bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusPackage.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3136c7faa6c76c39bc9767207b648ff221afbc7ac011e02b946aad26e4157f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bleepscript/src/main/java/bleepscript/Packaging.java:54-61 | bleepscript/src/main/java/bleepscript/PublishOptions.java:18-25 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleepscript/src/main/java/bleepscript/Packaging.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8580c0894cbf28274431b73585c500a873e219e31fdad59aa344a0e218cf7d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bleepscript/src/main/java/bleepscript/ProjectPaths.java:17-23 | bleepscript/src/main/java/bleepscript/ResolvedProject.java:31-37 | bleepscript/src/main/java/bleepscript/ResolvedProject.java:99-105 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleepscript/src/main/java/bleepscript/ProjectPaths.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"588b5a5983543a333faee89eee75de187375a8df33cc001c998b52bc7f4c64c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bleepscript/src/main/java/bleepscript/ResolvedProject.java:32-38 | bleepscript/src/main/java/bleepscript/ResolvedProject.java:100-106 | bleepscript/src/main/java/bleepscript/ResolvedProject.java:114-120 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bleepscript/src/main/java/bleepscript/ResolvedProject.java:97\u0060 calls \u0060requireNonNull\u0060 and \u0060bleepscript/src/main/java/bleepscript/ResolvedProject.java:113\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":"bleepscript/src/main/java/bleepscript/ResolvedProject.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"010dd139042fac2a5b5bcd499b5e5423be7fb5174333919f47fac1197f5de9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleepscript/src/main/java/bleepscript/Project.java:30-36 | bleepscript/src/main/java/bleepscript/PublishConfig.java:23-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleepscript/src/main/java/bleepscript/Project.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cd52516e7d10e765bfc16c9284e8506967027ac8fa3fa112d7d8666dea8410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): bleepscript/src/main/java/bleepscript/CodegenTarget.java:1-11 | bleepscript/src/main/java/bleepscript/Dep.java:1-50 | bleepscript/src/main/java/bleepscript/ResolvedJvm.java:1-20 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleepscript/src/main/java/bleepscript/CodegenTarget.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleepscript/src/main/java/bleepscript/CodegenTarget.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11361793baca6cdc3a18d294a325241b3d6347b8f367bb28c34e1daae364c2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): bleepscript/src/main/java/bleepscript/LinkOptions.java:1-34 | bleepscript/src/main/java/bleepscript/UserPaths.java:1-20 \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 \u0060bleepscript/src/main/java/bleepscript/LinkOptions.java:1\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":"bleepscript/src/main/java/bleepscript/LinkOptions.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b2de860eb446051b05214afee0de0dfc7ceb9054a3580028440b449ca0af84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bleep-plugin-spring-boot/src/main/java/bleep/plugin/springboot/SpringBootRepackage.java:194-208 | bleep-plugin-spring-boot/src/main/java/bleep/plugin/springboot/SpringBootRun.java:182-196 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-plugin-spring-boot/src/main/java/bleep/plugin/springboot/SpringBootRepackage.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f776531d67740c982d64bf23e3e25f4d6e98a10d5cda3fc1a1142e7603163ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleepscript/src/main/java/bleepscript/LinkedOutput.java:22-27 | bleepscript/src/main/java/bleepscript/ScriptDef.java:7-12 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleepscript/src/main/java/bleepscript/LinkedOutput.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa4a776de611614e55ab06d1390ec11e540afdfbef336f1ee512dce43e5b3ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusAppModel.java:224-228 | bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusAppModel.java:230-234 \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":"bleep-plugin-quarkus/src/main/java/bleep/plugin/quarkus/QuarkusAppModel.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"81919b597b95b832d827f3f98422ad2bc52be2aac8bc55be340d4b9933d83628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): .github/scripts/summarise-bsp-metrics.py:51-55 | .github/scripts/summarise-bsp-metrics.py:61-65 \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":".github/scripts/summarise-bsp-metrics.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48e6ceaa3fb9f47d5187cbe92a8f61d259cd12b3c2504ce9590eca727eda932"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (12 members, 2 shared lines): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/badRequest.template.scala:17-66 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/error.template.scala:17-66 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/notFound.template.scala:17-66 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/todo.template.scala:17-67 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/unauthorized.template.scala:17-65 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/jsloader.template.scala:15-36 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/badRequest.template.scala:18-67 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/error.template.scala:18-67 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/notFound.template.scala:18-67 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/todo.template.scala:18-68 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/unauthorized.template.scala:18-66 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/jsloader.template.scala:16-37 \u2014 These 12 members are variants of one another: a block of 2 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/badRequest.template.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4091888fbfc1a7c3f414cffe6996c04586094459618f82f015391d560c59af41"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 17 shared lines): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:16-71 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:16-66 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:17-72 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:17-67 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:16-71 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:16-66 \u2014 These 6 members are variants of one another: a block of 17 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"263155b789b5bf3bc21d075ad1950691a765091d36e1eb742420d71da039f09f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 15 shared lines): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/error.template.scala:17-66 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/todo.template.scala:17-67 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/unauthorized.template.scala:17-65 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/error.template.scala:18-67 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/todo.template.scala:18-68 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/unauthorized.template.scala:18-66 \u2014 These 6 members are variants of one another: a block of 15 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/error.template.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5761d79f8bc142dfb8028c5c08a7fc2a9d0a73b14344bd8e542a1203e60b0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 36 shared lines): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:18-109 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:19-110 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:18-109 \u2014 These 3 members are variants of one another: a block of 36 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bf069006365f6433b40e579afecae1fe94d733fbd9c807e952e15d5f74ce76"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 19 shared lines): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala:16-38 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala:17-39 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala:16-38 \u2014 These 3 members are variants of one another: a block of 19 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a49ae773c3c057d364e33216daffd524b87c0bcc8be35c941030f449f4fb276"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 13 shared lines): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala:16-41 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala:17-42 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala:16-41 \u2014 These 3 members are variants of one another: a block of 13 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2907b6c052a99f96faab6f42cb6c4eaf30bbc5a724b5503737419100d1516083"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (189 corresponding lines): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala:18-206 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devError.template.scala:19-207 \u2014 These two members are one piece of code written twice and then edited apart: 189 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f43d2cd803bcf0b16dffe9cdacabb4be19b89301f8bc1a8b119256815be40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (132 corresponding lines): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devNotFound.template.scala:18-149 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devNotFound.template.scala:19-150 \u2014 These two members are one piece of code written twice and then edited apart: 132 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devNotFound.template.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5ad860a432ee392a441810774fd352651beff84c41e349a99fd693f24007ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/select.template.scala:37-63 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/select.template.scala:38-64 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/select.template.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"267d3603d61327c482b676607a484a9242b7d0bbb91d4d75cc1978c205cdfc92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/play20/manual.template.scala:15-74 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/play20/manual.template.scala:16-75 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/play20/manual.template.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61c995a4005ecc5187ddc5ee687d59467f029aab9900a395236bb08cdce257d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/checkbox.template.scala:27-41 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/checkbox.template.scala:28-42 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/checkbox.template.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c669836f2b6413a8e52b3beea99c1feb780db5214f8cff5df9fde01fafaae4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/converter/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/doobie/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/http4s/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/javaparser/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/pekko/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/playframework/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/sbt-ci-release/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/sbt-dynver/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/sbt/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/scalameta/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/tapir/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 | snapshot-tests/zio/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:25-33 \u2014 These 13 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 13 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 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"88126ad2c0c45d43867397ad4ec1abde0c0e348e0ab340e296e1e6e27894f7cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/converter/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/doobie/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/http4s/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/javaparser/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/pekko/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/playframework/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/sbt-ci-release/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/sbt-dynver/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/sbt/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/scalameta/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/tapir/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 | snapshot-tests/zio/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:35-46 \u2014 These 13 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 13 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 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cf3166f786f69ae5d30bdca41af3f7ea3010878c6cd3dbe01bc628ce8b562a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputDate.template.scala:26-37 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputFile.template.scala:26-37 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputPassword.template.scala:26-37 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/textarea.template.scala:26-37 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/inputDate.template.scala:27-38 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/inputFile.template.scala:27-38 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/inputPassword.template.scala:27-38 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/textarea.template.scala:27-38 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputDate.template.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b132f6945c48a5f4e04bda1925ee6d1051a1cf85be2170a716ffa4199b5ebe6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/script.template.scala:30-39 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/style.template.scala:30-39 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/script.template.scala:31-40 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/style.template.scala:31-40 \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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/script.template.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"207775a69d6666ff2b2bc7e5ec7ea219cc2a3631d7d19d228a39e141f95f9b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:159-171 | snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:179-191 | snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:258-270 | snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:271-283 \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":"snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"470f5d393f8a6f10099a389f0be319e6555a1940771de1da1b5ee6771be1b703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/play20/manual.template.scala:16-47 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/play20/manual.template.scala:17-48 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/play20/manual.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/play20/manual.template.scala\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/play20/manual.template.scala:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/play20/manual.template.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeb132e6c3ac890fa6860acc0bcc36afeea7f7739a85f3317bf6173271c32ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bleep-bsp-tests/src/scala/bleep/analysis/PlatformTestHelper.scala:128-148 | bleep-bsp-tests/src/scala/bleep/analysis/PlatformTestHelper.scala:203-223 \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 \u0060bleep-bsp-tests/src/scala/bleep/analysis/PlatformTestHelper.scala:128\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":"bleep-bsp-tests/src/scala/bleep/analysis/PlatformTestHelper.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7ecb84326d832e68b6253f7ad1f67cbef05651d1cdc6994e970b7f17bf75ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/input.template.scala:18-35 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/input.template.scala:19-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/input.template.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32789a4ca384308b4e4855c51c656aef095a97f86c959eaac757e3129f839bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/ScalaNativeTestRunner.scala:643-658 | bleep-bsp/src/scala/bleep/bsp/ScalaNativeTestRunner.scala:663-678 \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":"bleep-bsp/src/scala/bleep/bsp/ScalaNativeTestRunner.scala"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ede3c062458c30a1d6fe18f168e17e9e3a89133a0ce2474e11942e8852ba0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bleep-bsp-tests/src/scala/bleep/analysis/BspTestHarness.scala:685-699 | bleep-bsp-tests/src/scala/bleep/analysis/BspTestHarness.scala:746-760 \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":"bleep-bsp-tests/src/scala/bleep/analysis/BspTestHarness.scala"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"c096b7180982308c1aa2e526163dcf28a68034a2cb4c2714b64c6fac11547dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/TestRunner.scala:313-324 | bleep-bsp/src/scala/bleep/bsp/TestRunner.scala:517-531 \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 \u0060bleep-bsp/src/scala/bleep/bsp/TestRunner.scala:313\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":"bleep-bsp/src/scala/bleep/bsp/TestRunner.scala"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d6e192ad263b0f07a31ecd951e8695a655204d7e22475ee6282912b791e3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bleep-tests/src/scala/bleep/ShowOutputIT.scala:35-48 | bleep-tests/src/scala/bleep/TestEnvPropagationIT.scala:55-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-tests/src/scala/bleep/ShowOutputIT.scala:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-tests/src/scala/bleep/ShowOutputIT.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcceda0abff85e589fb4cf54d4d543d565ffb95087e38f541466eb7843376b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/KotlinTestRunner.scala:358-370 | bleep-bsp/src/scala/bleep/bsp/ScalaNativeTestRunner.scala:72-83 \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 \u0060bleep-bsp/src/scala/bleep/bsp/KotlinTestRunner.scala:358\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":"bleep-bsp/src/scala/bleep/bsp/KotlinTestRunner.scala"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e651c3d638bbe5225c6374490d6c1037ee3bedbd8081f487867eb8f15e76702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bleep-tests/src/scala/bleep/QuarkusMyappIT.scala:97-109 | bleep-tests/src/scala/bleep/SpringBootMyappIT.scala:106-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-tests/src/scala/bleep/QuarkusMyappIT.scala"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"359ef8635cd7455bbb22ba55c4f1de619d8650918557547b73e99e2834590cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/KotlinTestRunner.scala:496-506 | bleep-bsp/src/scala/bleep/bsp/ScalaNativeTestRunner.scala:117-127 \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 \u0060bleep-bsp/src/scala/bleep/bsp/KotlinTestRunner.scala:496\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":"bleep-bsp/src/scala/bleep/bsp/KotlinTestRunner.scala"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"263cc8106e7fc8da41c9fae45f415cf5401af965936efc9428c0ba1269e8cdcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bleep-tests/src/scala/bleep/LocalDirCacheIT.scala:18-28 | bleep-tests/src/scala/bleep/RemoteCacheIT.scala:27-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-tests/src/scala/bleep/LocalDirCacheIT.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cf6fe0de265aebda31bda3de0a286c52358a8ec77503f12c2507bea58c9645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:17-26 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:17-26 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:18-27 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:18-27 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:17-26 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:17-26 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 4 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:17\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":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"19768b48f8a196d14ce7b64be6e2b21f5b7ee5aaa9841070e40dd37539793695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/error.template.scala:18-27 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/todo.template.scala:18-27 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/unauthorized.template.scala:18-27 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/error.template.scala:19-28 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/todo.template.scala:19-28 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/unauthorized.template.scala:19-28 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/error.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/error.template.scala\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/error.template.scala:18\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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/error.template.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"511ae65fba18305a10c915c60137e7a5e2a17f5d5045375fca9cdde3cdbd0f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala:19-28 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devError.template.scala:20-29 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devError.template.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"412d56bcc814aaf288a0c2b0183e57720a84469f3f340bcc55a242c0a2dead6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/badRequest.template.scala:18-26 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devNotFound.template.scala:19-28 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/notFound.template.scala:18-26 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/badRequest.template.scala:19-27 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devNotFound.template.scala:20-29 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/notFound.template.scala:19-27 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/badRequest.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/badRequest.template.scala\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/badRequest.template.scala:18\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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/badRequest.template.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"297e27fc8f6c7905604b6445532527dc9ba56336218182a57b0600b772115b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/requireJs.template.scala:29-37 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/requireJs.template.scala:30-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/requireJs.template.scala:29\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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/requireJs.template.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a6612a0ff496ab9af62777d1b6437061aa84d57a82736356aea98cff8a640f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:261-269 | snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:274-282 \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 \u0060snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:261\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":"snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b90954289b6542da0131247aa20e1cee4cab3de5a3f4419750aa7edc56bf5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala:17-24 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala:18-25 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala:17-24 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala:17\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":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3e9a8cb7d6c3659c2265a3dd28b14eec6a6af378bb165137c85ce8ab5fd354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala:17-24 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala:18-25 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala:17-24 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala:17\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":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d1b2e395475ad894e59c1672a00615dc141a610aff6c5c89f5a3a73d4e3c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/TestRunner.scala:247-252 | bleep-bsp/src/scala/bleep/bsp/TestRunner.scala:420-427 \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 \u0060bleep-bsp/src/scala/bleep/bsp/TestRunner.scala:247\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":"bleep-bsp/src/scala/bleep/bsp/TestRunner.scala"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a34c2666af6618f2d9675cb97be55eff32598318ebf8c23829dd2c379017459"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:162-169 | snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:182-189 \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 \u0060snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:162\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":"snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfd17cc852576b5f3339eef34e50ad65c04d7021a243007873610d73bc94bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:162-168 | snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:182-188 | snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:261-267 | snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala:274-280 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"snapshot-tests/scalameta/imported/scripts/resources/parsers@jvm3/sources/generated/TreeLifts.scala"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb212f700dcc7e878f558dea3e8d9d9ba03eae837545b6fd6149c5750b4e8c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:19-24 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:20-25 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:19-24 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7f40d5f3aab5944933521c0d01080d01431e0ab70d5096776c868621570bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/TestRunner.scala:398-403 | bleep-bsp/src/scala/bleep/bsp/TestRunner.scala:632-644 \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 \u0060bleep-bsp/src/scala/bleep/bsp/TestRunner.scala:398\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":"bleep-bsp/src/scala/bleep/bsp/TestRunner.scala"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c241d0f8ebfa21b4fa6101dda2c089f6512efae6f4e52fb3ba8bef109e3404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devNotFound.template.scala:128-133 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devNotFound.template.scala:129-134 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devNotFound.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devNotFound.template.scala\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devNotFound.template.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"baea4d6008759b834cdcc103338150577b2dcc29b399e100eb1a00beac5e89df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/checkbox.template.scala:28-33 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/checkbox.template.scala:29-34 \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 \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/checkbox.template.scala:28\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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/checkbox.template.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ea72da4d9f29da389832312ea8053f5f82a9ab6c9c9461aa23073a1e250197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/jsloader.template.scala:16-21 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/jsloader.template.scala:17-22 \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 \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/jsloader.template.scala:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/jsloader.template.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d1c75d4a03a5927123cb54b70339a4bb564428e10775e9ffeaa9a554b548e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/play20/manual.template.scala:66-71 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/play20/manual.template.scala:67-72 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/play20/manual.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/play20/manual.template.scala\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/play20/manual.template.scala:66\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/play20/manual.template.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5799c38d468c0f2e23755b4037f31ce53a39f446779e0a5664db810f63e79a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 16): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/badRequest.template.scala:28-32 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala:30-34 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devNotFound.template.scala:30-34 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/error.template.scala:29-33 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/notFound.template.scala:28-32 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/todo.template.scala:29-33 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/unauthorized.template.scala:29-33 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/jsloader.template.scala:24-25 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/badRequest.template.scala:29-33 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devError.template.scala:31-35 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devNotFound.template.scala:31-35 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/error.template.scala:30-34 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/notFound.template.scala:29-33 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/todo.template.scala:30-34 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/unauthorized.template.scala:30-34 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/jsloader.template.scala:25-26 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/badRequest.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/badRequest.template.scala\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/jsloader.template.scala:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/badRequest.template.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f97b4cf5fb4ef36ddb013ee6e3caa440351e75572faaa2f164e505b845c94f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputDate.template.scala:27-31 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputFile.template.scala:27-31 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputPassword.template.scala:27-31 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/textarea.template.scala:27-31 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/inputDate.template.scala:28-32 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/inputFile.template.scala:28-32 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/inputPassword.template.scala:28-32 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/textarea.template.scala:28-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputDate.template.scala:27\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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputDate.template.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19443d278e7c0ece308407b6044d2a0c669cc90aba2f62a7dcc4737c3557202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/script.template.scala:31-35 | snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/style.template.scala:31-35 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/script.template.scala:32-36 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/style.template.scala:32-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/script.template.scala:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/script.template.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d896a40204ccf2c67a9e1e0c7ee54be67ceb4affa4a1b1d89d6c2aae2f7e35b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:28-32 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:29-33 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:28-32 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bf3064d2a290a35c2fe642cf1b2fa391de9b0451e691223ec4ca1c035f1fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/form.template.scala:29-33 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/form.template.scala:30-34 \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 \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/form.template.scala:29\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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/form.template.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb0686e926a8fa5e0441792600f04611d418b00ab893fb51575a83b2ce840b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputText.template.scala:27-31 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/inputText.template.scala:28-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputText.template.scala:27\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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/inputText.template.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e9ff24b339e922e49b9325443729dd354c788613610058e1eb3449ce314ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/javascriptRouter.template.scala:38-42 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/javascriptRouter.template.scala:39-43 \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 \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/javascriptRouter.template.scala:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/javascriptRouter.template.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f053db7e9b25cf64f491db4b03fb436fc92bebe960607093fb2f0b066ebe9446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/select.template.scala:38-42 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/select.template.scala:39-43 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/select.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/select.template.scala\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/select.template.scala:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/select.template.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"69887bedabc5cc039323083c8cb43b73984251599580470c411d57fe4128dda1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): bleep-tests/src/scala/bleep/ScalaJsJUnitIT.scala:13-42 | bleep-tests/src/scala/bleep/ScalaJsTestScriptsIT.scala:9-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-tests/src/scala/bleep/ScalaJsJUnitIT.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0560b43e70816e906cce2f69cbad5c18b0fb010d3322165a94ce0c8c51f3236a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/defaultFieldConstructor.template.scala:29-57 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/defaultFieldConstructor.template.scala:30-58 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/defaultFieldConstructor.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/defaultFieldConstructor.template.scala\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/defaultFieldConstructor.template.scala:29\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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/defaultFieldConstructor.template.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eec1c81eabb9572c2b9aebcc71b2d91a3dfa2a865f0c9abaccfe2e102aae5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bleep-bsp/src/scala/bleep/bsp/ScalaNativeTestFork.scala:139-143 | bleep-core/src/scala/bleep/testing/InProcessTestExecutor.scala:207-211 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/ScalaNativeTestFork.scala"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3712ec706f3e2742658ddcf8f87cb3e831861211f6800f6ff0415ae0171956e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:79-87 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:80-88 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:79-87 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:79\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":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f404f33d1b1807cf56ad64fd9b4763c74bf648ae4027b4b8d6dc4a3c32c85a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:66-71 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:67-72 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:66-71 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:66\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":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"be547259df3245ed487eb5450c6b3ede0a9eb57e02746fadfacc37e6e1418131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:51-55 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:52-56 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:51-55 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"606c7e335453f39de28d67349db5441cecaee1770c73c71975278897fab690ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:72-76 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:73-77 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:72-76 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/inject/twirl/forwardsRouter.template.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a030c37c254e21962ff05c79c0f87e4f254c0b5422ac3ae2d85b19b697b261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala:26-30 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala:27-31 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala:26-30 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javaWrappers.template.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"55528b4998e015f93a36931b3f406a0c243cb2630362bc9aea220705db74093f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:45-49 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:46-50 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:45-49 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 4 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:45\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":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebd1b6cefe35ff4b03b6ac01e25df66b41862ba5c3f9309adb0935d6e98f4f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:55-59 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:56-60 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:55-59 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 4 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1868505b1094a81d1aaa807e37599159bb5703dcc22eaca8bde7cbbea2a097b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:35-41 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:34-40 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:36-42 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:35-41 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:35-41 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:34-40 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 4 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/javascriptReverseRouter.template.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"769e862d70f8c85af063d50484258c9da690308f3421c47967c4f4e1e1f69ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:46-54 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:47-55 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala:46-54 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/reverseRouter.template.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33de9da08be8dd26f5d1e98729db600e37a2c69069da8adc108dad651e53f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala:25-35 | snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm3/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala:26-36 | snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala:25-35 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/sbt-routes-compiler/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play-routes-compiler@jvm213/sources/play/routes/compiler/static/twirl/routesPrefix.template.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5935c7fee1879c0e482d791a867930c0ca08dee9c067f17215f566b1d9b8f81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala:191-198 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devError.template.scala:192-199 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devError.template.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c11aaa98846d4f635c834213192b5fe57887ca106dbf032bc542137cdb13b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala:145-150 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devError.template.scala:146-151 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devError.template.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fa9149477bea1eba3e41477e948a802cba9315e37982b5d481590de5eaef02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala:151-155 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devError.template.scala:152-156 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/defaultpages/devError.template.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala:151\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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/defaultpages/devError.template.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"89884f0614a21ee3dc74d8f00eeb8975eeed7612a63b7a010f6ea1ffa6b71dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/select.template.scala:48-52 | snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/select.template.scala:49-53 \u2014 before extracting anything, compare \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/select.template.scala\u0060 and \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm3/sources/views/html/helper/select.template.scala\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/select.template.scala:48\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":"snapshot-tests/playframework/imported/scripts/resources/play@jvm213/sources/views/html/helper/select.template.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b376424667e55641b51071234e95c9d0c5fc787e130fff06ed93da7d3213cb49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java:372-390 | bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java:446-464 \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 \u0060bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java:372\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"e910af61994fe0f765bf2c1ea1147b1bb8e79d9b06c7d5a9195e52961afc6f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java:373-388 | bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java:447-462 | bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java:511-526 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java:373\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba4d68074bfe80ccea3b6a97eca8a7390d816e3e41e440f8bd5914aa85e51f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 13): snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/converter/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/doobie/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/http4s/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/javaparser/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/pekko/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/playframework/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/sbt-ci-release/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/sbt-dynver/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/sbt/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/scalameta/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/tapir/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 | snapshot-tests/zio/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39-46 \u2014 before extracting anything, compare \u0060snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java\u0060 and \u0060snapshot-tests/converter/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:39\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":"snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbfccad3c0636cfafbc8b1d77bb6599038d274af903b1d9129c578327ac964b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java:74-80 | bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java:140-146 \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":"bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d63e6c010f25a3f02e24be9ec540a56fa572a3dc1f59b08964e8882cc01d8a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 13): snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/converter/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/doobie/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/http4s/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/javaparser/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/pekko/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/playframework/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/sbt-ci-release/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/sbt-dynver/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/sbt/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/scalameta/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/tapir/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 | snapshot-tests/zio/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29-33 \u2014 before extracting anything, compare \u0060snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java\u0060 and \u0060snapshot-tests/converter/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java:29\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snapshot-tests/bloop/imported/scripts/src/java/scripts/CopyImportedGeneratedFiles.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7197f13f6bf33240ffb02e71cc5599bb380c09dd2c45f7d89450e260a42b983d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProjectDigestTest (LCOM4 5): ProjectDigestTest\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":"bleep-tests/src/scala/bleep/ProjectDigestTest.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc24f6aa9a76fb87ffc3093809b8d3a3b11477e295690ec505da55600d9e0ae"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnalysisDedupMeasurementTest (LCOM4 4): AnalysisDedupMeasurementTest\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp-tests/src/scala/bleep/analysis/AnalysisDedupMeasurementTest.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1953c798c4c06e0c79994e7bd2bc14ae43b7bd6fea7cf27625ddb7f4fe8117f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala: bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala changed 77 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in MultiWorkspaceBspServer.handleTest at line 2331. 3 of those changes were fix/bug commits, and the other 74 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala\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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"966859a3cc1a14857cba884dcce7f67a716f35915ee52385c47e3fe3969ac83b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-bsp/src/scala/bleep/bsp/TaskDag.scala: bleep-bsp/src/scala/bleep/bsp/TaskDag.scala changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in TaskDag.executor at line 1049. 1 of those changes was a fix/bug commit, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-bsp/src/scala/bleep/bsp/TaskDag.scala\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":"bleep-bsp/src/scala/bleep/bsp/TaskDag.scala"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee4679e40f10de8bf524d903327223bc7a3ee0ac5b4ac6fd9e6fdb05a794136"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/commands/ReactiveBsp.scala: bleep-core/src/scala/bleep/commands/ReactiveBsp.scala changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in ReactiveBsp.runWithBleepBsp at line 305. 1 of those changes was a fix/bug commit, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/commands/ReactiveBsp.scala\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":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"9245df707f3a4fd39b3aceff37d468ac1aaea7d8da8b494b525c08a75df08c9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-cli/src/scala/bleep/Main.scala: bleep-cli/src/scala/bleep/Main.scala changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in Main.builtinBuildOpts at line 304. 3 of those changes were fix/bug commits, and the other 34 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-cli/src/scala/bleep/Main.scala\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":"bleep-cli/src/scala/bleep/Main.scala"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e9a1588a487d5061e6dad7a52ac215d4d709c402fa81a8fe36dad39b82e232"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/testing/BuildDisplay.scala: bleep-core/src/scala/bleep/testing/BuildDisplay.scala changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in BuildDisplayImpl.printSideEffects at line 873. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/testing/BuildDisplay.scala\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":"bleep-core/src/scala/bleep/testing/BuildDisplay.scala"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a2b6933c1757bb848055d82581e7ab914a169f8ed13d5f33cb978520fc719a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/testing/BuildState.scala: bleep-core/src/scala/bleep/testing/BuildState.scala changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in BuildStateReducer.reduce at line 190. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/testing/BuildState.scala\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":"bleep-core/src/scala/bleep/testing/BuildState.scala"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dcb7878e99f539c57142e6dec2cda91768f665701505c3b65ae66b642e1ae9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-bsp/src/scala/bleep/bsp/TestRunner.scala: bleep-bsp/src/scala/bleep/bsp/TestRunner.scala changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in TestRunner.executeWithIdleTimeout at line 409. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-bsp/src/scala/bleep/bsp/TestRunner.scala\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":"bleep-bsp/src/scala/bleep/bsp/TestRunner.scala"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce71a0b7e4cef9d9f06365e1ab3d798239585a4c2676ea6d6da7d791dffd334c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/ResolveProjects.scala: bleep-core/src/scala/bleep/ResolveProjects.scala changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in ResolveProjects.resolveProject at line 189. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/ResolveProjects.scala\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":"bleep-core/src/scala/bleep/ResolveProjects.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bdaeae8d61863aedb6e1734ec6882dec38846775de50ff491681ae6b45e76a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala: bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in BspServerDaemon.runWithLock at line 198. 3 of those changes were fix/bug commits, and the other 17 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala\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":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"407dd789f8c431c50bbed253c8360ebe7d1440141fa1a5a3a88fcd3370099776"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala: bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BleepMcpSession.heartbeat at line 1125. 1 of those changes was a fix/bug commit, and the other 29 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala\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":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d500dfdd913ac59514f588ae58c3f1044b7bfac2563e136ec521eae696141b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-test-runner/src/main/java/bleep/testing/runner/ForkedTestRunner.java: bleep-test-runner/src/main/java/bleep/testing/runner/ForkedTestRunner.java changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ForkedTestRunner.main at line 86. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-test-runner/src/main/java/bleep/testing/runner/ForkedTestRunner.java\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":"bleep-test-runner/src/main/java/bleep/testing/runner/ForkedTestRunner.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b137dcf259243e961ac46b0bfd0baafccddad2fa034d21160f5512d76d935aaa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala: bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in buildFromBloopFiles.apply at line 36. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala\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":"bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abd3c2a484e1e57016e77fd9025100ca5405c8f2e06e42cef21ac9ba1fa2c2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala: bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in FancyBuildDisplay.processEvent at line 419. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala\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":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"381287a46567cc0629d4239df450e5b5059f470a42322f12dd1aef29d18bee5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/testing/BuildEvent.scala: bleep-core/src/scala/bleep/testing/BuildEvent.scala changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in BuildEvent.fromProtocol at line 345. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/testing/BuildEvent.scala\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":"bleep-core/src/scala/bleep/testing/BuildEvent.scala"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"65359d1b6ad91e1f5d84e825694c4d8f12ca943a22f0eafcb1318ec29d913dd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/testing/JvmPool.scala: bleep-core/src/scala/bleep/testing/JvmPool.scala changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in JvmPoolImpl.spawnJvm at line 844. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/testing/JvmPool.scala\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":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"e849f49bb351dc603199eabee9e3152dd4848f7ad0cd26590f6eb84a23a3e3f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/src/scala/bleep/scripts/ExportMaven.scala: scripts/src/scala/bleep/scripts/ExportMaven.scala changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in ExportMaven.run at line 174. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- scripts/src/scala/bleep/scripts/ExportMaven.scala\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":"scripts/src/scala/bleep/scripts/ExportMaven.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf91f9403491cd7e684847825bc998e97e849e2c3fbfebf384d55b2b06f39c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala: bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ZincBridge.compileOnce at line 532. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala\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":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"77962fc0187f3639a612901f4ae80239fd7c89298dbe4e9d61527246ba42239f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala: bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in buildFromMavenPom.convertModule at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala\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":"bleep-cli/src/scala/bleep/mavenimport/buildFromMavenPom.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d53599ee7b8389feb462b758173a41a848495b9b124fb8c4a8a024d4ea00526"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-tests/src/scala/bleep/PlatformFrameworkHarness.scala: bleep-tests/src/scala/bleep/PlatformFrameworkHarness.scala changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in PlatformFrameworkHarness.assertFixtureRan at line 245. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-tests/src/scala/bleep/PlatformFrameworkHarness.scala\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":"bleep-tests/src/scala/bleep/PlatformFrameworkHarness.scala"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddd0703c1e92917bff0d252daf11443758bb7e26837754fe7d16b37a90d8f58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-cli/src/scala/bleep/commands/ServerMetrics.scala: bleep-cli/src/scala/bleep/commands/ServerMetrics.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in ServerMetrics.generateHtml at line 152. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-cli/src/scala/bleep/commands/ServerMetrics.scala\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":"bleep-cli/src/scala/bleep/commands/ServerMetrics.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadcad537fc50d03cec690c33251a921c8f4b234289284b97f4db24b29db3d28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java: bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in TestProtocol.parseCommand at line 262. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java\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":"bleep-test-runner/src/main/java/bleep/testing/runner/TestProtocol.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9eb99fd2477e9f572239476c871839d7e9dd828cb0a849926881999f97f693"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/scripts/summarise-bsp-metrics.py: .github/scripts/summarise-bsp-metrics.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in summarise-bsp-metrics.summarise at line 46. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- .github/scripts/summarise-bsp-metrics.py\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":".github/scripts/summarise-bsp-metrics.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4aac3e273da9adc31e8def99664c47b3ecf6456259a0227961cadd46430370"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/testing/JUnitXmlReport.scala: bleep-core/src/scala/bleep/testing/JUnitXmlReport.scala changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in JUnitXmlCollector.handle at line 221. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/testing/JUnitXmlReport.scala\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":"bleep-core/src/scala/bleep/testing/JUnitXmlReport.scala"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2461d603c3d536ff20dd91a196524295d6645cbddca37c49e6d8301b109a97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/bsp/BspRifle.scala: bleep-core/src/scala/bleep/bsp/BspRifle.scala changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BspRifle.ensureRunning at line 74. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/bsp/BspRifle.scala\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":"bleep-core/src/scala/bleep/bsp/BspRifle.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d170b8bd11bcabbe0cba1453f394a53d2f97193cb1859ed125e68bbe97e6049"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-bsp/src/scala/bleep/bsp/BleepBuildConverter.scala: bleep-bsp/src/scala/bleep/bsp/BleepBuildConverter.scala changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BleepBuildConverter.detectLanguage at line 97. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-bsp/src/scala/bleep/bsp/BleepBuildConverter.scala\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":"bleep-bsp/src/scala/bleep/bsp/BleepBuildConverter.scala"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd012cf18e4b4f8d76f90980fdd1a3ae81f40449d5fe5e32a9af6e2eb60581a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala: bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LinkExecutor.doKotlinJsLink at line 331. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala\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":"bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"6192b48f57662f5e3addc30523412d8327d40730456234cc41f388dea563cb3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/history/TranscriptFormat.scala: bleep-core/src/scala/bleep/history/TranscriptFormat.scala changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in TranscriptFormat.formatTestResult at line 264. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/history/TranscriptFormat.scala\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":"bleep-core/src/scala/bleep/history/TranscriptFormat.scala"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4632449223efdeb6c998795eddba302fe32ee45a58e52f07637a7c6378704f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-core/src/scala/bleep/CoursierResolver.scala: bleep-core/src/scala/bleep/CoursierResolver.scala changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Direct.direct at line 263. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-core/src/scala/bleep/CoursierResolver.scala\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":"bleep-core/src/scala/bleep/CoursierResolver.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26e691b09f5e9d452487dbd179d6f6e2c45b87f296b7647ba9aa50bf1011c9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-model/src/scala/bleep/FetchBleepRelease.scala: bleep-model/src/scala/bleep/FetchBleepRelease.scala changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in FetchBleepRelease.fetchRelease at line 35. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-model/src/scala/bleep/FetchBleepRelease.scala\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":"bleep-model/src/scala/bleep/FetchBleepRelease.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc7a33512b55e9cf8c36e8db3a9e0bb434b13616f175f7cbaeffc1b57741f5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala: bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in KotlinJsLinker.linkBlocking at line 424. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala\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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"923227fa2196d1652468967c08b92b067cf74e38cd6f36e14d15185c1eae3032"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bleep-cli/src/scala-3/bleep/mcp/McpEventFilter.scala: bleep-cli/src/scala-3/bleep/mcp/McpEventFilter.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in McpEventFilter.filter at line 15. 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-07-14..2026-10-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-14 23:53:21 \u002B02:00\u0027 --until=\u00272026-10-12 23:53:21 \u002B02:00\u0027 --full-history --no-merges -- bleep-cli/src/scala-3/bleep/mcp/McpEventFilter.scala\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":"bleep-cli/src/scala-3/bleep/mcp/McpEventFilter.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcf8685369b83d387d6e9ac14fef5f58b6808c45a6d57817c150ad78df19e8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: iterate more on integration test concept. sbt import hangs in CI and would be slow anyway \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/src/scala/bleep/scripts/It.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd97f9dc0d13834dafd689b515e04fc3fe5e54b64e019e95005dea5502a332b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: yes, this means that this test has a dependency upon the other tests. find a better way \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-tests/src/scala/bleep/RewriteSnapshotTest.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b56eb59904a00ed8319a9c7432d9de5dac2b6e362f53304c7896605ac8af08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Ask for input with autocomplete? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-nosbt/src/scala/bleep/nosbt/InteractionService.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"85117f7906e23d47c488cde3ebffef355bfaa880ebd622a41e51cb997be40cb3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: mask password when typing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-nosbt/src/scala/bleep/nosbt/InteractionService.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29b9b6d3b6c3994d73ec51a19eaccb4d534adaac2c86f83003e2188ca14550e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: can we discover this without running a process? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/OsArch.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae42d98d560160a0c055f6979019ab1b7c1666ee920341a993bde795ed175bb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: we now express this in configuration. also here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/Dep.scala"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac7a97ed8a85aea3c033a3515b1f41b85f044b3be6bab806a84dadcb8a99f2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: represent in project \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-model/src/scala/bleep/model/ProjectGlobs.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9503334d74ea23e57b2a275d6966a6e66d0f2512d00084ddbaeb213d2fcfe544"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: imperfect, but good enough for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/FileWatching.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee14332203ed7dc8d0bc13c8251d1f3eb825ba15dc40102efdafa30eccce9e08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: why? copied from scala-cli \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/internal/FileUtils.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"239eba60abc10427657eb142d6b2557de6b41e8dfeeea57dffc9dbdb8455ca82"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Shouldn\u0027t we only keep the configurations pulling dependency? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/depcheck/SbtUpdateReport.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e686fa187e323045393e3190decc5660e0da459e869f5205f85ff9740ed0b6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Set better values here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/depcheck/SbtUpdateReport.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"641a132d45b3fd6663ecabc696e5b54b9271590dc98de81a9bd7b32b83b2a404"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Likely flaky... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/depcheck/SbtUpdateReport.scala"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cea2db5ea20a512fcb650504d1763a9da73998ac73749edf6a213bcbd56f517"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Order by config topologically? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/depcheck/UpdateRun.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fa60cd874eab9fc1853b614106ba9289ab41d9ba2c96f628e17a2a16032049"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/com/monovore/decline/Completer.scala"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1f1f1f17a23a7a245483f5070fc7ea6691ec6236bca3ed6e3809f57b551b2d"}},{"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":"1f3e3a96386d3cf2a09fa1b2ee086568b14149ffbb176c4b92b8ecf6af2fa512"},"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":"ed33c5e45f07fdac8bef2b9ea5477b8bec29f8b38cb255e7415db8e9571f11b5"},"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":"c8f3bf37116ffbccbd0f5248f7dc2b0d30d12f86c5fcd8b1c76c0d5eb7df993a"},"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":"e10dd1c37af22b497f72f89b2c46e91ef5c8fc9d8d3b51a11f187eb59b3d5d0b"},"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":"15ad88b38fff2e6e26a2e5c51db46b5d95f5a0ab9ae8764a426454804472d49b"},"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":"a378eb575e3f20eca26f26f9af5fcfc839b4b37f9977c04073aa58942c61cd4f"},"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":"28cb010a479a9cbb86a0fefb95ebacbbc0c47286a503cca55f8cf86aab62ddef"},"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":"9413d177ee3dfb094dc7ceb596e3a2705c4a851450d2130bbb4a0076070eb76d"},"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":"c4be401ae961aa9fb1277f7eb4c9b73eaaacabb11661e655f812ab030a1994d9"},"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":"db881e73c52138a6f7ff5ee50fe3521b5eaac3c9506cc29e6359b9deafcc2aac"},"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":"0807b07c74cf789e7981854a6b9ffe357fe7225fe4797d883135bd5ab13f4b76"},"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":"2e48c99ebbf1372e82df9ebe75887a1ed8bffa624af3b534d35a9d839e0e0741"},"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":"c09605fa4d9df01302ef6d3754d29341eaf4fc7ab191a5a326813c1325c6b208"},"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":"045562b35b2b2c227e5b0cdf3d286d2cf31f63072d8abf407d04a8619cd89e10"},"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":"8e72a7bfe5aa8ffa265daff19f772638b3b186b5b7776b43ea9fa8d0db11550b"},"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":"78f0c8809c3544bdde3c0c0fd5a3fd27a61c1626608ecac38a7b6254d1fb476d"},"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":"8ba6b538bd7478acd239caf94536ee68993f6c80bc083e35d7542d0a6b777c0a"},"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":"ef62f40b0212ef2e09d2047f3d0aa5c532338ad2aeacafff00517ef502946d98"},"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":"d12387e90143562e22590d7a547ad87111344c63ec690034d5185c803c3f7f0e"},"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":"f2072197baebeed29f75b81493d93207cafebaa947ff28224c11397ab3cf460c"},"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":"9dab14571f2b5a8f14efc3075a1a7094996ca2c12e168f7011aed240df20104e"},"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":"b41a2d21dd11a9b86c0442cb6cdd92e726e281845a58b042e1bf5dc9906836f0"},"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":"df6ade0f85533bef4229794690a265bbcf5ec1f075f98f02c38749b3cf30155c"},"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":"0cc35611d5a00337ee8272edc613e465f83ff741eb03383ac4e48b7ffd320129"},"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":"7d68d833a24d19dd819efa2b510bdda95f081e2eb3edc219049a7949911f3ae2"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"fb988ade90667ebbd88dcce801689c1ef0056bb3126b6c5efeb09fc85d7300d0"},"taxa":[{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"412c5007de5be213888f94dd8316cfbb8960fdd2b4ea8cb918dbba909ee0d89e"},"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":"eebb293c03be664c4f35654c6a5c6a4148ccbb10eae66ba7644eb437878f95d6"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3189104b826d52b5522414562d321dbc375bb4ec45b86ebe192be03859991de5"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd7e6b0da0a0381079b3139cb6cce2d6852893295e60da654af60010ce57c619"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8854d75926a722406fdc85b5c52529d20ef7b966acbe88d0f93f23530e25be1"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"baa62b3ffe88b255d76a4f4da4a22e416bda2ceacdf6a16923f229cb12c92f61"},"properties":{"dependency":{"package":"seroval","version":"1.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6134a65a5fd9173a063f9c83f03c42362b300a0bff3bdc13d7dbd9469c912af"},"properties":{"dependency":{"package":"shell-quote","version":"1.8.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49e5563bbcdaa0c532a5c81e23769ec962b7b2c9da6c7c90c168229503826e02"},"properties":{"dependency":{"package":"tinypool","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6ed2aee95c79ecff9451558c6af18360e926d8e8eaa0dba64d9a4430e49d012"},"properties":{"dependency":{"package":"websocket-driver","version":"0.7.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"720307faa2310061de5203e55f6828925e312826e486c3215a4dfc15c28f4cc3"},"properties":{"dependency":{"package":"@babel/plugin-transform-modules-systemjs","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf90a9c3bae1921c4393f24c9cc5ba74ae4be61844df666fae6a9d2aa4554050"},"properties":{"dependency":{"package":"body-parser","version":"1.20.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87ed8e341882cbd859331803971d0e50510e17b48f79efcbad1dbfb142d26f4d"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20809a8cb7a9a9c2ebbfb0e27e12cde99c975726107d76d75d8116351e574956"},"properties":{"dependency":{"package":"browserslist","version":"4.28.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"417b3b60b46dc7f16c6eda1b3301b7f5c9fa2a64d6d9cfefe1c81458c006cd33"},"properties":{"dependency":{"package":"compression","version":"1.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4aace23db87fdf48789127d6f8a4c253c165f154a3a1a90c3dc361a28e993e9"},"properties":{"dependency":{"package":"path-to-regexp","version":"0.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f307f87573f8978d5d9fae477f6e3b5be3ddd49bb6c437682cfcc94fd7c99e4"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74e7c8cc668c5b3cd4349c5cfca053794b5b9ff1b265754a06db1d4aaab29a16"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84231124b8bffcc4a2a940f035f9455ad66ee82a7210f1fb8d6cf9c290ed90c3"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7321cddfe3736901ac8d2096727cdb1c1548d2aff9ece0e046c6db4df85ed738"},"properties":{"dependency":{"package":"image-size","version":"2.0.2","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-835","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c44c9d3583194567490769feb0b53793a8b9ac90ba793c807fa77e16cc78a8f"},"properties":{"dependency":{"package":"joi","version":"17.13.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4eaf7e75d126dcae880167b6333cf18dec1764855201e8552df50731b64d6f1"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0519cf2f0ffbf0df01fe22fc1631a68d685be8633210ddea3b4b0c76410ff8bc"},"properties":{"dependency":{"package":"launch-editor","version":"2.13.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f6c7431a9ab6df72ae25234c85336523fd1a003208ce3abdd2330b56bb843fb"},"properties":{"dependency":{"package":"lodash","version":"4.17.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c58bcf8045b46bfda9d970fa6799ab31a8c898ec0301cbcd3270209fc71c7b60"},"properties":{"dependency":{"package":"nanoid","version":"3.3.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"409b8dd79283f58a2365f80af7e5518cf371f7e9b5386e4ee950ec3f347ce2b8"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2411ecc914bc75870614d9dc134fc55edb18ef7b91ba682fc342a356eba68cf4"},"properties":{"dependency":{"package":"postcss","version":"8.5.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00ee247efb89c3225ea0eb42558335e0d30c5dc359f69a41f5b84763d429cf88"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa4a9686c9c3bf95f6c69e6658c91e8c85bca96379b637956a8cbb4f87438b28"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8b6debba5abb4bff0a479817871ea7fba0c1da6ab5bdab02c0a33446320b9c6"},"properties":{"dependency":{"package":"svgo","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3be56a1f82f97e0713c4c7e3666bf0e9e2170be79df56adcb86f3f26f07c8e76"},"properties":{"dependency":{"package":"webpack-dev-middleware","version":"7.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d0b45c29a8177f1a6a7ebdb0a52ab35ecfbef421a21e35f3487930ed592e581"},"properties":{"dependency":{"package":"ws","version":"8.19.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b29f0eaeaddad4abe3bb8abb55f1a95e7f95757f92522cac00a1b033c25eea67"},"properties":{"dependency":{"package":"ws","version":"7.5.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2201cbbfb11342d452972db6c28944da488a81afb48a825c8d5fd5b58852f221"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8dcdf879e109eb5fed2d51828a97adea5301468a9a02c9790581f4efc811feda"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.25","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13377dff7e3494500a4c1405a51f6ac5267a541d42e224265f53ab3334bb0092"},"properties":{"dependency":{"package":"colord","version":"2.9.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b01bbadcb76b6914e9d4e6056752988c64cddf4cd68d9e749b7bc40754416cee"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"732fd359c11e880e7e9438bda1f4bdb93333bfa5f32cb1fe78b850688425545b"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"bleep-site/scripts/extract-snippets.js","line":22}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f58090499fb46f585f8559cbf02c615c7a2cf28eb09bd1ce9e13c5ef70e5f5c"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e03bdb6ce817c25d50b2f24dbdfb7c2153fa5824570f0c774f7d9e0c24d1b61f"},"properties":{"dependency":{"package":"http-proxy-middleware","version":"2.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"677a79821c07d5b02bf04e99f098404b64b40409e4d3262fe4198cf93ce9a961"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cf33328d4017682a9c7ce3e9ab3e76ec13d2f029170e39b5bb934d945d797db"},"properties":{"dependency":{"package":"qs","version":"6.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0057873bc23dc1e69299a91b96023e60a022a5dea4245eeab7ceec2e79dbc8ab"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20bd88ee464b93c48fbd3f402a0c537c1bc2233a08934fdc0a4fdc2ae85e8fc6"},"properties":{"dependency":{"package":"webpack-dev-server","version":"5.2.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75e2290a7dcfa0bb7808ee75808f8d447fbd6f4b31e72c25203fb46352d2d270"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86e4b43a93e49b6b4a8c77493cde89349557e2f048a0236e2d5ef4a75c5595cb"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 452 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 452 of the 874 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: bleep-cli/src/scala/bleep/internal/Version.scala. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/internal/Version.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6403bed0855255eee3e358c6685320861ae592d879071b4d9654ad78c9ca38e5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: buildFromBloopFiles.scala \u2194 Defaults.scala: \u0060bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala\u0060 (context bleep-cli) and \u0060bleep-model/src/scala/bleep/rewrites/Defaults.scala\u0060 (context bleep-model) sit in DIFFERENT parts of the tree yet change together 67% of the time (14 of the 21 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u00608c7ab9ee\u0060 \u0060source-layout: sbt-plugin\u0060, the default for sbt plugins, and for the\u2026; \u0060267cbdea\u0060 Adds a link command (#445); \u0060ce4578f4\u0060 Adds support for modulekindsplitstyle (#403) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/sbtimport/buildFromBloopFiles.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"470de5d59ca73d5118609cef098dd0572b93eeb0c6a391b5b0083c42137b400d"}},{"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":"ef69ffb2b1fa92b1cc8c0f56486a72aa96a80e8e4c65a474a0fb4f020bb98ffd"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d05aab47791d0e01958969435ae6edc0f4e41c5b8c6b5ba895c8a4f9cde50d5"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BleepscriptServices (16 abstract methods): \u0060BleepscriptServices\u0060 declares 16 abstract methods: \u0060createJar\u0060, \u0060defaultManifestCreator\u0060, \u0060fetchClasspath\u0060, \u0060fetchSources\u0060, \u0060forCodegen\u0060, \u0060forScript\u0060, \u0060packageProject\u0060, \u0060packageProjects\u0060, \u0060parseDep\u0060, \u0060parseRelPath\u0060, \u0060publishToFolder\u0060, \u0060publishToLocalIvy\u0060, \u0060publishToLocalMaven\u0060, \u0060publishToResolver\u0060, \u0060runCli\u0060, \u0060signArtifacts\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleepscript/src/main/java/bleepscript/BleepscriptServices.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbac86919257b70352eccbdfa85a1563a231c86abdb8b8f27911f9a45e26ef8e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Commands (16 abstract methods): \u0060Commands\u0060 declares 16 abstract methods under just 9 distinct name(s): \u0060clean\u0060, \u0060compile\u0060, \u0060compile\u0060, \u0060link\u0060, \u0060link\u0060, \u0060publish\u0060, \u0060publish\u0060, \u0060publishLocal\u0060, \u0060publishLocal\u0060, \u0060publishSonatype\u0060, \u0060run\u0060, \u0060run\u0060, \u0060script\u0060, \u0060script\u0060, \u0060test\u0060, \u0060test\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 16 separate responsibilities: a caller binds to 9 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 16 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleepscript/src/main/java/bleepscript/Commands.java"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff690c7125795e090585c22c1f24618d654dd85a42cd736d4a9f2268a4d1161f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BspClient (21 abstract members): \u0060BspClient\u0060 declares 21 abstract members: \u0060initialize\u0060, \u0060buildTargets\u0060, \u0060compile\u0060, \u0060compile\u0060, \u0060test\u0060, \u0060run\u0060, \u0060cleanCache\u0060, \u0060shutdown\u0060, \u0060link\u0060, \u0060compileAsync\u0060, \u0060compileAsync\u0060, \u0060testAsync\u0060, \u0060runAsync\u0060, \u0060cancelRequest\u0060, \u0060events\u0060, \u0060logMessages\u0060, \u0060diagnosticsByFile\u0060, \u0060clear\u0060, \u0060scalacOptions\u0060, \u0060javacOptions\u0060, \u0060rawRequest\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. Those 21 declarations carry 19 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 19 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp-tests/src/scala/bleep/analysis/BspTestHarness.scala"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0249da712d1a11450b484349e16dcdf7217bed1d8970791deb67220b280b02"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060handleInitialized\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"189266997308da83ba25548cdd59e4186624683a18a1c4e197cc9700c7d7e9bd"}},{"ruleId":"M1","level":"warning","message":{"text":"README may be stale: 410 code files changed in the last 6 months but the README was not touched \u2014 it may no longer reflect the system."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e973e7a8d5d866995cbf78b120250fe7f132bf928812d48ca62e69aba11b9910"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add scalafix or scapegoat (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 29872 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm/maven/gradle/gitsubmodule: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, \u0060maven\u0060, \u0060gradle\u0060, \u0060gitsubmodule\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7004acfa27941126c48d6405f85d182c6aa40bbbdb35ba12a2de071cd6b6dee9"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060executeTest\u0060 is async and calls unsafeRunSync \u2014 a blocking call inside async code stalls the execution-context thread, and every future or fiber scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala-3/bleep/mcp/BleepMcpServer.scala"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e837c0ee2a445ff8cff2244165845835780bd4bd5318f810b576207b03ce2eb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060getOrCreate\u0060 is async and calls unsafeRunSync \u2014 a blocking call inside async code stalls the execution-context thread, and every future or fiber scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4a893c0067dd5161cc0e5dcc6854202e85bf290c8b3b102632e6c5b31e1e57"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060release\u0060 is async and calls unsafeRunSync \u2014 a blocking call inside async code stalls the execution-context thread, and every future or fiber scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"980b2afe999a9e96210016988f802631a2f4f42cfdc1f900dd07dc2ec48582e8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060loadContent\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/scripts/snippet-extractor-plugin.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc55129baeea6070bf06649c73f21ff10735eb05efdac3ac5c121917b388f89e"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 3 typed \u00B7 8 plain JS \u2014 the untyped files are bleep-site/scripts/extract-snippets.js, bleep-site/scripts/latest-version.mjs, bleep-site/scripts/remark-bleep-version.mjs, bleep-site/scripts/snippet-extractor-plugin.js, bleep-site/sidebars.js, bleep-site/src/components/HomepageFeatures/index.js (\u002B2 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (120 lines \u00D7 2 locations): bleep-site/src/pages/index.js:14 \u00B7 bleep-site/src/pages/why.js:16 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"45853048d3f12167f635e0f8067956ac61ba8957d2f99762a382a24f60f6a486"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2 locations): bleep-site/src/pages/index.js:1327 \u00B7 bleep-site/src/pages/why.js:1083 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c15283cd22a55f7934b7ffef4282f48c0c05e86dcdb4ce9b54e32f0f103309"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): bleep-site/src/pages/index.js:1287 \u00B7 bleep-site/src/pages/why.js:1044 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c9bb68f1cc92f8a48e154f25d31c57e46b5320d8f46285e693333b4600fab6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): bleep-site/src/components/HomepageFeatures/index.js:23 \u00B7 bleep-site/src/components/HomepageFeatures/index.js:49 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/components/HomepageFeatures/index.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4411b172244ec464d9a6df91c6b189ee5601250a22dbe7116dd819718d0cd0c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7 locations): bleep-site/src/pages/index.js:443 \u00B7 bleep-site/src/pages/index.js:541 \u00B7 bleep-site/src/pages/index.js:691 \u00B7 bleep-site/src/pages/index.js:907 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8cf0e182580543206dd82055d5aabf7ca57d6aa0843522bbae56e3adf9e9b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): bleep-site/src/pages/index.js:1179 \u00B7 bleep-site/src/pages/why.js:686 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a72488273860bc5c8957e4c6e8da37b0c153d014a57ebd68bbeb5e2cf661e1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): bleep-site/src/pages/why.js:543 \u00B7 bleep-site/src/pages/why.js:1001 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/why.js"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"d256e23bd50315f9835421b82e7f6d05300783d035d2c16362dafef9c384dd25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): bleep-site/src/pages/index.js:225 \u00B7 bleep-site/src/pages/why.js:206 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb988f4368700de6d1d48cb452cba84d14d70e8c19096d980af45f3d024b960f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): bleep-site/src/components/HomepageFeatures/index.js:6 \u00B7 bleep-site/src/components/HomepageFeatures/index.js:28 \u00B7 bleep-site/src/components/HomepageFeatures/index.js:51 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/components/HomepageFeatures/index.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c55b96fbedd890ec63abe7ed9701a011bac3f4b4b198e7e2dd6b0d78258d96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): bleep-site/src/pages/index.js:190 \u00B7 bleep-site/src/pages/why.js:174 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f81f3f54b1b27a5906d9b5922a72af018e50a40694fcedeb993539df9e4977"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): bleep-site/src/pages/index.js:306 \u00B7 bleep-site/src/pages/why.js:552 \u00B7 bleep-site/src/pages/why.js:1010 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d327a01b79bfc40ac5c2da0ce96651b42b603d1cae036af7fb1797559dfce0e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): bleep-site/src/pages/index.js:724 \u00B7 bleep-site/src/pages/index.js:758 \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":"bleep-site/src/pages/index.js"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"0493791387e493c2b6e3a69886a3d2df4dad1a86f3b73ec019c8d83e4011f528"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): bleep-site/src/pages/why.js:605 \u00B7 bleep-site/src/pages/why.js:624 \u00B7 bleep-site/src/pages/why.js:644 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/why.js"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"31190830398142599d733d73eeb9b97810e1b38bb00c8aa3f213fb18d8fbdf7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): bleep-site/src/pages/index.js:677 \u00B7 bleep-site/src/pages/index.js:958 \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":"bleep-site/src/pages/index.js"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"72256755e64c5298dc376423ee989832a7097e9cc5fd64c77030984973a2bba0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): bleep-site/src/pages/index.js:1144 \u00B7 bleep-site/src/pages/why.js:817 \u00B7 bleep-site/src/pages/why.js:944 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00eb151cde7160dfcd2179669629afa6d02795abec1438a9de5fffbcba4a9a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): bleep-site/src/pages/why.js:326 \u00B7 bleep-site/src/pages/why.js:958 \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":"bleep-site/src/pages/why.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d9975f6ab0d8db570be1f9c477e4f1db121d38ae6b626131f5e1d6150788e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): bleep-site/src/pages/index.js:491 \u00B7 bleep-site/src/pages/why.js:490 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd7da4d66db712bc664b89b600c4a29b672f3e8411a4c84a45616fc2886a853"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): bleep-site/src/pages/index.js:580 \u00B7 bleep-site/src/pages/index.js:949 \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":"bleep-site/src/pages/index.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6c4c3f9b285ada6b86230f8bdfd6047f19b0801f79a00cc1096da2aeb5b9dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): bleep-site/src/pages/index.js:940 \u00B7 bleep-site/src/pages/why.js:929 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"1917c449d46bb8ccc0ee8de7d08e4a53d71bad838e194906e5191c88f6c0d251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): bleep-site/src/pages/why.js:401 \u00B7 bleep-site/src/pages/why.js:417 \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":"bleep-site/src/pages/why.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5da5c35eb90a4e56f37dfb41a60fe9cc5325edb58f44191497d0a2b256cf1b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): bleep-site/src/pages/why.js:620 \u00B7 bleep-site/src/pages/why.js:640 \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":"bleep-site/src/pages/why.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0544afefe7216f364cf84f0dc19cdd6c74898e0f1009c767a1706e73c829303"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): bleep-site/src/pages/index.js:325 \u00B7 bleep-site/src/pages/why.js:605 \u00B7 bleep-site/src/pages/why.js:624 \u00B7 bleep-site/src/pages/why.js:644 \u2014 the 4 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f96fd6bd0ab8f118a703b3e10fd70af7e527295cfb099d57e49db2fe77c7de5"}},{"ruleId":"R3","level":"warning","message":{"text":"bleep-site/src/pages/index.js: 1347 lines of code: bleep-site/src/pages/index.js has 1347 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"295f2659c78af39cca18b1262d69f69c3d12146491f199aff797e1f35a8bc01d"}},{"ruleId":"R3","level":"warning","message":{"text":"bleep-site/src/pages/why.js: 1105 lines of code: bleep-site/src/pages/why.js has 1105 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/why.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68d90c9cffbf29801e6c94aa2e62372ba59d085bd3d40c25701bc7b76613b4d"}},{"ruleId":"R6","level":"warning","message":{"text":"No test or typecheck script: test \u2717 \u00B7 lint \u2713 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"53484d7d02bbf1aa1fb3d1163371a5b52fa0aa7301d11eed5ec2dc836c72924b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~147 LoC): no import path from any entry point (6 application, 3 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/components/HomepageFeatures/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d845b96e90376c63a59f7abb0ee5e7e763a61c8288e6bbfcb4ad737164c1f5d1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~128 LoC): no import path from any entry point (6 application, 3 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/components/Snippet/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34f98d68f83cc5825b962f3ce5b4177b648f297d38ae8e682f6a8f772b521e7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~40 LoC): no import path from any entry point (6 application, 3 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/components/AsciinemaPlayer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2ebdab548724a785a06593fda66d080efb6f2c51c12e1c21e54448888bf843"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~30 LoC): no import path from any entry point (6 application, 3 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/components/PlainDetails/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da35fd5b14e8823b427b13d54c63199c6218c279a4d408ef9c61276cd359f2bb"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027@docusaurus/plugin-content-docs\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/sidebars.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05a77ee3a6123d7e3fb9f6189225f137f3e76829120c226d760abb19abb4e00"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027@docusaurus/types\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/docusaurus.config.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06ffc894e9b03016e83b2027443afc5f18e5768a39df30fe2354e41d9b190c0"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027file-loader\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-site/src/pages/index.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db3e7f3cc9c24437fb0e7b87ef1120ec31e4a321202df6b02f93182827735a2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@docusaurus/module-type-aliases\u0027: Declared in bleep-site/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a4c4b4b2b161a70b16e7e660297cb3b81078fb4abc7fc294c704b7167e8d91fe"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060MessageDigest.getInstance(\u0022SHA-256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/ProjectDigest.scala"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b10130a0ee48781499e73ef10a26237c673eef40ca553a0ee229db0882dfb5"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060MessageDigest.getInstance(\u0022SHA-256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-nosbt/src/scala/bleep/nosbt/io/Hash.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5d1feffad44836d993bac8bec4442f08ea8e6920fa68d79ed2929840d59252"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060project != null \u0026\u0026 BleepService.getInstance(project).isBleepProject\u0060 appears character-identically in 2 files \u2014 intellij-plugin/src/main/kotlin/build/bleep/intellij/actions/RefreshBspAction.kt, intellij-plugin/src/main/kotlin/build/bleep/intellij/actions/SetupIdeAction.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":"intellij-plugin/src/main/kotlin/build/bleep/intellij/actions/RefreshBspAction.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4091ec72952f00ad46b41129d2a2f2284bcd9a2a169467f9e4a2cad2bf5c63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isExcluded \u0026\u0026 scalaVersionMatches \u0026\u0026 platformMatches\u0060 appears character-identically in 2 files \u2014 bleep-cli/src/scala/bleep/mavenimport/generateBuildFromMaven.scala, bleep-cli/src/scala/bleep/sbtimport/generateBuild.scala. 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":"bleep-cli/src/scala/bleep/mavenimport/generateBuildFromMaven.scala"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb4639c074aa03283f471a2a825b5fa807240a33cbe11345b0f3a9b1e8c1fd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Files.isRegularFile(p) \u0026\u0026 p.toString.endsWith(\u0022.class\u0022)\u0060 appears character-identically in 2 files \u2014 bleep-bsp/src/scala/bleep/analysis/Compiler.scala, bleep-core/src/scala/bleep/commands/RemoteCache.scala. 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":"bleep-bsp/src/scala/bleep/analysis/Compiler.scala"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4b56cba144e8418e22ff63bc4ab7041d18c4f34ed18ce766ee4cf7511a7ed7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cause != null \u0026\u0026 (cause.getClass.getName.contains(\u0022CompilationCanceled\u0022) || cause.isInstanceOf[InterruptedException])\u0060 appears character-identically in 2 files \u2014 bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala, bleep-bsp/src/scala/bleep/analysis/KotlinNativeCompiler.scala. 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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4e33e1e11b33477e903f19d55cd7ef68cc9b8e60597d6a8500d84d783e0625"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cause != null \u0026\u0026 cause.isInstanceOf[InterruptedException]\u0060 appears character-identically in 3 files \u2014 bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala, bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala, bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala. 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":"bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8eb61f93bd97acd13641f0b9ab470fe25c38a49b249e4d9811fdbc0c098851"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060j.scanForAnnotationProcessors.exists(_.scans) || j.annotationProcessors.values.nonEmpty\u0060 appears character-identically in 2 files \u2014 bleep-core/src/scala/bleep/ResolveProjects.scala, bleep-model/src/scala/bleep/BuildPaths.scala. 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":"bleep-core/src/scala/bleep/ResolveProjects.scala"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"5799cfe9c2def675aa161f04a596818669aaf62730a72d82ea032e410cfe2384"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060java.nio.file.Files.exists(binary) \u0026\u0026 java.nio.file.Files.isExecutable(binary)\u0060 appears character-identically in 2 files \u2014 bleep-bsp/src/scala/bleep/analysis/KotlinNativeRunner.scala, bleep-bsp/src/scala/bleep/analysis/ScalaNativeRunner.scala. 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":"bleep-bsp/src/scala/bleep/analysis/KotlinNativeRunner.scala"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff5fa0782c576822cb6139f14d98e57eb11f54bcee75eabf310bf85851a5bbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060java.scanForAnnotationProcessors.exists(_.scans) || java.annotationProcessors.values.nonEmpty\u0060 appears character-identically in 2 files \u2014 bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala, bleep-core/src/scala/bleep/ResolveProjects.scala. 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":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2d1a58eb68f7b01bed4038c87bbbdaee1d37861fee24737fcb151be0d9ea95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.getName == \u0022exec\u0022 \u0026\u0026 m.getParameterCount == 3 \u0026\u0026 m.getParameterTypes()(0).getName == \u0022org.jetbrains.kotlin.cli.common.messages.MessageColl\u2026\u0060 appears character-identically in 2 files \u2014 bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala, bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala. 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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9b02ab608bf407fa117e17018274b331461d726a5ebba39a8709a41e7c2044"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.getName == \u0022result\u0022 \u0026\u0026 m.getParameterCount == 2\u0060 appears character-identically in 3 files \u2014 bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala, bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala, bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala. 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":"bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22de5d46d5025d21a1f487e1902d2fb2e0fab28b4a16de9c3e9aeff5880f9ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.getName == methodName \u0026\u0026 m.getParameterCount == 1\u0060 appears character-identically in 2 files \u2014 bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala, bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala. 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":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b239d7d91c95047002b6086f042c03a429f6da7301d44f30e6a163bf3a289403"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pathStr.endsWith(\u0022.klib\u0022) \u0026\u0026 Files.exists(path)\u0060 appears character-identically in 2 files \u2014 bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala, bleep-bsp/src/scala/bleep/bsp/LinkExecutor.scala. 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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20e3a48a34e4ec80b0ff2fb007b840e429d815b209291f0ff3f166da4a75ba1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == TestStatus.Failed || status == TestStatus.Error\u0060 appears character-identically in 2 files \u2014 bleep-core/src/scala/bleep/testing/BuildState.scala, bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala. 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":"bleep-core/src/scala/bleep/testing/BuildState.scala"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd8efabc25e1a8d6c719e479893a5321942e73eb0a2d772bc42b66e02044884"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): The JDK pipes both \u0060stdout\u0060 and \u0060stderr\u0060 of a child started this way \u2014 no \u0060redirectErrorStream\u0060, \u0060redirectError\u0060, \u0060redirectOutput\u0060 or \u0060inheritIO\u0060 is set \u2014 and here \u0060p.getInputStream\u0060 (stdout) is read while the child\u0027s end is awaited, but nothing in this scope ever reads \u0060p.getErrorStream\u0060 (stderr). The JDK\u0027s own \u0060Process\u0060 documentation warns that failing to read a child\u0027s output promptly \u0022may cause the process to block, or even deadlock\u0022: once the child writes more than the pipe holds to stderr (measured on OpenJDK 25 / Linux: 60,000 bytes finishes, 70,000 hangs forever), it blocks on the write, never exits, and the \u0060waitFor\u0060 or end of stream this code waits on never comes. Nothing fails loudly: the thread hangs and the stuck child holds its resources until something kills it. Read both streams (a thread or \u0060Future\u0060 per stream), merge them with \u0060redirectErrorStream(true)\u0060 before \u0060start()\u0060, discard the unwanted one with \u0060redirectError(ProcessBuilder.Redirect.DISCARD)\u0060 (or \u0060redirectOutput\u0060), or use \u0060scala.sys.process\u0060, which pumps both."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/MachineMemory.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f5cd675ff3cd3f3a3f4a6879639ac7a21f749a40f80c5e380ad94c3b531095"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): The JDK pipes both \u0060stdout\u0060 and \u0060stderr\u0060 of a child started this way \u2014 no \u0060redirectErrorStream\u0060, \u0060redirectError\u0060, \u0060redirectOutput\u0060 or \u0060inheritIO\u0060 is set \u2014 and here \u0060process.getInputStream\u0060 (stdout) is read while the child\u0027s end is awaited, but nothing in this scope ever reads \u0060process.getErrorStream\u0060 (stderr). The JDK\u0027s own \u0060Process\u0060 documentation warns that failing to read a child\u0027s output promptly \u0022may cause the process to block, or even deadlock\u0022: once the child writes more than the pipe holds to stderr (measured on OpenJDK 25 / Linux: 60,000 bytes finishes, 70,000 hangs forever), it blocks on the write, never exits, and the \u0060waitFor\u0060 or end of stream this code waits on never comes. Nothing fails loudly: the thread hangs and the stuck child holds its resources until something kills it. Read both streams (a thread or \u0060Future\u0060 per stream), merge them with \u0060redirectErrorStream(true)\u0060 before \u0060start()\u0060, discard the unwanted one with \u0060redirectError(ProcessBuilder.Redirect.DISCARD)\u0060 (or \u0060redirectOutput\u0060), or use \u0060scala.sys.process\u0060, which pumps both."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd73533cf2615166da9ca3bb54d9c80871be8c45c356082640fd8dfd7e9af7ca"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Files.walk(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.iterator\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Files.walk(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts-dev/src/scala/bleep/scripts/dev/BspStress.scala"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0641aa4704b6fa22161b4207f55dc04bb07dfe767e0af3c013a753b93b7c9873"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Files.walk(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.forEachOrdered\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Files.walk(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/packaging/createJar.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10a3eebf46434a3f7f936af5e1c9d2cdc600686a062b89b83406be2a7099ae4"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Files.walk(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.forEach\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Files.walk(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/BuildProjectMergeInto.scala"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af37d00dca4331341479fb0be6d063f478064c8faa2cb06f3bb918ab94ecbd5"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Files.list(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.toList\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Files.list(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/commands/SetupIde.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6494515286f9948dce42d99b5f007f90efcf8136cb1074546eb8b2281dd3420"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Files.walk(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.iterator\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Files.walk(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafdc61943f3652e8073af8305e390d104425f8f92ccd401ad2bf0ece863c01a"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Files.list(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.iterator\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Files.list(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"b726012bc6315e1ba896e5e1f721d7a0e98baab1f68824fea8e5eea255e30fbf"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Files.list(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.iterator\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Files.list(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a517bf0f1e313e2869aad2fc8002c8d3fe39e22fe1ec4b68fc4ad091e56bfbd"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Files.list(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.iterator\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Files.list(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaJs1Bridge.scala"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1506ceddb3cc156d4087191e50221c751a9bc8c0e0526c4fe100f653642a6e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"scripts-dev/src/scala/bleep/scripts/dev/BspStress.scala"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5f06f28cce258960bd4ca4f0c4aeb2354750da4ee908f84723a4a023945f5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"scripts-dev/src/scala/bleep/scripts/dev/BspStress.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e02a81f89dc9cd4825599812e102fb86dcab214619e40a2dab6dfc93413e775"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts-dev/src/scala/bleep/scripts/dev/BspStress.scala"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc389c9564b2e634356e132e20c2e94aa46ba11877751d1d516a0e136a34cb4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts-dev/src/scala/bleep/scripts/dev/BspStress.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5328d857ac8f08f802a54b400d939d24bc2e5165bd56fd5f3949bed79ae06299"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/TarGz.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29433cac0b18b640234a6aa10375c5f8ad79e6f4e45eea6b07db447e10fa8e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"faebe189f99ccb2a7e3e5d6cc31f51a0543c3309993c812eec8aadd2a2c63228"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/FancyBuildDisplay.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e18a85495437766d78919488809af527a62e0af88ab398bdb650e833de16a5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"983e839fa961b3811ddc95c6bf30610be4f1013be4e218dd38c6c5ef3e63f8e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"736ff5d27b842091ea69eb562dca0f2ef5725f546baa7037ecfb368e4c236482"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"00eea3aabcff2e7aa9be2f654b76feb461d7d8bad4dcfa8041ce70abbf75f9cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case NonFatal(_)\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":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80aadc7b22db8f9a29d67f04de82f2f237b072d57364312319768481054fe02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"226d14dd4d239291ffd62bf1d71c6f72789403c2fc924357bbd62bc52c8c8c18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeb460812dcdec91ec36f92a13b8707ffbc697d2fab150bd87a3520b85d76f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case NonFatal(_)\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":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd62a92232ca909ce0679e9524e3ca38b6859d891c29dd521d7ce3a8cf89389"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33f13cd44cc98335a31ab6660d3a2d2ccca062fc3b4699b67cee4d4221667da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99fd72ff2f25daf0d99da2306d668b3f5e0403b0fc68c5e48bbdaef329250ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"5261ee518bba217f5dde41631ab38c775b5c701418587c3c3e138937b4c2f874"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"6461e758999d0e414c29dcb9420a7976d551a089e7c62351e72f7e165d94006b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case NonFatal(_)\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":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"9181f7602270c9955b90a49efe0cbad4c1522e2a46773e5c5ec9fd9f8a4ab18d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ce6820ab46c6ca56a9ffdae38dc8b85f8281a2d70d22583ea8b6be49fb609f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0b7cb7304875dedf1cf32d2ccd526c3b248d926844e3a68cd22aa579c6dbf0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0fd9cd25b9d339c9783f140b9a26a4dfc0bda3501c8e976d45c31ddc90ae49"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case NonFatal(_)\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":"bleep-core/src/scala/bleep/internal/gitOutput.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b2598beb830a689a6cfaee70d9c9a2809fbfbe590d327be75ea384d68c0fa4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-core/src/scala/bleep/commands/ReactiveBsp.scala"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"f160352aa10d0c4e234c4f2c7b33c632bb6026ad99207afa3a0ca6dfb283291d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspClientShutdownHandler.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e292d781883f0eefdf2ebde6e69755fc5ec086ed52cbc5811b1054c943c82fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspConnection.scala"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3320149766cd4876d6c40ffa0e31a6830ab0f110d70c185793c0aa2f7b7a44"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspConnection.scala"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0c871c66fbb7b6c5156a3e3de18abb7d135f4daee44599a3fc68a83ce12450"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspConnection.scala"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98469f1f1cfff8703d233067dbd6a8f847bf4568d1168c901754ef9c79daf9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspConnection.scala"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a59b1babcc64c61b50de22a5cb2e06b9a6f1556726b1733f7e85d99ec887c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspRifle.scala"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbc4f4a31b6a5d64ac50a9eaa207e35e5661695715dbb50761a062b73be55e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspRifle.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3119b4502f525810f2f1bd84c452df64ca8d8d4ba39e0785fcb76551c114a7ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspServerOperations.scala"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d514413685ed2b0a3e91ec0d53701ad5fedea74bd0a35941de233ccaf031b50d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspServerOperations.scala"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce292a002c8ffc43ab5be8c710d0be6bfa694c74a2e9cc286372cef2537a45ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-core/src/scala/bleep/bsp/BspServerOperations.scala"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d5e4e50f1052904cfb85dfce1b456e0909a2fdc02d4bb05a2e9d201ffa31a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-core/src/scala/bleep/bsp/BspServerOperations.scala"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdd027f86e793e3a5b4e69dbb015f1058a8cde78f11a56bebc411a9bc753fc2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspServerOperations.scala"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"412859893c3136300613a11d9cd833a5bfd2af7dcf0c847b232f6d40739bf2a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-core/src/scala/bleep/bsp/BspServerOperations.scala"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b13dbb462a81a1770dac5a7f7fcf49525d9c4836c9d4e3a29dd66d08c91983"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspServerOperations.scala"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"278835eff48906cbf35148bfdb65a17a961545bcfadf9630d9332091158a644c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/ServerAdminClient.scala"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a399c5a18a54a91ceecee11f20892cea7ca2e21fbaadf9c49118dbf864a9d622"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/SetupBleepBsp.scala"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b75aafbd32670414ee0ecf580bf2eb84552724f2f43c8a8e3637a0dca854da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-core/src/scala/bleep/analysis/NoopManifestStore.scala"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf6c51a89f7d6186c760188ddc30cd3f1718a888f45fdd4bf5855584e0fcb53"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/bsp/BspProxy.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac5b969afcb4b6e2d70e38aa9f90175c4b4d20ac171a0c16d2c70f0a621339f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/bsp/BspProxy.scala"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2083f339b80dbd2f5a9359c00e510e75723ba0d69cf1e79d06b7c774bff86605"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/bsp/BspProxy.scala"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"751e9aa487e0d95ef5f4405ea5beea521325ce5491e9640744573b0d07f1b979"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/bsp/BspProxy.scala"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dc61cdf33f268afe7d9b4efeea0f342363446f0387ce21606b30a49c642d93"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-cli/src/scala/bleep/bsp/BspProxy.scala"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb01d2a6e8de882fa5a91ccecabc4876818428d4ec3f72c102600bcb0c30054f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspMetrics.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6efcbae1fd885fd7724b441413784fbea1154a2daf2997c204edae68c15be09"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspMetrics.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a728d0fe31043ec2e2b79fa47028d0fdb2bb87eacb52af45d7eefc6562cfecb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspMetrics.scala"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c2ea51604290c99c00de0a4bee67d7915080be47fad5c92616001046d78ac3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspMetrics.scala"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeb8e80ca1c12c24fc437759c7e455f325e2abd12f77f93210ca301509500ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a9da65d4723494919028c8eab106533837608a296bb8321dc334555356dbdf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"146aa1e5bc10f83684dde63c35abbaf2c20f2341df03f6b2210b56c5d5ac9d72"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"2215f4d9baf79226e5c8c1aa6cd81af2ee3693b73f3c7a66f163a8b7a4f2ea66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"560936d2a0b84ab1b37c419b0f92294db0eeb9c7d35412005946b0d5caea69d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ca1e8608092865e238c4dbd7a33741b91408d8db4b6d0c11931701a672df45"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ae961e830083723e308d7006fe6c493a70d57b4517bc8fc0b04ea51fcea696"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a967731ae5904d8ffd097dd9dcbee8939be43914f06b853948f5896fe5e9594"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"083dc872c48cc3c2525c356b4f3cd49222e7ff5a7b9bff00cd6c9a50f51cd2fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e81bfba2ce35e9a4962038d9aefbdca991c35691759b4c81b945f0c4b1489a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/BspServerDaemon.scala"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"b340973100ed0279f61a7ebb51f5eed3844436431250f5c6517b0dde1055080b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/InProcessBspServer.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"07705f9fe8551c7a365da07e3b417e5c79d5331dcdbdea538f71cc4e9e062fd2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/InProcessBspServer.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"089c75f255fdd39c2e44861bfec775c0065ac32441dbf36516c04e04e5db93ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/InProcessBspServer.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f45b6021bfe0c545692262e54dc133e2bb81571bb13410223f9b080a764eb6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/InProcessBspServer.scala"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec5921fcfdeb6e81700627c5d2742873cea1d5a6dffb95dfd1771c5a4045f2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/JsonRpcTransport.scala"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3fa36925377b9fee494c2ed061d65eb9981cfe1fb25e8b4d3f55ffc2348c40"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/JsonRpcTransport.scala"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"33eb782d815d573d52cd2e0e07e2102fecd23849ccec026ad6f49c5593eeb002"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0ef53441f9af4edfa7fd0a44de5b234a6d2b9595740be9efd108aaa41346e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/MultiWorkspaceBspServer.scala"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadd7db80aa858c67f4999b44b759e8433e58d8caeb27f077e5f180b4da47b01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/ProjectLock.scala"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b213a1ca1a772016ef5dd1e1f4ab7c4efa2fba37f86f2777cfbf2187ee20069"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/ProjectLock.scala"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb86836843dba7ddde04a6b17d4fb975d88367022717914dc0f8943cb66f4155"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/ProjectLock.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d941f24ff3ef95d99cce1d1055b44cc9e4aa7bef126a6fea33b65c4b45fefd81"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/ProjectLock.scala"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad016ea5503b1a67205a221019789a41944c9f6b48583e10319449a0cb3b1d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/bsp/ProjectLock.scala"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea23c336ec63fa5aff9695f8ba8a41eedaecd63f0804916afa2db1ed8635fad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/bsp/SbtTestingBridge.scala"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"24df271a079283ea4720b230d342c9ac732666f131b8b1ab368fae90524ff550"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/AnalysisCache.scala"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7635c799bc0e5ff5e6dd62fdfbebabb80727cc9e0a87819841e284176349a5f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/AnalysisCache.scala"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"56417ae05b2e81e720b3a35ae2e84a470e420bc89668dfef9e1cf34a7267a5aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/CompilerResolver.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8c07587f03a4278fdb92d281bcf155b118317c0d803b893c8e4df202ee7cf8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"786865bc719ab3e263217cdeb87f3690b02cd446a62c62be75ca6506a78e1233"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22914ef8ef188be677799ec96e3b336ce8b89432f8d9f8c830c59cec552cd91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/KotlinJsCompiler.scala"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"445148c0d28bfb5ff7040c3dd3488ab29df597770ca7b778998d9e69676e8704"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/KotlinSourceCompiler.scala"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"22834ecffe49d44b93550644f5ce424e1ddcc11fce4aea5f8dd92084dc1d8648"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"726267d37d1beb02ea303a1d256e6f7a600731beb69b71633ee45e80c530a3ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2929815d3d047aedc6fa5dee46cef88aa968ac8a988312a27afa30ca811fb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83d19cf4f15c250a885db48bd07b2f8482c0240d626a97d2f970e541e1bc6b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46351045f0b513711f90fcc99b8027e8d115b868558f4b8d9269ba502971a9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"249e9968378027fb7e19d0d6fa3693ade82ef3dd9e2294672cba5a960c14d255"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8a9c3ccc9e4aeb38b10b7299ab491b3736f5f491b5ae76e70b6d51b85fdd75"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"9276393efc5700a038e2e92c0cd1bc9d62acb216e62b7ebd47f9a6c4d98d9960"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ProjectCompiler.scala"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c33ea102fd620035780186a19de037b9c999fcfe0fa3acd4f0a3fb7f3b7ba9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bbc9b4fd33815db6fbe26cc7d7aaef40c99cf1cbf77648e46ad194965c003b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ScalaJsRunner.scala"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fde5bd9dcd840fa509d0b3b69ecadabc3bf92235fd39968203f6f83e26175f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative04Bridge.scala"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fecbb7854b66adccfeb8789b489e8d0004ca46d6185419129d82ec42a300b27"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60b0364322b2363c3604751d53e9d5c29b22ba8abd1861d2e612a48364e669a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ScalaNative05Bridge.scala"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7359df55325a24ab90e83ca820900105264d435db082a39f8b93f29482af8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f57d571050e18f03cfd824968e40352d10f7eacf2b6fafada1b7817be79708f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp/src/scala/bleep/analysis/ZincBridge.scala"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0499a36ec1566f7ba521d05f75f0398a434e7361c4344c5f6118307ac5fb6ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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":"bleep-bsp/src/scala/bleep/analysis/ZincSourceLookup.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"daca092efef206ffcd15ed30442d7ff3ca6c1bcffaaa16245d58ab2cf5954322"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 463 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060runCommand\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch case or in the Scaladoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-bsp-tests/src/scala/bleep/analysis/ScalaNativeLinkIntegrationTest.scala"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"92902dcffc6f70042cf2a45cff06817969011d21659e29eb3db4795c7232a6e9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060hashContent\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch case or in the Scaladoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/analysis/NoopManifestStore.scala"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b499a3d31dcd45dfaa08b42d18d558f161b18b136e7ab6b6c4eaac8531c50c42"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060directorySizeBytes\u0060 swallows every exception into \u00600L\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch case or in the Scaladoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/bsp/BspServerOperations.scala"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfc4d5126edc7ccac394ec8f8b72d3292c2c421def12f929dfd31c61ea7e7cf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060dumpThreads\u0060 swallows every exception into \u0060Nil\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 case or in the Scaladoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"4551eecde01397e05f3a78798767cbaf8f3eebbe714c3d041f5c4072f21738e7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readExitLog\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch case or in the Scaladoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bleep-core/src/scala/bleep/testing/JvmPool.scala"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaf56cd5ba146394fc85ff2fd78104c7f1293c8db9ec796c0e4a20b6551a1c0"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-835","guid":"4d510828-22d0-5353-ad86-51ed0cae0b37","name":"CWE-835","shortDescription":{"text":"CWE-835"},"helpUri":"https://cwe.mitre.org/data/definitions/835.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"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":77,"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."]}]}