{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"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":"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"CompletionEngine.do_expand (cyclomatic 38): CompletionEngine.do_expand has cyclomatic complexity 38 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"459f8fad2266d82f86c62323a24a917003febabea2991450d1612ade29b0e806"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHandler.format_environment_result (cyclomatic 27): RequestHandler.format_environment_result has cyclomatic complexity 27 (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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced9c39db57b7eddc6bca9d0c0c8ead4bf16420de0f7eee2e716cc8a0db5be9f"}},{"ruleId":"D1","level":"warning","message":{"text":"CompletionEngine.get_module_funs (cyclomatic 25): CompletionEngine.get_module_funs has cyclomatic complexity 25 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f7739c0b4166daa8a1db3394f44b700f06ee6cf8f262906803dc22c01d89fb"}},{"ruleId":"D1","level":"warning","message":{"text":"Locator.find (cyclomatic 25): Locator.find has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/references/locator.ex"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d4d32554e26e35caf78d83f14850cada48ffe35b53bdfd052a97d636515eb3"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectionRanges.ast_node_ranges (cyclomatic 23): SelectionRanges.ast_node_ranges has cyclomatic complexity 23 (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":"apps/language_server/lib/language_server/providers/selection_ranges.ex"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b38929eb575d1658a703243f5675c8265490e30a274ff673ad0f67b322f3821"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.launch (cyclomatic 22): Server.launch has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":2152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc71f03c77927b7bf81cfa61c83984160ab14825406d70a5fbb72eb5949b25bf"}},{"ruleId":"D1","level":"warning","message":{"text":"Completion.completion (cyclomatic 22): Completion.completion has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Completion.completion_kind_gen_lsp (cyclomatic 26) 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 function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/completion.ex"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6bc995c4690c2f94da5bb7f0c8f9e3d220e7396a25c9edc83a54dada9ca67f"}},{"ruleId":"D1","level":"warning","message":{"text":"LlmDocsAggregator.aggregate_module_docs (cyclomatic 21): LlmDocsAggregator.aggregate_module_docs has cyclomatic complexity 21 (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":"apps/language_server/lib/language_server/providers/execute_command/llm_docs_aggregator.ex"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db47edd96702bf552c2ed25adab78386ea160b66503858e76cf6416b9d916a6"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHandler.format_single_doc_result (cyclomatic 18): RequestHandler.format_single_doc_result 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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0a7fc07fc9d2b86679ff75d71cf39d325cc19babaadcb9ce8e87cb2720d00e"}},{"ruleId":"D1","level":"warning","message":{"text":"Callbacks.add_callbacks (cyclomatic 18): Callbacks.add_callbacks 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":"apps/language_server/lib/language_server/providers/completion/reducers/callbacks.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c954723a2748b2ac63c3cf00cd47a2f2f2cd141f472383d4b5b0b1c54218d56b"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHandler.format_dependency_section (cyclomatic 17): RequestHandler.format_dependency_section has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"509668efdbc3b99ad6dfa96e36f2a7eca5a21665c1e96fc6a24f821862f1ccad"}},{"ruleId":"D1","level":"warning","message":{"text":"Docs.all (cyclomatic 17): Docs.all 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":"apps/language_server/lib/language_server/providers/hover/docs.ex"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c3ced589c4be498d6e4374655ff17b048c582981290b6dab41d2957f8caa8f"}},{"ruleId":"D1","level":"warning","message":{"text":"CompletionEngine.get_metadata_module_funs (cyclomatic 16): CompletionEngine.get_metadata_module_funs has cyclomatic complexity 16 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e3204939705423abbd4eb8073e067fb9a8f622681f5260850b4a0bbb231b12"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHandler.format_type_info_result (cyclomatic 16): RequestHandler.format_type_info_result 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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"7767b5bda0b8d079021fac9f50bced5c1a1c45ea5c0fe7a0d5fa9f360230abfd"}},{"ruleId":"D1","level":"warning","message":{"text":"Locator.find (cyclomatic 16): Locator.find 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":"apps/language_server/lib/language_server/providers/definition/locator.ex"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a373e8142419be05b9aa1bc62a49ad34c101f15fd911fc472ae0a8bb9173fe33"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionEngine.get_module_funs (cognitive 58): CompletionEngine.get_module_funs has cognitive complexity 58 (threshold 15). Drivers by points: if/else 27 (45 pts), match/switch 5 (11 pts), boolean chains 2 (nesting depth added 24). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ca3da8c5e53563296a99d9a5beb8adb8fce79678acda4239ece7fe9e72c16f"}},{"ruleId":"D2","level":"warning","message":{"text":"Locator.find (cognitive 52): Locator.find has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (26 pts), match/switch 9 (23 pts), boolean chains 3 (nesting depth added 27). 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":"apps/language_server/lib/language_server/providers/references/locator.ex"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"643276fe1f8eae0a45f3634f761d6a7b0ec37e6d367ae394bda9580f8e76f5a4"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHandler.format_environment_result (cognitive 49): RequestHandler.format_environment_result has cognitive complexity 49 (threshold 15). Drivers by points: if/else 32 (39 pts), boolean chains 10 (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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"787a64d30aef887d58b5458aaf63e0991d965098e59b7d252e80bb8437059f24"}},{"ruleId":"D2","level":"warning","message":{"text":"Docs.all (cognitive 40): Docs.all has cognitive complexity 40 (threshold 15). Drivers by points: match/switch 7 (21 pts), if/else 8 (18 pts), boolean chains 1 (nesting depth added 24). 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":"apps/language_server/lib/language_server/providers/hover/docs.ex"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85a59157151cf46241aa74c0551b91d4c98ad54fa66d67e03391400f37bd98e"}},{"ruleId":"D2","level":"warning","message":{"text":"LlmDocsAggregator.aggregate_module_docs (cognitive 38): LlmDocsAggregator.aggregate_module_docs has cognitive complexity 38 (threshold 15). Drivers by points: if/else 25, match/switch 10, error handling 1 (2 pts), 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":"apps/language_server/lib/language_server/providers/execute_command/llm_docs_aggregator.ex"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f00689a73fcdebd2e5dab90284421a1b76db27936991be5bfe5108e708dc74b"}},{"ruleId":"D2","level":"warning","message":{"text":"Locator.find (cognitive 37): Locator.find has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 6 (18 pts) (nesting depth added 23). 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":"apps/language_server/lib/language_server/providers/definition/locator.ex"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ce800995235ec76475d1def9b75c50e15269ad6c565eebd3d1149d56e87398"}},{"ruleId":"D2","level":"warning","message":{"text":"Completion.completion (cognitive 33): Completion.completion has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (22 pts), match/switch 4 (6 pts), error handling 3, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/completion.ex"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a8022b3cbf12b8622843f80827a58ae79e41ff2020e97c2078fc211bcc28ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.launch (cognitive 29): Server.launch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 7, match/switch 1 (2 pts), error handling 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":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":2152}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c734aeb3737ba652e38bd0265da8860dc236cf43b8f8e0807af2dd34b949ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Callbacks.add_callbacks (cognitive 29): Callbacks.add_callbacks has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 9, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/completion/reducers/callbacks.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"18282baf1b42eebcc5580f7f265a9a750781c173f675e75bbac146caad330f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionEngine.get_metadata_module_funs (cognitive 28): CompletionEngine.get_metadata_module_funs has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 6 (8 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 11). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36d43d0d3c10edc2784d5424f8d6c733b9f9b5e0eedaabf601fdce2563ce7da"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectionRanges.ast_node_ranges (cognitive 27): SelectionRanges.ast_node_ranges has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 15, if/else 8 (10 pts), match/switch 2 (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":"apps/language_server/lib/language_server/providers/selection_ranges.ex"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0531addadb856fd553ac18960919aa1caaffe76c5409797910a898d85e4042f3"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHandler.format_type_info_result (cognitive 26): RequestHandler.format_type_info_result has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 7 (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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cf7f936a31ab2cb2c584eabac8f21e4208496c594438aabdbf357d90db6a07"}},{"ruleId":"D2","level":"warning","message":{"text":"Locator.find_outgoing_calls_in_metadata (cognitive 26): Locator.find_outgoing_calls_in_metadata has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 7, match/switch 1 (4 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":"apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"889673a2026a468671c2f19b70ad026e8994629fd71458122abd55d6e1bca438"}},{"ruleId":"D2","level":"warning","message":{"text":"Signature.find_function_signatures (cognitive 26): Signature.find_function_signatures has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 5 (14 pts), if/else 6 (11 pts), boolean chains 1 (nesting depth added 14). 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":"apps/language_server/lib/language_server/providers/signature_help/signature.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"503ceaa46dd69c19e4f61ae4622c57a1f493ea0821c5cd892bb4ad9bdc38e810"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHandler.format_single_doc_result (cognitive 25): RequestHandler.format_single_doc_result has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 5, 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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac84a2cb6e8dcef3c9364e4536ae65237e48ddda55e670a2cc0c0d5e96d6d82"}},{"ruleId":"D2","level":"warning","message":{"text":"LlmDocsAggregator.get_documentation (cognitive 25): LlmDocsAggregator.get_documentation has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 7 (9 pts), boolean chains 3 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/execute_command/llm_docs_aggregator.ex"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cec36dfe8f01f58c4bf24b61fea555a998aa45acd48bc69881ee2b8b3e3713c"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionEngine.do_expand (cognitive 24): CompletionEngine.do_expand has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 3 (6 pts) (nesting depth added 8). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23a0f1fcce21e632276681283c5ca4682b735becbbefe84e58df409522d65ab"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHandler.format_dependency_section (cognitive 24): RequestHandler.format_dependency_section has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16, boolean chains 8. 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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1dea005a0b2341e00e95ab8128ae6c89a87b68e917fdbb258d77eb87b77111"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.set_project_dir (cognitive 24): Server.set_project_dir has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (21 pts), match/switch 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23b8830777815dcd1e10fa0575d9a3f52f489415d9141303bdb07f0bb7d1e12"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownUtils.transform_ex_doc_link (cognitive 22): MarkdownUtils.transform_ex_doc_link has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 3 (5 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":"apps/language_server/lib/language_server/markdown_utils.ex"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddfb80a1b98f11598ca8b587be782faded22920ac942a8ed38188d20b11318a"}},{"ruleId":"D2","level":"warning","message":{"text":"Completion.item_to_gen_lsp (cognitive 22): Completion.item_to_gen_lsp has cognitive complexity 22 (threshold 15). Drivers by points: if/else 20 (22 pts) (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":"apps/language_server/lib/language_server/providers/completion.ex"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b24f265ae201d23bb496f9fea51117afba174305db8990e66b08fc36385e3e"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.set_settings (cognitive 22): Server.set_settings has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, error handling 1 (2 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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"baddb43ff5afd649fa9c9cdae9fc7d3db92b76ea539eec561ef71fc9cff4fd7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.trigger_build (cognitive 21): Server.trigger_build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 3 (6 pts), boolean chains 2 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb768c9ad8eb70cda00f8d971883c40de673cb09003229952e827b7d0ddb2a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.attach (cognitive 20): Server.attach has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, match/switch 1 (2 pts), error handling 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":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"397027c2d21a51eb4679dd1f4ccd3f30f9238c3de2231cf358690c645ea40765"}},{"ruleId":"D2","level":"warning","message":{"text":"Record.get_field_types (cognitive 19): Record.get_field_types has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/completion/reducers/record.ex"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b39895ab33eb33dcb345a0b702c69f6973b01b4e02cc650d2b13f938471a69a"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectionRanges.container_ranges (cognitive 19): SelectionRanges.container_ranges has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, match/switch 2 (5 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":"apps/language_server/lib/language_server/providers/selection_ranges.ex"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4722ea39591ef6db41ca88e5dba3167a4863342e2cb843aaae72b80703abcbb"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceSymbols.index (cognitive 19): WorkspaceSymbols.index has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), match/switch 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/workspace_symbols.ex"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be1ee40f48b247af42cc71f31444dd0924f2ed93be35822ec4947b32e524997"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handle_request_packet (cognitive 19): Server.handle_request_packet has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 3 (5 pts), match/switch 3 (4 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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf60dfeed5affc12909447756cbead660983aae53658ca648fc3aaadf1307178"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownUtils.transform_ex_doc_links (cognitive 18): MarkdownUtils.transform_ex_doc_links has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (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":"apps/language_server/lib/language_server/markdown_utils.ex"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccd5bdcade6b5710e323fb1468ba772b5bc0439b378338637967dc83384283d"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentSymbols.extract_symbol (cognitive 18): DocumentSymbols.extract_symbol has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (9 pts), if/else 6 (7 pts), boolean chains 2 (nesting depth added 5). 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":"apps/language_server/lib/language_server/providers/document_symbols.ex"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e8856910caff974aebf28a846118d73026f104844aa3c49c6f83e90a80da44"}},{"ruleId":"D2","level":"warning","message":{"text":"Location.find_elixir_file (cognitive 17): Location.find_elixir_file has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/location.ex"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2b0e623730f85d7ba7326365cf9fd0537e2cf9bdeaa9629e96c6b779827be4"}},{"ruleId":"D2","level":"warning","message":{"text":"LlmImplementationFinder.read_source_at_location (cognitive 17): LlmImplementationFinder.read_source_at_location has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 3 (6 pts), boolean chains 2 (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":"apps/language_server/lib/language_server/providers/execute_command/llm_implementation_finder.ex"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0014ca4eb028ed6e576ff6b544b29c8ce18cda184ee89f2ef59f67284261b1cc"}},{"ruleId":"D2","level":"warning","message":{"text":"Docs.get_all_docs (cognitive 17): Docs.get_all_docs has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 5, boolean chains 2 (nesting depth added 5). 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":"apps/language_server/lib/language_server/providers/hover/docs.ex"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bc22cd64f6ff149ea1f7bc581569363c2dc9b3ac82a339dea1d21376cefd4e"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.handle_call (cognitive 17): Server.handle_call has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 1 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4467476c04dfc5b8dfc5865b428cf90f39405fd6fd7cf8050ff149cb5c26cfce"}},{"ruleId":"D2","level":"warning","message":{"text":"LlmDefinition.read_definition_source (cognitive 16): LlmDefinition.read_definition_source has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 3 (6 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":"apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"191eca0ebbd959a1e0d42e60ac0f90e9c5d5ba7f3a05d09f9453e3c373d687cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: debug_adapter/server.ex: FileTooLong \u2014 2533 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 80 functions. The bar is 500 significant lines; this is 2033 over it, 5.07\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":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24444eed846dc7aff6ded0ef85e7453c52a68eced7ebc223481e68e942c96ce9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: language_server/server.ex: FileTooLong \u2014 2209 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 50 functions. The bar is 500 significant lines; this is 1709 over it, 4.42\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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31536278c8506a8cdac09b487b91dc2867b6d8c99c73e2dfa5e01b5759ee606"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/completion_engine.ex: FileTooLong \u2014 1678 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 76 functions. The bar is 500 significant lines; this is 1178 over it, 3.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d814a35ec9ada4e677b09a368e65f4b20c169fe2e7674f0ff7538c959ab685"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/completion.ex: FileTooLong \u2014 1413 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 38 functions. The bar is 500 significant lines; this is 913 over it, 2.83\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":"apps/language_server/lib/language_server/providers/completion.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e0fe0da01857a033718266dcfe557bc8292c026b58d08052e8970f2653efe0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/request_handler.ex: FileTooLong \u2014 894 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 394 over it, 1.79\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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e217ba0b0be44ec4632a7c67a9005b901969506cdb702b13481ae2f388ccd745"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mix_tasks/format.ex: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 177 over it, 1.35\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":"apps/language_server/lib/language_server/mix_tasks/format.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee869c0d3484f529f388418d717a98237f59689d15d889d6240ca6f840babdb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hover/docs.ex: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 133 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":"apps/language_server/lib/language_server/providers/hover/docs.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d96689572479b268d52ac7b0d517994a3ad6a643a74d7496cffdd20c028336"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: language_server/build.ex: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 31 functions. The bar is 500 significant lines; this is 98 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/build.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72f3b2ec31bc5796a90d3ebf91d8f4c987df59a6d49ae5e2734807f72fd9f57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/inlay_hints.ex: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 33 over it, 1.07\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":"apps/language_server/lib/language_server/providers/inlay_hints.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6889b06f6221045ca0456296bb95f61437af75de21a3cba57332b9d26b281557"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execute_command/llm_docs_aggregator.ex: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 24 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":"apps/language_server/lib/language_server/providers/execute_command/llm_docs_aggregator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eb3dff7881608d0aa4239a98396056c7b5c2ded0813bc1c345dc4d8c9289bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: providers/workspace_symbols.ex: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3 over it, 1.01\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":"apps/language_server/lib/language_server/providers/workspace_symbols.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c548d4c874c6a64f770f85dddfba44e282a1e68e5b57ca77a8d7f86c6cbacf77"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): apps/language_server/lib/language_server/dialyzer_incremental.ex:78-108 | apps/language_server/lib/language_server/ex_unit_test_tracer.ex:43-69 | apps/language_server/lib/language_server/mix_project_cache.ex:147-173 | apps/language_server/lib/language_server/parser.ex:78-104 | apps/language_server/lib/language_server/providers/workspace_symbols.ex:94-120 | apps/language_server/lib/language_server/tracer.ex:109-145 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/dialyzer_incremental.ex"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d30b90e7d6645f5a03534396feb22c43cb1e8c211de8c8784a262eadd8405b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): apps/language_server/lib/language_server/build.ex:536-608 | apps/language_server/lib/language_server/dialyzer_incremental.ex:43-66 | apps/language_server/lib/language_server/providers/completion/generic_reducer.ex:36-103 | apps/language_server/lib/language_server/source_file.ex:244-302 \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":"apps/language_server/lib/language_server/build.ex"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a189731344cf476e5fb1bb34034dfd8e715c47084237abb596c72404eb8c13c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:112-188 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:193-277 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:282-377 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:382-479 \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":"apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"288913cae743474c4ad50abbbdc5604d65df5a678a2d1c6ddeb791709747f1dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): apps/language_server/lib/language_server/providers/definition/locator.ex:65-197 | apps/language_server/lib/language_server/providers/hover/docs.ex:112-211 \u2014 These two members are one piece of code written twice and then edited apart: 100 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":"apps/language_server/lib/language_server/providers/definition/locator.ex"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4676a13c45413ff50e51c1eb56b228e8b2a0cd27db9bf3436f016532c1a195c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): apps/debug_adapter/lib/debug_adapter/server.ex:925-1001 | apps/debug_adapter/lib/debug_adapter/server.ex:1005-1073 \u2014 These two members are one piece of code written twice and then edited apart: 69 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":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea3a93fe32e84d6d49a0286fb45304fe0eeb8c5535c39e2f4146a5b4ae89561"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex:73-116 | apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex:120-160 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82a9f9f3eb948ec92078cdbe9af04a4f61dec7a2ee8211f81db29e19ee49a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex:195-262 | apps/language_server/lib/language_server/providers/execute_command/llm_implementation_finder.ex:153-211 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f36649f602b325b98602ecfddbb6d35ad25c2fe7b15106592409d1cb5066a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): apps/language_server/lib/language_server/providers/call_hierarchy.ex:139-162 | apps/language_server/lib/language_server/providers/call_hierarchy.ex:166-189 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"apps/language_server/lib/language_server/providers/call_hierarchy.ex"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac97ff8d46db88855079058b3146a8b416fe20b333f5a0f6e8482f9ad2b7325e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): apps/language_server/lib/language_server/providers/inlay_hints.ex:387-416 | apps/language_server/lib/language_server/providers/inlay_hints.ex:423-444 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/inlay_hints.ex"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19d23f10968607b9deba84d4d108b427c78095b528319f7a73f8a8d63dcd761"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): apps/language_server/lib/language_server/location.ex:253-275 | apps/language_server/lib/language_server/location.ex:289-307 | apps/language_server/lib/language_server/location.ex:464-483 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/location.ex"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9e708f3762d999fe01712fe1647e1da9dcb91941e668def2978eb9c9f2b2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): apps/language_server/lib/language_server/location.ex:189-221 | apps/language_server/lib/language_server/location.ex:418-450 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"apps/language_server/lib/language_server/location.ex"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace6a94cd9413fe8ec29e87ac6162d82ced8594d18b1f7286f09476f7c289192"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 39\u002B corresponding lines): apps/language_server/lib/language_server/server.ex:2644-2689 | apps/language_server/lib/language_server/server.ex:2699-2737 | apps/language_server/lib/language_server/server.ex:2746-2784 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 39 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9703d4ae4f3632f7781a410bb50085999e94a28452a932872f8c8ce1ec6b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): apps/language_server/lib/language_server/diagnostics.ex:270-303 | apps/language_server/lib/language_server/diagnostics.ex:307-337 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"apps/language_server/lib/language_server/diagnostics.ex"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"53233c0519e83d546f9d268b1e2ab7f47ac10ca81038fbc0baa520083db27445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): apps/language_server/lib/language_server/providers/execute_command/llm_implementation_finder.ex:19-43 | apps/language_server/lib/language_server/providers/execute_command/llm_type_info.ex:29-44 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/execute_command/llm_implementation_finder.ex"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d972354b85673d0eb59b2299c863d81661d37fbde350706fa50f4b6a4db8b00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/language_server/lib/language_server/range_utils.ex:77-93 | apps/language_server/lib/language_server/range_utils.ex:100-120 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/range_utils.ex"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"574fb41873f5b53acaff265011e87892a34bc63c8e10b028bd0efb16dd8a16ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): apps/language_server/lib/language_server/providers/call_hierarchy.ex:46-62 | apps/language_server/lib/language_server/providers/call_hierarchy.ex:75-91 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/call_hierarchy.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede7cf755c5e3ffb6bd811e3a6c0e42d717c3ff4368ddc1e07c7a025184aa00f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): apps/language_server/lib/language_server/providers/declaration/locator.ex:30-42 | apps/language_server/lib/language_server/providers/definition/locator.ex:29-46 | apps/language_server/lib/language_server/providers/references/locator.ex:24-54 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/declaration/locator.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fe6f3358f14c2a82b3a08e2f97c93ee688683c295de654f0ad406ad546c56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): apps/language_server/lib/language_server/mcp/request_handler.ex:433-459 | apps/language_server/lib/language_server/mcp/request_handler.ex:463-489 \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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaafe8268844175ee49241a08ea300ad695b59603f5ba4a13843f573b869dbd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): apps/language_server/lib/language_server/server.ex:1374-1395 | apps/language_server/lib/language_server/server.ex:1416-1437 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0064ad3050907c98eb8c5f159fa6a411ee7de513f58a8a2bdfebdd81c57190b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): apps/elixir_ls_utils/lib/completion_engine.ex:1100-1117 | apps/elixir_ls_utils/lib/completion_engine.ex:1190-1207 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce9f173f5286cf7415927b52e5f68c143392f949d77510c8e0433bd9a126a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:58-79 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:84-107 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"595d0c69352c252b24ce09529a96fced4b907cc6ada79b0f3abebe4ffbffd0e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:522-540 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:559-577 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a6795b973aba1425ca83b187f4a1a83046e219f64d6761313e46aa0d94fa34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:507-518 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:544-555 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aabf88bc094210177f97313669dc353e5d0a4ec396956464a171f9846f8ca43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): apps/debug_adapter/lib/debug_adapter/thread_registry.ex:29-43 | apps/debug_adapter/lib/debug_adapter/variable_registry.ex:28-42 | apps/debug_adapter/lib/debug_adapter/variable_registry.ex:50-64 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/debug_adapter/lib/debug_adapter/thread_registry.ex"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2d5d66a16631b66954892d2a901b80075088645bfa7bf06be3e9262d442d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex:66-80 | apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex:86-100 \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":"apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8feeae7df519197cb56ba89eaf67956099a187b98a45b5fe8cb129afbb07c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 9\u002B corresponding lines): apps/language_server/lib/language_server/server.ex:1223-1231 | apps/language_server/lib/language_server/server.ex:1248-1256 | apps/language_server/lib/language_server/server.ex:1273-1281 | apps/language_server/lib/language_server/server.ex:1301-1318 | apps/language_server/lib/language_server/server.ex:1335-1353 | apps/language_server/lib/language_server/server.ex:1454-1462 | apps/language_server/lib/language_server/server.ex:1615-1624 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"641ac9fb34ef08d3109ef56331a1eaf535144fa8406f37363619be87b6eafc7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/language_server/lib/language_server/source_file.ex:406-418 | apps/language_server/lib/language_server/source_file.ex:446-460 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/source_file.ex"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9927072bac2b4a65fd0d3559a80d72d3b59bc7c4770c3ea12870cd5d36c92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/language_server/lib/language_server/markdown_utils.ex:269-288 | apps/language_server/lib/language_server/markdown_utils.ex:292-305 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/markdown_utils.ex"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"38adc195841502f6f94af39c2fd88c567d62aaaff33e307b7fa0f286560875c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/debug_adapter/lib/debug_adapter/server.ex:2130-2134 | apps/debug_adapter/lib/debug_adapter/server.ex:2145-2149 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"697651944377b67e7bfba2d334106ef1e0596f29396d2f00738ba36a7ecd667c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/language_server/lib/language_server/server.ex:1643-1654 | apps/language_server/lib/language_server/server.ex:1740-1752 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"687d96be211eb5076247f951782632c365273a8140179b64e4afad7eb7341019"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): apps/language_server/lib/language_server/mcp/request_handler.ex:371-389 | apps/language_server/lib/language_server/mcp/request_handler.ex:393-409 | apps/language_server/lib/language_server/mcp/request_handler.ex:413-429 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b64bedbaf28c42d3dddea2720382106e9befbdd4ea08d449b0aa5ac5b9bf82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/debug_adapter/lib/debug_adapter/server.ex:1740-1751 | apps/debug_adapter/lib/debug_adapter/server.ex:1761-1772 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"047b0e5ecc0054926aec302d46bf08da85ae653f9f76bfcda6aba81329c693f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/debug_adapter/lib/debug_adapter/utils.ex:31-40 | apps/language_server/lib/language_server/source_file.ex:356-365 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/debug_adapter/lib/debug_adapter/utils.ex"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdfc6ca94a63dcb8a49ca82c7df4507fb58af60c4f6a316ca3ecc4b75e2038d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/language_server/lib/language_server/providers/signature_help/signature.ex:20-29 | apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex:241-247 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/signature_help/signature.ex"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0680e9df26c48ddec50299db865ffee3c420ccc210ac111e882a4a829d80faf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex:234-237 | apps/language_server/lib/language_server/providers/references/locator.ex:351-355 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae06dfdc0254f0f9f0a0f83a201689a2f6b6436ac6136c2cd7330c5573383bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:395-396 | apps/language_server/lib/language_server/ex_unit_test_tracer.ex:170-171 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"37174a9a06a1bc188efb6cbab41dd431ca27cf45b5c8e79a846d1f82e4215911"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/language_server/lib/language_server/providers/selection_ranges.ex:340-341 | apps/language_server/lib/language_server/range_utils.ex:32-33 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"apps/language_server/lib/language_server/providers/selection_ranges.ex"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d752c40e6e44f3d63ca8ae5aa8eaf025a868bc7c044c90377fa13b86e7f334ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:137-188 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:226-277 \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 \u0060apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:137\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":"apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b405df7ab3331023cfab59d26a5ff5678567598dfe81f267b0ebf0806741939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201347 lines \u00D7 2): apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex:195-238 | apps/language_server/lib/language_server/providers/execute_command/llm_implementation_finder.ex:153-199 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex:195\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef21e48266f635cd4f5f72be2b2539cf1525740b6dda826467f22c6e0342af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:298-341 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:400-443 \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 \u0060apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:298\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":"apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf58918431b06f2a89a5b642a56c86b066e1269a16f4d07f46ae1e40de3e9fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201339 lines \u00D7 3): apps/language_server/lib/language_server/server.ex:2649-2687 | apps/language_server/lib/language_server/server.ex:2706-2737 | apps/language_server/lib/language_server/server.ex:2753-2784 \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 \u0060apps/language_server/lib/language_server/server.ex:2649\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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ab2290370b56b9b1a0c571cacf921e9f80ddba7ec43c2be07e57c8a51b4a89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): apps/language_server/lib/language_server/server.ex:232-267 | apps/language_server/lib/language_server/server.ex:1037-1071 \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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"466ddb570b3642735793decf8346cb03acddb752f39336da73fdccefc2288d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201335 lines \u00D7 3): apps/language_server/lib/language_server/mcp/request_handler.ex:30-60 | apps/language_server/lib/language_server/mcp/request_handler.ex:67-97 | apps/language_server/lib/language_server/mcp/request_handler.ex:107-141 \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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed38498668f8f5a92579d0f9709e5929a960f6fa44fce99ad4d34a8f11a02520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201333 lines \u00D7 2): apps/language_server/lib/language_server/mcp/request_handler.ex:202-234 | apps/language_server/lib/language_server/mcp/request_handler.ex:249-277 \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 \u0060apps/language_server/lib/language_server/mcp/request_handler.ex:202\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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"618d0e12055cab468098aed5d581ced92aba15ea95e5f5bd0b8d74ae796f76d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): apps/language_server/lib/language_server/build.ex:148-174 | apps/language_server/lib/language_server/build.ex:411-437 \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 \u0060apps/language_server/lib/language_server/build.ex:148\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":"apps/language_server/lib/language_server/build.ex"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ce49aec3527bf17d39770d5f1fc77da58d53a77bcf0e788528e7f44fcbf8cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex:79-103 | apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:25-49 \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 \u0060apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex:79\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":"apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"504622188b9b24e43f7ad6a9283c59cefdd672bb5fe3fac33c892c468a02c54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201324 lines \u00D7 3): apps/debug_adapter/lib/debug_adapter/server.ex:583-600 | apps/debug_adapter/lib/debug_adapter/server.ex:3171-3194 | apps/debug_adapter/lib/debug_adapter/server.ex:3333-3350 \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 \u0060apps/debug_adapter/lib/debug_adapter/server.ex:583\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":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2815e9b8794939a2f75bcddb8700cca9f1c6fa75f71770f74f7b5014556ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): apps/language_server/lib/language_server/providers/completion/generic_reducer.ex:50-73 | apps/language_server/lib/language_server/providers/completion/generic_reducer.ex:79-102 \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 \u0060apps/language_server/lib/language_server/providers/completion/generic_reducer.ex:50\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":"apps/language_server/lib/language_server/providers/completion/generic_reducer.ex"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1d59bc7eb9d6235bae7e550da9e71e4cb09a43fe235495243a293c7889bb0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): apps/language_server/lib/language_server/providers/declaration/locator.ex:240-263 | apps/language_server/lib/language_server/providers/definition/locator.ex:376-399 \u2014 \u0060apps/language_server/lib/language_server/providers/declaration/locator.ex\u0060 and \u0060apps/language_server/lib/language_server/providers/definition/locator.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/declaration/locator.ex"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b8d98364ddf4791d563a79621e88f110a8b0efd614a87162e1d1fb5d328656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): apps/language_server/lib/language_server/providers/inlay_hints.ex:393-416 | apps/language_server/lib/language_server/providers/inlay_hints.ex:425-444 \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":"apps/language_server/lib/language_server/providers/inlay_hints.ex"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d8882a1ddb5d671346579deb0d953e382e88b52bd7d8e26003bd27bfa24dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex:78-100 | apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:24-46 | apps/debug_adapter/lib/debug_adapter/server.ex:256-278 \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 \u0060apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex:78\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, \u0060apps/debug_adapter/lib/debug_adapter/server.ex:280\u0060 calls \u0060get\u0060, \u0060halt\u0060 and \u0060apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:47\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":"apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4a30c46c59390a29ae910c080679f1104797f07314302685ca57d56a77f880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): apps/debug_adapter/lib/debug_adapter/server.ex:2288-2309 | apps/debug_adapter/lib/debug_adapter/server.ex:2447-2469 \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":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3477759b188e658ed8515bfcf0a44dc42ead4c1ee3dda97fc56393a0db350637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): apps/language_server/lib/language_server/mcp/request_handler.ex:344-366 | apps/language_server/lib/language_server/mcp/request_handler.ex:437-459 \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, \u0060apps/language_server/lib/language_server/mcp/request_handler.ex:435\u0060 calls \u0060format_implementations_result\u0060 and \u0060apps/language_server/lib/language_server/mcp/request_handler.ex:343\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":"apps/language_server/lib/language_server/mcp/request_handler.ex"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d9714808ae12cf94b3322a8f19b3833163f26aa6661c3ef689a8f42d85adf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): apps/language_server/lib/language_server/dialyzer_incremental.ex:78-99 | apps/language_server/lib/language_server/ex_unit_test_tracer.ex:43-64 | apps/language_server/lib/language_server/mix_project_cache.ex:147-168 | apps/language_server/lib/language_server/parser.ex:78-99 | apps/language_server/lib/language_server/providers/workspace_symbols.ex:94-115 | apps/language_server/lib/language_server/tracer.ex:109-130 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/language_server/lib/language_server/dialyzer_incremental.ex:78\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, \u0060apps/language_server/lib/language_server/dialyzer_incremental.ex:101\u0060 calls \u0060info\u0060 and \u0060apps/language_server/lib/language_server/tracer.ex:132\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":"apps/language_server/lib/language_server/dialyzer_incremental.ex"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53872ef4a01091a7fffa6c5311659f6cfc50f0b158ccdffb7705ec8a027202d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:343-364 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:445-466 \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 \u0060apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:343\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":"apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"def43e845d99cf79e5962793960818a032ba332d2f5ef1de00e9262c7a730eab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): apps/language_server/lib/language_server/build.ex:545-563 | apps/language_server/lib/language_server/build.ex:573-591 | apps/language_server/lib/language_server/source_file.ex:280-299 \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 \u0060apps/language_server/lib/language_server/build.ex:545\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":"apps/language_server/lib/language_server/build.ex"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5f706223e20e3571f6c5c8af904c2ceb3002f2d865f3a9737dde6ba77457c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): apps/language_server/lib/language_server/dialyzer_incremental.ex:45-64 | apps/language_server/lib/language_server/providers/completion/generic_reducer.ex:50-68 | apps/language_server/lib/language_server/providers/completion/generic_reducer.ex:79-97 \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 \u0060apps/language_server/lib/language_server/dialyzer_incremental.ex: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":"apps/language_server/lib/language_server/dialyzer_incremental.ex"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c917fdde995687f0a4d91a133ff1bada1c63f63c2767df343ecb539b914b0341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): apps/language_server/lib/language_server/server.ex:943-961 | apps/language_server/lib/language_server/server.ex:1111-1129 \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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8d84695ebd67c089423c44fb46daca05bb96fbd08719c9db81fa4c5bf73ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): apps/language_server/lib/language_server/build.ex:545-562 | apps/language_server/lib/language_server/build.ex:573-590 | apps/language_server/lib/language_server/dialyzer_incremental.ex:45-62 | apps/language_server/lib/language_server/providers/completion/generic_reducer.ex:50-67 | apps/language_server/lib/language_server/providers/completion/generic_reducer.ex:79-96 \u2014 there are 5 copies across 3 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/language_server/lib/language_server/build.ex:545\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":"apps/language_server/lib/language_server/build.ex"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4303c02b4fd052a5040bcaef9e3cc54c6407607acaeea1edfe23786cccabde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): apps/language_server/lib/language_server/providers/definition/locator.ex:118-135 | apps/language_server/lib/language_server/providers/hover/docs.ex:161-178 | apps/language_server/lib/language_server/providers/references/locator.ex:212-229 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/definition/locator.ex"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"964e205d42740928674cfc8d5d44e252600c1622f2e3df3afd6aed676ceb304d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:120-136 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:202-218 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:287-303 | apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:389-405 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex:120\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":"apps/language_server/lib/language_server/providers/execute_command/llm_module_dependencies.ex"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"244d7d15b37c7c3dd7f71ffaf10da782fd7c4cea2139b89560b3bea1ef3bea25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201317 lines \u00D7 2): apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex:20-30 | apps/language_server/lib/language_server/providers/references/locator.ex:28-44 \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":"apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f562969940e11c6bb365903b9a668516895da22e01f213016aac2ded5baea80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): apps/language_server/lib/language_server/providers/completion.ex:386-401 | apps/language_server/lib/language_server/providers/completion.ex:410-425 \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":"apps/language_server/lib/language_server/providers/completion.ex"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51fffb2e4cbe629c4664209a95d6a8d86324101703b6962f064abb964eea85a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): apps/language_server/lib/language_server/providers/document_symbols.ex:247-262 | apps/language_server/lib/language_server/providers/document_symbols.ex:271-286 \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":"apps/language_server/lib/language_server/providers/document_symbols.ex"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5268a38ed25fb04490f8ebb522801e3cf265acad93a5c9cdc8406442e253eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 3): apps/language_server/lib/language_server/providers/declaration/locator.ex:34-42 | apps/language_server/lib/language_server/providers/definition/locator.ex:33-46 | apps/language_server/lib/language_server/providers/implementation/locator.ex:29-42 \u2014 \u0060apps/language_server/lib/language_server/providers/declaration/locator.ex\u0060 and \u0060apps/language_server/lib/language_server/providers/definition/locator.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/declaration/locator.ex"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c0cc4775501473fbc257c424ef605e75753254e8edb06724790424e6ca903f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/language_server/lib/language_server/providers/call_hierarchy.ex:141-154 | apps/language_server/lib/language_server/providers/call_hierarchy.ex:168-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/call_hierarchy.ex"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3699219be00d323e86cb7ef0c8055421f3cccd7aa0e3d810f586ddeeaed9e2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex:313-322 | apps/language_server/lib/language_server/providers/references/locator.ex:117-130 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b198917bdbe023555f3a400386c9bc221028f330624f15a3e65b1d94875849f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex:93-106 | apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex:137-150 \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 \u0060apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex:93\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":"apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"076685c45e490299d183bbfdf6777a8e6d0ccec116707326cf8e3d09a88546ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 2): apps/language_server/lib/language_server/providers/implementation/locator.ex:25-33 | apps/language_server/lib/language_server/providers/references/locator.ex:24-37 \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 \u0060apps/language_server/lib/language_server/providers/implementation/locator.ex: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":"apps/language_server/lib/language_server/providers/implementation/locator.ex"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"262164f9474d47630a56a74c1d106af9e51233b6de907e12d1b35f8a85c85710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): apps/language_server/lib/language_server/providers/completion.ex:387-399 | apps/language_server/lib/language_server/providers/completion.ex:411-423 | apps/language_server/lib/language_server/providers/completion.ex:561-573 \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 \u0060apps/language_server/lib/language_server/providers/completion.ex:387\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":"apps/language_server/lib/language_server/providers/completion.ex"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d4b8762b69ac215e6c4c281c93a6aab49d0b35ee43f9a24e86fd824a040ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/language_server/lib/language_server/providers/declaration/locator.ex:47-59 | apps/language_server/lib/language_server/providers/definition/locator.ex:65-77 \u2014 \u0060apps/language_server/lib/language_server/providers/declaration/locator.ex\u0060 and \u0060apps/language_server/lib/language_server/providers/definition/locator.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/declaration/locator.ex"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e47ca7ad049437024fb69a7c361b5fe14d76243d42ddbb78e72f6fda761a0ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): apps/language_server/lib/language_server/server.ex:230-245 | apps/language_server/lib/language_server/server.ex:909-920 | apps/language_server/lib/language_server/server.ex:1035-1049 \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 \u0060apps/language_server/lib/language_server/server.ex:230\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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e689226df34c9cf5142320d31775a09cb85085b7539e9778261725feaff1b588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/debug_adapter/lib/debug_adapter/server.ex:929-940 | apps/debug_adapter/lib/debug_adapter/server.ex:1015-1026 \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 \u0060apps/debug_adapter/lib/debug_adapter/server.ex:929\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 after the matched lines, \u0060apps/debug_adapter/lib/debug_adapter/server.ex:941\u0060 calls \u0060to_string\u0060, \u0060get\u0060 and \u0060apps/debug_adapter/lib/debug_adapter/server.ex:1026\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":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7c351615aebe24050df20626fd9c1cd4f598da4639be07dd3c83c09910292c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/language_server/lib/language_server/build.ex:433-443 | apps/language_server/lib/language_server/build.ex:504-514 \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, \u0060apps/language_server/lib/language_server/build.ex:502\u0060 calls \u0060absname\u0060, \u0060config\u0060 and \u0060apps/language_server/lib/language_server/build.ex:431\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":"apps/language_server/lib/language_server/build.ex"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcccba9d727f82b41e9d99387fa530845d25460166edfc8350e35346c07cdd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/language_server/lib/language_server/location.ex:297-307 | apps/language_server/lib/language_server/location.ex:473-483 \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 \u0060apps/language_server/lib/language_server/location.ex:297\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":"apps/language_server/lib/language_server/location.ex"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"52eb7f528667894919d68b5935343710ced893926f59c25a1a35ef646ce14abb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): apps/language_server/lib/language_server/providers/completion.ex:746-754 | apps/language_server/lib/language_server/providers/completion.ex:1236-1246 \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 \u0060apps/language_server/lib/language_server/providers/completion.ex:746\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":"apps/language_server/lib/language_server/providers/completion.ex"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff0cea92d879de525f6dbca0b874436cec719c6d481289ce259d26260125a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/language_server/lib/language_server/providers/references/locator.ex:366-376 | apps/language_server/lib/language_server/providers/references/locator.ex:416-426 \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 \u0060apps/language_server/lib/language_server/providers/references/locator.ex:366\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":"apps/language_server/lib/language_server/providers/references/locator.ex"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"865c91f798e991cf879af648520b269b21fbe0cb793bf888fbfea30d0775ab37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex:182-193 | apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex:206-215 \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 \u0060apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex:182\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":"apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7906b5735a662e1f69b53849e096bd208bc70a3e8cdd2e992e91584d8dd10866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/language_server/lib/language_server/providers/hover/docs.ex:369-378 | apps/language_server/lib/language_server/providers/signature_help/signature.ex:117-126 \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 \u0060apps/language_server/lib/language_server/providers/hover/docs.ex:369\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":"apps/language_server/lib/language_server/providers/hover/docs.ex"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb98c47fe0d7e09613858da9ba23672472b85790bc59c28fd2cd194fcf3e306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:83-90 | apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:94-101 \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":"apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"428f64bd8805f45d35bd1d6019451d171bad278cf4b8a24c8d4c476c458ccda4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:94-101 | apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:105-112 \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":"apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c38634bfc2c05854a3e6faf357456d10ae96f72348d3c232ee1d662003e22df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:127-134 | apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:156-162 \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 \u0060apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dbaa875507cfa9f93461f47eb21a1d1c3a5926119623098017668f2457e081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/language_server/lib/language_server/providers/completion/reducers/returns.ex:50-57 | apps/language_server/lib/language_server/providers/completion/reducers/returns.ex:69-76 \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 \u0060apps/language_server/lib/language_server/providers/completion/reducers/returns.ex:50\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":"apps/language_server/lib/language_server/providers/completion/reducers/returns.ex"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e15d120910c0da6e65a3353dcad0b2f33c038d7b07f00c75c0be54f0b46eab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/language_server/lib/language_server/providers/completion/reducers/returns.ex:39-45 | apps/language_server/lib/language_server/providers/completion/reducers/returns.ex:56-62 \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":"apps/language_server/lib/language_server/providers/completion/reducers/returns.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff18ef327cfed6a460761cb9e128c0d3d8aa282974c7cb9d3d40742185514b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): apps/language_server/lib/language_server/providers/definition/locator.ex:143-147 | apps/language_server/lib/language_server/providers/hover/docs.ex:180-184 | apps/language_server/lib/language_server/providers/references/locator.ex:233-237 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/definition/locator.ex"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a003b4d8f991fe06eb17c28d80b2c317019429c9f8632f54f6539329d5e46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/language_server/lib/language_server/providers/call_hierarchy.ex:95-99 | apps/language_server/lib/language_server/providers/references.ex:69-73 \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":"apps/language_server/lib/language_server/providers/call_hierarchy.ex"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"350b886e944c4faec0900ece1f828cc9f32d172bec5512ba1345a4683bc3a096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/debug_adapter/lib/debug_adapter/utils.ex:56-65 | apps/language_server/lib/language_server/source_file.ex:381-390 \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":"apps/debug_adapter/lib/debug_adapter/utils.ex"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca2dbed2cbee53514d41d2973f28232e794404ee5fd6d5e311f468741fbd8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/language_server/lib/language_server/providers/code_action/replace_remote_function.ex:167-173 | apps/language_server/lib/language_server/providers/code_action/replace_with_underscore.ex:71-77 \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":"apps/language_server/lib/language_server/providers/code_action/replace_remote_function.ex"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"623f9e880ab9db02951f9462dc9b513ba9558932bdc56fe562617978eb595d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): apps/language_server/lib/language_server/providers/execute_command/llm_docs_aggregator.ex:695-705 | apps/language_server/lib/language_server/providers/execute_command/llm_type_info.ex:298-308 \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":"apps/language_server/lib/language_server/providers/execute_command/llm_docs_aggregator.ex"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"593b6401bcfb85cec75c8e8e1e1fc4dd37418fb0922e1dd64bf183d6fe101785"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: elixir_ls_utils: elixir_ls_utils: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80017fc83b360b2117d260666e363266a0143fbb2b8c13a7db47eec4d4e09aaf"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 53 significant file(s) lose their only recent owner: apps/debug_adapter/lib/debug_adapter/server.ex, apps/language_server/lib/language_server/server.ex, apps/elixir_ls_utils/lib/completion_engine.ex, apps/language_server/lib/language_server/providers/completion.ex, apps/language_server/lib/language_server/mix_tasks/format.ex, apps/language_server/lib/language_server/mcp/request_handler.ex, apps/language_server/lib/language_server/providers/inlay_hints.ex, apps/language_server/lib/language_server/build.ex (\u002B45 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dc76545a5df55341291e29b3d70a8283dc8338150932bbd495bffaeff7fdb200"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO make this work and expose via config \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":"apps/language_server/test/location_test.exs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adbf11a1a158d18fbbc241121e73b73209a007e3a2213b5172b0d1144b57c8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this on Elixir v2.0 \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":"apps/language_server/test/support/example_behaviour.ex"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa9f6d702dd137ce5055628b51175c30e34ba3b39faab728e97301e7af6d450"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO hexdocs and standard lib docs \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":"apps/language_server/test/providers/hover_test.exs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"524ed0286e98cd473f49e10c44d8799b0f0bbc6ac4983d9858d9f598e72c0e00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO https://github.com/elixir-lsp/elixir_sense/issues/255"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/test/providers/signature_help/signature_test.exs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dadb9a2d4d426164c502cc6cb401889b07c556bb72f4670977a728c75430447"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO https://github.com/elixir-lsp/elixir_sense/issues/255"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/test/providers/signature_help/signature_test.exs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82fe6d8ff4a542ac869951e5d4f1946e9367fd536ff6b716fd650136f21990d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO attributes not supported yet \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":"apps/language_server/test/providers/references/locator_test.exs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9484fea052c419f579b77eb019def801a52a25828dc747d3ca373545f6bbdad1"}},{"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":"apps/language_server/test/providers/plugins/ecto_test.exs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d8887226f2de346e5d819fd8282087b395bd2c18ab311bd150f9ffa1c63796"}},{"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":"apps/language_server/test/providers/plugins/ecto_test.exs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"41758f224bb9b2067136b82816557232fbdc1eeb1a10732990fa4631c92d8af8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: is this still a bug? \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":"apps/language_server/test/providers/definition/locator_test.exs"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6975e2f74ea09de71082fa519ce673c5d911b157af34b165cb25ff2b2bb242be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO change that to only output max arity \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":"apps/language_server/test/providers/completion/suggestions_test.exs"},"region":{"startLine":4841}}}],"partialFingerprints":{"codehealthFindingId/v1":"05671927d6dbbfb9019c77e89b41b89ca306f265f66e939dfd75bd13363e5c78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Fix this \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":"apps/language_server/test/providers/code_action/replace_remote_function_test.exs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d0f854a521bc5728cb3cf20343aeaf7636793a5faf8b5c18b5a0b4de355caf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Fix this \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":"apps/language_server/test/providers/code_action/replace_remote_function_test.exs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"226172de9293ca51f75260a7a2d1e119e6e116b6104f1a361b447bc4ec93478c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Fix this \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":"apps/language_server/test/providers/code_action/replace_remote_function_test.exs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"384ffdd359019b93252aa8928eb1c41ff4eb5dc1fc284707987172ad0b52b22b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Fix this \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":"apps/language_server/test/providers/code_action/replace_with_underscore_test.exs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c30fec2ddbe96838d5e2f9ed140615f941eab06207d0e47851ac96316220d11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: fix \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":"apps/language_server/test/providers/code_action/replace_with_underscore_test.exs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f270c537748d7b3d46cfa17adcbaf97530048c942322b35dbbe50bd5087a6a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO colum \u003E= 0 PR \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":"apps/language_server/lib/language_server/diagnostics.ex"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"04247ec0a51443303698af4a1156978d855b9741445a3d23d3be42cb95cb865f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO use arity? \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":"apps/language_server/lib/language_server/erlang_source_file.ex"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa5520cc348f114047e3c5d8f9a237b48881789ec991e8bef69ca1ace005ba6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO check if this is still the case on OTP 27\u002B \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":"apps/language_server/lib/language_server/location.ex"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"523340314fdcee947a1cfaa85f58f5b6e177c6dcc3527d24ac606ae7b9867448"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove \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":"apps/language_server/lib/language_server/location.ex"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db7f387cf17f8f27c5059ccfb72bd7d10280a79edef3a64f2d91a4e40f41371"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove \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":"apps/language_server/lib/language_server/location.ex"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e49510946d9df6ef930f38d95fb600246c98ce491074bb741ffa391f797196"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove \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":"apps/language_server/lib/language_server/location.ex"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1b187bfff767e6af3b6f8594eb6e58dd228d6b7bb96c2877ed5320c0192dff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO move to Metadata \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":"apps/language_server/lib/language_server/location.ex"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a421f8ce1aa0bfc9d31c140c5e4152bf90c424d22e9c3430905e422fc48bebf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO move to Metadata \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":"apps/language_server/lib/language_server/location.ex"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"2080e4f4010ebdfaf6e5bf567904e94438bc4677af9b9438793c44155548fadc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO not sure how the docs will handle versions app/vsn does not work as of June 2024 \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":"apps/language_server/lib/language_server/markdown_utils.ex"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b6ec07dab25d12f578178c3a74752683902427b2275c0839a982b87e840544"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO not sure how the docs will handle versions app/vsn does not work as of June 2024 \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":"apps/language_server/lib/language_server/markdown_utils.ex"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"14075a985b31ddab62e6cddf2700263383a08745051511f949997f6c44af0a1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO not sure how the docs will handle versions app/vsn does not work as of June 2024 \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":"apps/language_server/lib/language_server/markdown_utils.ex"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"bded4577f5b7e703cee8d3b3ff1e29aac0dcdf1b88969cda8185c6af20f04282"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO not sure how the docs will handle versions app/vsn does not work as of June 2024 \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":"apps/language_server/lib/language_server/markdown_utils.ex"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cadb0b52680bbef3716c8bfd792695490db6028515227a8b5badbf8fb4c365"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO get source files on start? \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":"apps/language_server/lib/language_server/parser.ex"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1273ae26bec1b5a61169d23673fea86746e1a252cc194de113f398ce8ceb365c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO maybe cancel parse \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":"apps/language_server/lib/language_server/parser.ex"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f312e11c499d582d50315dd27f1ea43d037089a5afb486a9351a9e9f9d75015"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO not working for eex \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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbf0e83ec17190d4995cc678148f676494cd41df7445ce3ce65e7d89b426526"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO no support for eex \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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"33eeeb048b78f84bb1b9b2760914f37ae978d51475830cde705d8699e89d9708"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO no support for eex \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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be59406bba8e37edab8c90899a9fbaba14d2207f5b69305887d688d18d1af35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO no support for eex \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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f56ef3ad142a95ec5588a6ea899ee005a94b27cc3dd6a553f9fddf13d7c371"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO check why test run from lense fails when autoBuild is disabled \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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9c2525e2023bde21a02d0a0ebe34b078d1fd39a61e0bc8848dcbd3e4845d0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO dump last_published_diagnostics_uris to file? \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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b269a674da110beaa558ac729ed91bc7fcd2f565353a1041fbcd5c274f11fbbf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO it may be safe to compile on 1.18\u002B \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":"apps/language_server/lib/language_server/source_file.ex"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2b38253ef8ff764b2641061c756c7c886f2ab11608b9b91d8375020c3f5863"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO meta can have last or maybe other? \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":"apps/language_server/lib/language_server/tracer.ex"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31cda5b1d4a8a0890c068a006c40aab7a188f87dcb18fbda5e7f4222c6d06dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO get by callee \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":"apps/language_server/lib/language_server/tracer.ex"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73c587496a4791d3e72ac74534f0c071940ae22fc4f590a1c91384e9c9c47c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO better selection ranges for defimpl? \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":"apps/language_server/lib/language_server/providers/document_symbols.ex"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a386a176d66f8504be708abf046d008cd8576ace1e5352b3b8eda0375e24d419"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO migrate Complete to use Code.fetch_docs format? \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":"apps/language_server/lib/language_server/providers/workspace_symbols.ex"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"8171c6ddb9fd22d72d92b1f3a42e4fd64941b9d55ff7ce02368d748781ccf3ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO @moduledoc location \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":"apps/language_server/lib/language_server/providers/workspace_symbols.ex"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"7949cefdc5736b9bdde3644ae58e129641ff70e6ce46c2e0a305987f309f8339"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO @doc location \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":"apps/language_server/lib/language_server/providers/workspace_symbols.ex"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1575ffb9e1d233645274605507e3e8da2bc2ec6e74bbe2401e62990c1d5927"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO @doc location \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":"apps/language_server/lib/language_server/providers/workspace_symbols.ex"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"5263aab1bee781712349a2bcc2028c4039204abddfbb7c03d38ddd9737a7189a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO @typedoc location \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":"apps/language_server/lib/language_server/providers/workspace_symbols.ex"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"138520ef5211a403c8e259b7847f1b3ec3e29aeb26893b6dc0a939d41fba9e2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO read the file only once \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":"apps/language_server/lib/language_server/providers/workspace_symbols.ex"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fab255d817e312168ed819bd941cffbefecafa303343d4fc6ff333b0d8579ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO use Macro.Env \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":"apps/language_server/lib/language_server/providers/references/locator.ex"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"179f0bbaafbe35d14b141c6dd4b1230ea2c5945c6c65ab6b58990a8c590c5d19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO use Macro.Env \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":"apps/language_server/lib/language_server/providers/implementation/locator.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3a7ff84cc5e79a4e0bb7fded52bf6d6239accc75c6b0eb534d672b25236b28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO use Macro.Env \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":"apps/language_server/lib/language_server/providers/hover/docs.ex"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1df96ea43a281d45aa39e46382de88f29d9d3cacc594267b88da7e0af65d9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO use Macro.Env \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":"apps/language_server/lib/language_server/providers/completion/reducers/type_specs.ex"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f863ef134857fd6bbe390659c8dfd8de9ee80a61fa5d8e72232b238b405b8325"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO this is vscode specific. Remove? \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":"apps/language_server/lib/language_server/providers/plugins/util.ex"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf973d8be957b9313b5a9b7b246625ceb907ca4880fbdc40ed179cdc637a644"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO consider reimplementing using Code.Fragment.container_cursor_to_quoted \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":"apps/language_server/lib/language_server/providers/plugins/util.ex"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"139ad819849ee561a5e3d30b12f37311b6ccb5c50ed879a5592f934cd3e4af71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO this code is broken \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":"apps/language_server/lib/language_server/providers/plugins/ecto/query.ex"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d218e4eec8d5d2edc442a33ed74ee76a5e523f990fc5230460f7db73162a13c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO spec \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":"apps/language_server/lib/language_server/providers/hover/docs.ex"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"c394634442292296eadddc81526b525b80da1eb7f5bd434688e018f57ac72054"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove this fallback? \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":"apps/language_server/lib/language_server/providers/hover/docs.ex"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e9af22992fa58c7854fcef4ad4c89b86eed1ea29c541ca32545ca44c0086fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove this fallback? \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":"apps/language_server/lib/language_server/providers/hover/docs.ex"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae5a2b7dbcc9d747dbfc575b5fc732a6b7ae0e84fa55d7a5dee1d7edfca16a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO catch only Compile and Syntax errors? \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":"apps/language_server/lib/language_server/providers/execute_command/get_ex_unit_tests_in_file.ex"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d338406982f19b89203eb6f948373be86efdbc207546191c406e63ceac9cbbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO Binding should return expanded aliases \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":"apps/language_server/lib/language_server/providers/completion/reducers/type_specs.ex"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a734a99fdfb9bbd11f07e309b4264e39e92bd2d74bdeea8882101c856866586d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: Private module \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":"apps/language_server/lib/language_server/providers/code_lens/type_spec/contract_translator.ex"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e61b1e40c2c254c5a6ad81817b5058e10588029786b0ac492b3b189a888f1d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: Private module \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":"apps/language_server/lib/language_server/providers/code_lens/type_spec/contract_translator.ex"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff61ca84cd40da1d4f68203156b7c3e1d34e9727232ba9e96aa084b6b7a03739"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: Private module \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":"apps/language_server/lib/language_server/providers/code_lens/type_spec/contract_translator.ex"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8add58a492fc2ee1e9f9df69413c33547a938250f8e5233a8e79bc28c116cf6f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: Private module \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":"apps/language_server/lib/language_server/providers/code_lens/type_spec/contract_translator.ex"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2825cc079848af4cfeda7bca1911f7bfc53870e3977a6adc02aa1a6a4bd1d69"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO filter by apps? \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":"apps/language_server/lib/language_server/dialyzer/success_typings.ex"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7016cd711a075dedcd9c17efb9decb917926d526fadaefd103ee112fc3ba1fe8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO is this check relevant? We check for dialyzer app in 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":"apps/language_server/lib/language_server/dialyzer/utils.ex"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"929d222b770a64feab4472ab4c68c81404bf1f6590a6e18d1afc41cf026b56df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO does import create remote call? \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":"apps/language_server/lib/language_server/dialyzer/utils.ex"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"41729b383f32ff5b49094a31e9cdd2d2ebfbb93e27f365857ebbd06fa5ef64d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO expand expression {:dot, :expr, []} {:dot, :expr, ~c\u0022ho\u0022} on 1.15\u002B \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":"apps/elixir_ls_utils/test/complete_test.exs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8406d14e4fc0233fdc22cdd2440c0e6ec03a6f2735f84b848c9d45639280120"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO expand expression \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":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"726cdcbab9044384862be49572a43abd0afb45113b910dac70f628d96d5945ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO it seems we only run in interactive mode - remove the check? \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":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"a943723252c973fd64b50944b640062aebd24be60a831bcee65a165f01dbafa4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO provide docs for builtin \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":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e31b177f76a6cf876e549070234208f13279acdebf6c6f7bf838a1c5ff8b43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO check if this is still needed on 1.13\u002B \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":"apps/elixir_ls_utils/lib/completion_engine.ex"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"989d1a6c3addfe91054a83ad9ee6ec268a044d040e1d5133176097aa3bcffd1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove when we require elixir \u003E= 1.17 \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":"apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"24916367d707d9094c6039e97a6be3002cc29806b42ee369c3676395da953953"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove when we require elixir \u003E= 1.20 \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":"apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"448c5bbc71eceb9bae22b48444f3a8b8551e0f29a296fc079a74a1cc956b0870"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove when we require elixir 2.0 \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":"apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c71f7f4ab145d3d50e0a86ed906d3028cc048030003e9512542e20a0b10610"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO remove when we require elixir 2.0 \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":"apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b10e0ebae090cb5338cbb09b9ea98f54cda0b8d20bd64b6adf28398294d2e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO extract to common module \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":"apps/debug_adapter/lib/debug_adapter/exunit_formatter.ex"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"717639a330c51b7dc3f7ad5a6ca9986415a1bb47062355a60316852f72503da8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO setVariable? \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":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"105fbbd0da8eb5935d01377ef4e461fd6918b6d18fe2096b6eac21bcd1ef4441"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Dockerfile\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f467cbcb372a9e1eadb8dd192191f314d3beec7e4c0d50dea27984255914cfab"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 4 project(s) overshoot their size bounds, lowering Project Cohesion to 5.0/10. The most over is \u0060apps/language_server\u0060 (25029 LoC, 574 module-visible types across 35 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"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":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"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":"7070679db20129dbe75f385966a738be46ea377b4b9ec31e1c136200d056cc27"},"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":"774e84eaf65696bacc627959839c1af1927b88e5fcbe02a78f7a8b8671c240ba"},"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":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"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":"34d991f3a7b8480911904f3a9de2cdf1bb563ab42e29fe2c1ac53ae9a840c3ff"},"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":"311f2b1dd969a2ef73985fc36dd91e65e3d6a6cb49a0706cd68e381199f12c7c"},"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":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"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":"d0ef36c1a9ac2995c2b0ede21960d78f63705369d5d9a5caf90c303ea0d4d36d"},"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":"6e22fa714af38036b109f9493501c28af262c3a9a1a2d30d80f7ec23c8ecb75e"},"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":"6b562a86ba4fad32d6ccdcd6ca2d4c34c2236a59e5d8276adbfb83a1790cdee0"},"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":"8f542124f43f86ebe44b22ed5dc57898ffe2b8f995a0ed9d364dbb2ce34f1b69"},"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":"4a04264eaf0a90ed63886610c9e2251cf5431cabd6d952016a10ea99155c6aad"},"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":"ab979ab2dc46515c14a5a4f004fc991e04e40404eedb88f91aeaa5242f0df4a2"},"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":"a84957d80d6231063eb81020836fc7ea3a575241ac8f9801933701ac2b61dc04"},"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":"40e0c9ff3e70ab9b557fc6c0576cc0b57ffe59bc95e2d2bd2a1fc101309fe9ff"},"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":"2d87ecdbd1a805be58987003a87d034d53b82dfdb129f5b97889e077763ee8c3"},"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":"7bb66083e7c131d33a5f0efb6946ead11305b523b24c38509e8937ddacf6c235"},"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":"57a26156c61a0a77e560a0fd8a3d54c7029355ecddb8abf81c9995188e114e29"},"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":"3e6b0e8091396fad826204f47e1f94438da19789587483d1766ab78f92090ca1"},"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":"a2d40aaefc0dceff838601fdeefd14d76acf0fc9b8b8005eef46051d99617b33"},"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":"286dfb624e7e5257b6f07fe5a685aa73b1ed2fd9ff2eb638c4f8f012fb2138e3"},"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":"3702c3fc2f0edc1e3ef100e1a70464e2c3f10a2d1ce26dc4f9904547d6ff21a8"},"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":"ca456abf581ee0746502fffc1f587ba951d30fa7cde7d357e25616fd651f1eb5"},"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":"4d87e709251e4fcbac9a377fb7106d628ec2011f656855510eeeddc60be83353"},"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":"7e3ade0bbeff48496e3d03511c4502d7b5eacd2c09579924329d6db286cbb425"},"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":"c12c194ba9ed77fae9b5e94bc2c0768231d7cded9cfd6af9b829209af879c6de"},"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":"22521112aec6c9175c174df104537448b13fcc956097c13528570548767c74fd"},"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":"231322eb87daa9b60193649a15e22bf1e5f80f81c312be97059a0eaa1c453e22"},"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":"535b583bc1887b503dd3d5e648cd9a7bcc82fd6ffbdc067e4af6d98d4ad14a2d"},"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":"aa9742d972f9908b5f91564e8405367297c8b00f638dbe0fb61cf62179eaf212"},"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":"843c71e4abd1e8af13215dd3c0eabb2e69de40bd335b2edd35a86dbe1c00d1b6"},"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":"84340a9b1b50641022bb3df3b7418d8c27de7265af261b68e5b11d409588693d"},"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":"D31","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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"D31","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":"6509f9ae7e567aeb5bd9753af08953fb31dbbc35f92a3e6fabf6a748ba58f762"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"e3456a33515efc2e2b0fc6b725fb30396a686312092c39ebaa9032146e44ed46"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 6 of 93 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; 93 of the 151 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: apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex, apps/language_server/lib/language_server/code_unit.ex, apps/language_server/lib/language_server/providers/folding_range/indentation.ex, apps/language_server/lib/language_server/providers/on_type_formatting.ex, apps/language_server/lib/language_server/providers/code_mod/diff.ex, apps/language_server/lib/language_server/providers/folding_range/comment_block.ex. 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":"apps/language_server/lib/language_server/providers/execute_command/manipulate_pipes.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4270a997d2a5ab44e251eda5902594dc192e3b4c26b5ffe59024693026a4b736"}},{"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":"apps/language_server/lib/language_server/code_unit.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed392b488fd1a8372acf1e77a4bade0dbac1b3e91e0227cbe4fc494dec9bef4"}},{"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":"apps/language_server/lib/language_server/providers/folding_range/indentation.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9639505e8db46a13e5936504479d8a402e3e4604adf2aea732c960c49cd4ac"}},{"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":"apps/language_server/lib/language_server/providers/on_type_formatting.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f848a794a30d12885506d0d4d7e44304a33504b6f9714b5524c5f8472d5fedb"}},{"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":"apps/language_server/lib/language_server/providers/code_mod/diff.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc62917d1b9deb6e95c218f75c8c5504f8f3c4e3c58b2fef2cb501293f4dcc36"}},{"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":"apps/language_server/lib/language_server/providers/folding_range/comment_block.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"045ab33ba67a70722495e1a106e5274f0b07f049ff855ebcd058626163bd3d80"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: output.ex \u2194 server.ex: \u0060apps/debug_adapter/lib/debug_adapter/output.ex\u0060 and \u0060apps/debug_adapter/lib/debug_adapter/server.ex\u0060 change together 62% of the time (10 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060adfc80ac\u0060 Introduce error dictionary and codes; \u00600066c907\u0060 move legacy macros to test; \u0060b81b12ac\u0060 improvements to telemetry (at that commit the files were still \u0060apps/elixir_ls_debugger/lib/debugger/output.ex\u0060 and \u0060apps/elixir_ls_debugger/lib/debugger/server.ex\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/debug_adapter/lib/debug_adapter/output.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"505655935e27320c7bba022c8bcfd6d1b10ed0e6bbcae5ee4f615af804c3bffc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: locator.ex, docs.ex, locator.ex: 3 files \u2014 \u0060apps/language_server/lib/language_server/providers/definition/locator.ex\u0060, \u0060apps/language_server/lib/language_server/providers/hover/docs.ex\u0060, \u0060apps/language_server/lib/language_server/providers/references/locator.ex\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/definition/locator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f8a721d61d833beabe156bb81c7098bc89a8a4b9427e63ad78431e90d6f6f3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: application.ex \u2194 server.ex: \u0060apps/debug_adapter/lib/debug_adapter/application.ex\u0060 and \u0060apps/debug_adapter/lib/debug_adapter/server.ex\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060874a226c\u0060 move processes to app supervisor (at that commit the files were still \u0060apps/elixir_ls_debugger/lib/debugger.ex\u0060 and \u0060apps/elixir_ls_debugger/lib/debugger/server.ex\u0060); \u006028de664f\u0060 Dbg backend for debugger (#974) (at that commit the files were still \u0060apps/elixir_ls_debugger/lib/debugger.ex\u0060 and \u0060apps/elixir_ls_debugger/lib/debugger/server.ex\u0060); \u006028c4f28f\u0060 improvements to shutdown code (at that commit the files were still \u0060apps/elixir_ls_debugger/lib/debugger.ex\u0060 and \u0060apps/elixir_ls_debugger/lib/debugger/server.ex\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/debug_adapter/lib/debug_adapter/application.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b690251532127458549dcf1740953d9041f336e5a50fb60188bfef38ef98f944"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: test.ex \u2194 server.ex: \u0060apps/language_server/lib/language_server/providers/code_lens/test.ex\u0060 and \u0060apps/language_server/lib/language_server/server.ex\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060a1147df0\u0060 use parser contest in test code lens; \u00608c359473\u0060 Elixir 1.16 support (#1032); \u0060d77087af\u0060 Moved SourceFile path operations to SourceFile.Path module (#739) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/code_lens/test.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c3be00b7b5d3f94a99eaf43ef14b471af8397ee30041dc8f7a13dce8594ec4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: helpers.ex \u2194 server.ex: \u0060apps/language_server/lib/language_server/providers/code_action/helpers.ex\u0060 and \u0060apps/language_server/lib/language_server/server.ex\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00609cd798ac\u0060 1.19 fixes; \u0060e5f158b8\u0060 fix warnings; \u0060a060c7b0\u0060 step 8 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/lib/language_server/providers/code_action/helpers.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df92b5e21c6f385068ec39cbc665ec2592ae608966d8b0ed51392b4677801f69"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"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":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"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":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17e25c6ec8712fc31b5a2f979ceaca9d8f189f71521ee3b9aaee88e47526586c"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48286f8c58a28a13473d83cd7994435ed92a90507a93676ac9fc2fb348a57546"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 2 application file(s) sit at the repository root beside the build and tooling files (\u0060dep_versions.exs\u0060, \u0060mix.exs\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A Elixir Benchee/Benchfella suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/language_server/benchmarks/document_backing_store_bench.exs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9b94e8e0afdcd9d38450ee9d3edff316e94567af8f4657140cecdeedf56dc1"}},{"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 (\u0060:crypto.hash(:sha256, data)\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":"apps/language_server/lib/language_server/json_rpc.ex"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f6e0768b3a5f436d558ac905d74b66a5104ca513c5fa79f67ffb4837118003"}},{"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 (\u0060:crypto.hash(:sha256, data)\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":"apps/language_server/lib/language_server/server.ex"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"2346385ff83a8822778d3d22cddc55b14530a99f276003dbab59e3c46a3a475e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Metadata.get_call_arity(metadata, env.module, f, line, column) || :any\u0060 appears character-identically in 2 files \u2014 apps/language_server/lib/language_server/providers/definition/locator.ex, apps/language_server/lib/language_server/providers/hover/docs.ex. 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":"apps/language_server/lib/language_server/providers/definition/locator.ex"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a49bea608f75602e2d259323627f4c39c19ba8ccf3ac686e1379de27fc8372"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Metadata.get_call_arity(metadata, mod, fun, line, column) || :any\u0060 appears character-identically in 3 files \u2014 apps/language_server/lib/language_server/providers/declaration/locator.ex, apps/language_server/lib/language_server/providers/definition/locator.ex, apps/language_server/lib/language_server/providers/hover/docs.ex. 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":"apps/language_server/lib/language_server/providers/declaration/locator.ex"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90a91ce874e5ecaef365d105d10f961daf4337e754c8888b326fb1615fe57d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Metadata.get_call_arity(metadata, module, function, line, column) || :any\u0060 appears character-identically in 3 files \u2014 apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex, apps/language_server/lib/language_server/providers/implementation/locator.ex, apps/language_server/lib/language_server/providers/references/locator.ex. 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":"apps/language_server/lib/language_server/providers/call_hierarchy/locator.ex"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f147e63f580e803d3131749f1839cfb7980c964309cd046cd2090740f1c92b75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060String.ends_with?(file, \u0022.ex\u0022) or String.ends_with?(file, \u0022.exs\u0022)\u0060 appears character-identically in 2 files \u2014 apps/debug_adapter/lib/debug_adapter/server.ex, apps/language_server/lib/language_server/parser.ex. 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":"apps/debug_adapter/lib/debug_adapter/server.ex"},"region":{"startLine":3363}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db6cdc12c5626cc2858787210ad5cdb6ff769f5b7289ef899e82bbdbb881316"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end_line == line and end_character \u003E= character\u0060 appears character-identically in 2 files \u2014 apps/language_server/lib/language_server/providers/selection_ranges.ex, apps/language_server/lib/language_server/range_utils.ex. 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":"apps/language_server/lib/language_server/providers/selection_ranges.ex"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f82023b140fda7635d93df7e3c06eaf3f475a7f8194fd98fc5f584887616323"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060idx == length(extracted_lines) - 1 \u0026\u0026 end_column\u0060 appears character-identically in 2 files \u2014 apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex, apps/language_server/lib/language_server/providers/execute_command/llm_implementation_finder.ex. 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":"apps/language_server/lib/language_server/providers/execute_command/llm_definition.ex"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda11cad98b8fd1ffbf418dd725c1ed5ba976d9f5281f3cce0f5aaf9479db895"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060protocol == nil or mod != elem(protocol, 0)\u0060 appears character-identically in 3 files \u2014 apps/language_server/lib/language_server/providers/completion/reducers/callbacks.ex, apps/language_server/lib/language_server/providers/completion/reducers/overridable.ex, apps/language_server/lib/language_server/providers/completion/reducers/returns.ex. 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":"apps/language_server/lib/language_server/providers/completion/reducers/callbacks.ex"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6330884e0dae17d6be3c7bd6a3e06e2fbd3f5ec0762302cc231bc5bdfe4d1eac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start_line == line and start_character \u003C= character\u0060 appears character-identically in 2 files \u2014 apps/language_server/lib/language_server/providers/selection_ranges.ex, apps/language_server/lib/language_server/range_utils.ex. 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":"apps/language_server/lib/language_server/providers/selection_ranges.ex"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"482196bbdd6baccf72cbc3678f0d5c6abecfce5c8611d42fb44baf5b7fa59bea"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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":"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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-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":46,"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."]}]}