{"$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":"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":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"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":"D2","level":"warning","message":{"text":"EExEngine.build_render_slot_context_expr (cognitive 25): EExEngine.build_render_slot_context_expr has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (22 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/surface/compiler/eex_engine.ex holds 2 of the 4 functions over the threshold \u2014 including the worst \u2014 and 11 of the 13 points over it (85%), 11\u00D7 the next-largest file (lib/surface/compiler.ex at 1). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"871b5b3a2e2706758697d8617c648ebdf9eba8db1cc5cd8fb1283b294ac7837a"}},{"ruleId":"D2","level":"warning","message":{"text":"EExEngine.build_slot_props (cognitive 16): EExEngine.build_slot_props has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: lib/surface/compiler/eex_engine.ex holds 2 of the 4 functions over the threshold \u2014 including the worst \u2014 and 11 of the 13 points over it (85%), 11\u00D7 the next-largest file (lib/surface/compiler.ex at 1). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"64af11eac6eb2adea6e4c69ed3d310a6494ccf3304b5b0da70b390ae22e70aca"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.convert_node_to_ast (cognitive 16): Compiler.convert_node_to_ast has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler.ex"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"6329d85ac504486b05c842266c8e494614521aa9e6aef9b8be1e7353bc72add0"}},{"ruleId":"D2","level":"warning","message":{"text":"Render.render_opening_tag (cognitive 16): Render.render_opening_tag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, match/switch 1 (2 pts) (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":"lib/surface/formatter/phases/render.ex"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5375ae3ba30397b568455769230e244d7774f1e9ca127042f3e34ddc4e6af954"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: surface/compiler.ex: FileTooLong \u2014 1393 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 893 over it, 2.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":"lib/surface/compiler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d678407d4e1baf578df5da4860e1e393eed5040f83ac3cfe31bba8bf763d16f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/eex_engine.ex: FileTooLong \u2014 1109 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 35 functions. The bar is 500 significant lines; this is 609 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15504d0d63afe20bfab2cdc1511176f3939d3c54076d7530f217ed04bc83064d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ExPatcher: TooManyFunctions \u2014 56 functions. The bar is 30 functions; this is 26 over it, 1.87\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/ex_patcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac55fd3163fd9e1f48531f8cefa68d437fe831448244a87482c8e78ff299cc5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: surface/api.ex: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 40 functions. The bar is 500 significant lines; this is 107 over it, 1.21\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":"lib/surface/api.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"602106d0fa95db5aae5af9f9400f7a79494765b3032e379b1e7edb7964c6f781"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/surface/compiler/eex_engine.ex:270-307 | lib/surface/compiler/eex_engine.ex:343-374 | lib/surface/compiler/eex_engine.ex:379-405 | lib/surface/compiler/eex_engine.ex:410-436 | lib/surface/compiler/eex_engine.ex:441-467 | lib/surface/compiler/eex_engine.ex:472-502 \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":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"38769d91dfde61f07ed2a3098855d9da12d031613ecb817dfae5ced21bf23e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/surface/compiler.ex:715-738 | lib/surface/compiler.ex:744-775 \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":"lib/surface/compiler.ex"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6f1384fe560fb5cf0e1de6f792fb4f1dd82f226ebb83bb76737dca338b2648"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lib/surface/live_component.ex:153-176 | lib/surface/live_view.ex:98-122 \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":"lib/surface/live_component.ex"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cc1be9f395d54a83ab25b6ecea3a2b33cdd71929f512fe79967305a9d78db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/surface/ast.ex:631-642 | lib/surface/ast.ex:646-661 \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":"lib/surface/ast.ex"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"191a4af9b6db5ea93a38733bb38ab19d0f7503005e01f89a03326abbef57406f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/mix/tasks/surface/surface.init/file_patchers/component.ex:8-32 | lib/mix/tasks/surface/surface.init/file_patchers/phoenix.ex:106-132 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"lib/mix/tasks/surface/surface.init/file_patchers/component.ex"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"49378095fe359ed726a2763e00314a861075360f1675aacc48f77931a6547582"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/surface/compiler.ex:667-688 | lib/surface/compiler.ex:692-711 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"lib/surface/compiler.ex"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbdcee5d238de214a963bd64749958ba32399293372826024c9e2a9fee72bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/surface/compiler/tokenizer.ex:107-122 | lib/surface/compiler/tokenizer.ex:126-141 \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":"lib/surface/compiler/tokenizer.ex"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b530b70639c6b150d2c904995992a35694146f0af33f9a2d96f4c8eff2ba54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/surface/compiler/css_tokenizer.ex:31-38 | lib/surface/compiler/tokenizer.ex:78-85 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"lib/surface/compiler/css_tokenizer.ex"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a31be3dc4f3eaa875c1618b36fc7a6181e587693f87b6e5f3abaf1b2a3ace99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/surface/compiler/parser.ex:122-133 | lib/surface/compiler/parser.ex:175-194 \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":"lib/surface/compiler/parser.ex"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8cfa6db5287a2e2ec7660b54db30ad896e425ecbb1d6feeb13773f2f490845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): lib/surface/compiler/tokenizer.ex:177-187 | lib/surface/compiler/tokenizer.ex:193-202 | lib/surface/compiler/tokenizer.ex:341-352 | lib/surface/compiler/tokenizer.ex:381-400 | lib/surface/compiler/tokenizer.ex:406-415 | lib/surface/compiler/tokenizer.ex:522-531 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 10 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/tokenizer.ex"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"754ed66cc1d42a68de65ffd674bf9484bde2b6da10c4db931dcc07e356d1558b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/mix/tasks/surface/surface.init/ex_patcher.ex:255-265 | lib/mix/tasks/surface/surface.init/ex_patcher.ex:269-279 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"lib/mix/tasks/surface/surface.init/ex_patcher.ex"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"438ee75822e82a555eff1b09ba67995f244b148556dd38790be6d598f2cc8338"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/surface/components/dynamic/component.ex:28-40 | lib/surface/components/dynamic/live_component.ex:23-34 \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":"lib/surface/components/dynamic/component.ex"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6388341a6c7391910bbd50caf035ca576856729df2f5294ffcacef519e8d95b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lib/surface/api.ex:603-618 | lib/surface/api.ex:622-637 | lib/surface/api.ex:641-656 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 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":"lib/surface/api.ex"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec1d466d9a13507841ad6e39fb9865a044ee9fc4d00f84b9f3fc86218d2b7c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/surface/compiler/parse_tree_translator.ex:81-102 | lib/surface/compiler/parse_tree_translator.ex:135-149 | lib/surface/formatter/node_translator.ex:60-72 \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":"lib/surface/compiler/parse_tree_translator.ex"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c74ac2f8dc7827d6200a98b14e6f6ce9e59091e5d33f5f12aeb07ac7c1da42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/surface/compiler/eex_engine.ex:1046-1058 | lib/surface/compiler/eex_engine.ex:1078-1087 \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":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"da41729dbc0364190aabb026f6022b23c0e66d97abff127301572f51f91c18b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/surface/type_handler/default.ex:13-28 | lib/surface/type_handler/hook.ex:32-47 \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":"lib/surface/type_handler/default.ex"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a7bd4fe6cdc33a49905711adc24a3e6d54a2f5bfd5840fc70deaca707564cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/surface/compiler/parse_tree_translator.ex:224-240 | lib/surface/formatter/node_translator.ex:157-163 \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":"lib/surface/compiler/parse_tree_translator.ex"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9d8d3f60c1834f297905445e1de51b7959399645b37ceae2e8ccf0fa6d5888"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): lib/mix/tasks/surface/surface.init/file_patchers/js.ex:5-18 | lib/mix/tasks/surface/surface.init/file_patchers/js.ex:22-35 | lib/mix/tasks/surface/surface.init/file_patchers/text.ex:23-36 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"lib/mix/tasks/surface/surface.init/file_patchers/js.ex"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2323a71f2be41254647875914a97d744e0fa6c3704e025be6f9859512f5f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/surface/directive/hook.ex:20-31 | lib/surface/directive/events.ex:58-69 \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":"lib/surface/directive/hook.ex"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"353f53f9ba57e46b97f9600a3049e696f161311c248e61da21e9cb437bcff2ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/mix/tasks/surface/surface.convert.ex:159-168 | lib/mix/tasks/surface/surface.format.ex:351-360 \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":"lib/mix/tasks/surface/surface.convert.ex"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"db99450a0926042980a65c52471991ff1ff17b31a1049ab6487898a4cb14d183"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/surface/directive/for.ex:15-16 | lib/surface/directive/if.ex:15-16 \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":"lib/surface/directive/for.ex"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"673c62cad282d816e3fec5db2e6e6ba27ca2a19b8a7fbb08b33e01b011582c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): lib/surface/directive/component_props.ex:5-13 | lib/surface/directive/show.ex:5-13 | lib/surface/directive/tag_attrs.ex:5-13 | lib/surface/directive/values.ex:5-13 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/directive/component_props.ex"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a629cf364a4d111fa3b15c603d5cf3e83d4e63c9536b7b03c062277a0ab7b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): lib/surface/directive/debug.ex:5-10 | lib/surface/directive/if.ex:5-10 | lib/surface/directive/let.ex:5-10 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 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":"lib/surface/directive/debug.ex"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d123ad7ce497af16e15abe486ba2afc1cecdae17117bb2a8d5f98d42e2f3bc41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/surface/compiler/eex_engine.ex:1128-1131 | lib/surface/type_handler.ex:165-168 \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":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cf0c88e586a1655539306f75af607cd67115d92146342689f1fe5f475e8bb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/surface/compiler/converter.ex:99-100 | lib/surface/compiler/css_tokenizer.ex:76-77 \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":"lib/surface/compiler/converter.ex"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff4e10638495e4673ac210f76661cebafcbd4a20e59c9021edccdcbbec0a61a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201318 lines \u00D7 3): lib/surface/compiler/eex_engine.ex:383-400 | lib/surface/compiler/eex_engine.ex:414-431 | lib/surface/compiler/eex_engine.ex:443-445 \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 \u0060lib/surface/compiler/eex_engine.ex:383\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/surface/compiler/eex_engine.ex:382\u0060 calls \u0060build_props_expressions\u0060, \u0060process_context\u0060 and \u0060lib/surface/compiler/eex_engine.ex:443\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":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0957dc9558f124929e025c44289b6531ea7ab3b4af7ad05fd82109e06771c221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lib/surface/catalogue/examples.ex:160-174 | lib/surface/catalogue/live_example.ex:123-137 | lib/surface/catalogue/playground.ex:181-195 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/catalogue/examples.ex"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6082abe48a5aec7e52bbd945291a826ce13572fa1fc2875401bf0aeffb0d11c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/mix/tasks/surface/surface.init/file_patchers/component.ex:14-29 | lib/mix/tasks/surface/surface.init/file_patchers/phoenix.ex:110-124 \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 \u0060lib/mix/tasks/surface/surface.init/file_patchers/component.ex:14\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":"lib/mix/tasks/surface/surface.init/file_patchers/component.ex"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd649b529d72ffaebd99a351f18ece384874074fa2dff1cc351d1c540749b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): lib/surface/compiler/eex_engine.ex:294-307 | lib/surface/compiler/eex_engine.ex:361-374 | lib/surface/compiler/eex_engine.ex:392-405 | lib/surface/compiler/eex_engine.ex:423-436 | lib/surface/compiler/eex_engine.ex:454-467 | lib/surface/compiler/eex_engine.ex:489-502 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/surface/compiler/eex_engine.ex:294\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":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8007e3374fdafe00cb51b438e2d0a303f92f6098bc413b5fbe23c82cbe99de1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/surface/api.ex:605-618 | lib/surface/api.ex:643-656 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/api.ex"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d5ce5391336eb6eab68e29c246e2e801bd055e0f6814b9e758a4ed23b33676"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/surface/compiler/tokenizer.ex:626-633 | lib/surface/compiler/tokenizer.ex:657-664 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/tokenizer.ex"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c19ef9f90ecdc9e3f0784e9b144e2e66de84dff188b616dc1cffab5baffa27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/surface/compiler/eex_engine.ex:446-452 | lib/surface/compiler/eex_engine.ex:481-487 \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 \u0060lib/surface/compiler/eex_engine.ex:446\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":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb5721f5869b8e53be54a6bdbe4e0c6b15ca32d1dce78a5940f30af850fc522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/surface/compiler/parser.ex:94-100 | lib/surface/compiler/parser.ex:104-110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/parser.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f849d823dd4e5ae7bf88ea73d44e9f1c9801de99f13eb012b19800856d027da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/surface/compiler/parse_tree_translator.ex:224-229 | lib/surface/formatter/node_translator.ex:157-162 \u2014 before extracting anything, compare \u0060lib/surface/compiler/parse_tree_translator.ex\u0060 and \u0060lib/surface/formatter/node_translator.ex\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/surface/compiler/parse_tree_translator.ex:224\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":"lib/surface/compiler/parse_tree_translator.ex"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5458f53b135512bf2691bd288bfcbe2bac6e0330dcc018be4de0f4740b039efb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/mix/tasks/surface/surface.convert.ex:136-145 | lib/mix/tasks/surface/surface.format.ex:320-329 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.convert.ex"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8cccceebfd8c5681ecab94b45b8a156cd89baebeff1c7f0c8c4b7e2467d208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/mix/tasks/surface/surface.convert.ex:216-222 | lib/mix/tasks/surface/surface.format.ex:440-446 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.convert.ex"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c0a02d0f2d499caee1bfa1da1b7f2713e40f740d1ad2fd616329990b764b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/mix/tasks/surface/surface.init/file_patchers/mix_exs.ex:38-47 | lib/mix/tasks/surface/surface.init/file_patchers/phoenix.ex:155-164 \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 \u0060lib/mix/tasks/surface/surface.init/file_patchers/mix_exs.ex:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/file_patchers/mix_exs.ex"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"71aa605304fd45791b318a8d17105db8b0fccb35fb6b0e3efa9183b3932b9d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/surface/type_handler/css_class.ex:20-25 | lib/surface/type_handler/event.ex:11-16 | lib/surface/type_handler/hook.ex:8-13 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/type_handler/css_class.ex"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4726f7185d8b81a4de1ad950e75fe12412b5ff7272e6a7bb882c4b0c7b08782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/surface/compiler/eex_engine.ex:312-318 | lib/surface/compiler/eex_engine.ex:343-349 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1983738fe4a15b5bef814e712c6844014a0b8d2599edc170ef741fc3e671e7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: lib/surface/formatter/phases/render.ex. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"29ba5687613d9dd25ad528d1f9775130802ad4f68f7575c91e839948f42096f0"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (3 single-owned of 54 analysed files in total, 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; 54 of the 112 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: lib/surface/base_component.ex, lib/surface/api.ex."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Why \u0022INNER WITH ARG\u0022 is resent? It shouldn\u0027t! \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":"test/surface/integrations/lv_change_tracking_test.exs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3701b0be1a3f946f9fdaff5b99e2c5cf58548442c4c95667d8105455fd117c40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Why \u0022INNER WITH ARG\u0022 is resent? It shouldn\u0027t! \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":"test/surface/integrations/lv_change_tracking_test.exs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4a8b8bfc3eedb16f56b0b9d2a8e8e14bbaf565e1b54a3649c53992fc52ee29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: optimize :on-* with literal values \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":"test/surface/integrations/lv_change_tracking_test.exs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb553ed484cf18c3553c7d04b02eace04bd0d18f71a13b43dced794f34bafd87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this patch whenever phx.new starts generating the project \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/mix/tasks/surface/surface.init/integration_test.exs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d6896d1cf23e747945302a13891b41f5eb23b5e2138426ccae949cf2c5994a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO differentiate between raw HTML and plain text ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/ast.ex"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab135681288f99b41a9a6b760fd58f308f09b12b25103ed5468b7b2b6aca025e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add all relevant information from the caller (when it\u0027s a component), e.g. props, data, style, etc. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler.ex"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2160052bbc138ed7eb8aaa6c40ff0dd80f6daacaec88c573f18ca82426d464c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: turn it back as a warning when using @after_verify in Elixir \u003E= 0.14. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler.ex"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5cd57132a96b8e75692292b9c8c66470d70a929ac86528f31ce4cf2d749cd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: we should call validate_slot_entries/3 validate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler.ex"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb534f5e41a6d620bef4185ffefe013e0a4f4f641ea6f678184c6468a2f7af4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: when support for \u0060attr\u0060 is added, check for :css_class types instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler.ex"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"352d74f28bd2350d638aa71c6cefddacc76dd2930d0d8d8505c27c0fb3a41bb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: raise \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler.ex"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"6572019d8c1644b726b617819eeb7d10fd07b77347154bdad83a9a87e1d6ff02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Create a struct to hold and inicialize the selectors or even the style itself \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler.ex"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c58c5e9b72421110155e924992fa484db5dbeb3313f32b702761980759c15b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: If we add a property to define the list of available modules or create \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/type_handler.ex"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a93af3bc2a76fc014c564a3ec17dfca79233e4464a363a1e86abc8ba172bdd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: If we had a %Surface.Event{} struct, we could implement the Phoenix.HTML.Safe \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/type_handler/default.ex"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"065acb0466e04907cc9b63fc04e14557c94635c73c2859f058a2c2859338ec07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Update these after accepting the expression directly instead of the :root attribute \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/formatter/node_translator.ex"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"557c90d1a88891aac68abcc7e2aa71dff479a4138db1e454640bccd76859e2ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Update these after accepting the expression directly instead of the :root attribute \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/parse_tree_translator.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"871ed6c2a81966a7e5848452e520059920a1b3eca6130d85205666092c3020fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this when LV min is \u003E= v0.20.15 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/directive/events.ex"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6691fbdf0214268f2eb1681a4e211d62334ac4edfeaf0eccb0001a9284999f62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this when LV min is \u003E= v0.20.15 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/components/link.ex"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1424f6f3baeca398bd3e0ad660639f9ec6cbc568ce47a412ef9b5402c7cc7e6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: check if it\u0027s maybe better to just always add [the-prefix-self][the-prefix-xxxxxx] \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/css_translator.ex"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0475b218bbaa5838c33601ab7da60732c9ff1d3aa94f49379424868b7ca3f86b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: validate invalid value \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/css_translator.ex"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fb7230aaa9a09863b4d34ed07e54a9c8dd7eb3759fda277a1a75dbb2644202"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Force using directive :propagate_context_to_slots in dynamic components and remove the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2def640ff65a2223e5139666dacd677264fb8ed564fc6a71a5f79aeee14c657c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: use \u0060Macro.quoted_literal?/1\u0060 instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22a325c3cd90bd1840f46122d8b151e8b7b9df787ca0ea349232fdd479d358e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: remove this function and use the \u0060caller_spec\u0060 field on the \u0060CompileMeta\u0060 struct instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/helpers.ex"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5dc190bfcad2c21423291bf384d09fda89189e910f6a4a146d8191f7123372"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: use this when opts is properly retrieved \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/ex_patcher.ex"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0099a0e78de30a4b596665c995dc20e24b29d0823f919ab613ecf7e8b58b52b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Validate if it\u0027s a 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":"lib/mix/tasks/surface/surface.init/ex_patcher_move.ex"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a932951ee47c866cd86da9eb19de7a9859a2beb6e5edf43931d1c55047e76e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Validate if it\u0027s a list \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/ex_patcher_move.ex"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbfb9739f38947f3c08e738edac0e93329138398dff3369c04e243a6fd5d9af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Validate if it\u0027s keyword list \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/ex_patcher_move.ex"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc50389c3d7b5ec44773b125f500ebf3f8b2a27ad0b911080899ac7ff4aba17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: validate it\u0027s a keyword \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/ex_patcher_move.ex"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d46139ae0bf7ed592dc242db889190846b61a694b8df49fd40188c19a9a4d69"}},{"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":"2b50d6185f231a28fa9959e31861b0be76667502f1a2f794cc5c60d4fa797cb7"},"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":"db1bc6299330048582794a702bfc6e0611cfcf2c2e5e80b1722cacddc690422c"},"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":"53041d0452eb7a0f6d7363cca46cccfc47fe77904a465fee573e39f7c59d9395"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"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":"fb481229b7f07dab306ecb94f830ec69d91a468844f63169b104206229a1a533"},"properties":{"dependency":{"package":"plug","version":"1.19.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac73ed14b22d77a4190ddbafa7155d02dcddc6001980a24b14bbd6ba7f22d460"},"properties":{"dependency":{"package":"phoenix","version":"1.8.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12192512338528ab229b69a82f3b5f1b5c2b67cd1c3402767296d0878121b0f2"},"properties":{"dependency":{"package":"plug_crypto","version":"2.1.1","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78fb365146500b5b528e3d6c9007c50bf98e8c9e85bc88df895185b4be91583f"},"properties":{"dependency":{"package":"phoenix_html","version":"4.3.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4dbbe9464ffc8911dd842c600d56a85467bb225453f2b6e69136a0253115530a"},"properties":{"dependency":{"package":"phoenix_live_view","version":"1.1.20","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d32be382f68f148cce9e2326a56bde545bf890e44d87f4ab245ac703bd3a965f"},"properties":{"dependency":{"package":"lazy_html","version":"0.1.8","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 54 of 54 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 54 separate risks. Counted over 54 of the 112 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad4f50edce432664b4bc2316d25af0cc533e4b55f950f79be32489d56c11143"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/eex_engine.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fb8a447d1958b6d0ebb9960bf3c123334dce8bfc9df06ac11ea860c80d610f"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/tokenizer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04851d2e5ce96f89754b9511c5ef2785466ef04a6df69e2f0f618141022c04d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/ast.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"890110bcc4044401829c7577897c851b3bc4c328eb28705d80cf43f173d11912"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/api.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7834a7cfb8f6be9dd49d8c652c35a4b24da69849cf40b0b3720221b3adf2fd7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.format.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a3d791ffac6664891da28c90d45523903685cd1268d6f5fb538a6a5501bfb2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/formatter/phases/render.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a8471489a1102df7902ddfcb6a1c74215e4e1a9666a90c1bbd70d29be50cd9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca560af01610aa941b524b987e258b19b5980c8e64257e4492e2b89c00379672"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/parser.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef2a1c3610677662565c5738615c4279b32f41a87008c3caa6c0c8f2266321f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/ex_patcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a62afd1d49fb43db660387888529344eb1f43b75d275df01dd30fb99480570"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/formatter.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d588c275b28e9ea788d71c38263ec1f38db0935a8226edd1f42607f235d9b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/components/context.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1baf3d4f4e69b8bce9359484af299de5a3ca3b96d917144dc5140d209b7c9388"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/type_handler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fad624e73d1676531188deb3f28beebdb02e06938ecda8d423dfda5a4d37ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/compile/surface.asset_generator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c37a4d2c9b6af5e94cb715d36f2ab514960fce051211d056e670db62eeb031"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/compile/surface.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e942bf68fc44d10c63592fa4ee4fd0e42a6f15fffc3551e0e022ae1f805e25f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/helpers.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc04fc863484ebc4ea492e5cbb88e134bd8ba363c903381658693cd9a9f97bee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/catalogue/playground.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d067272266a8f6208d629960e4627ccfeb5ddf551a37973ed97a3ea825f64d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/css_translator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e9c51804248510f2684a2fb1888320c395c324dd48e3ad46e0b7a08a0feca5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/css_tokenizer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fed9f3ebfd786e76dd03a92a469ad0b5a0989c7c8b7553eaaa5668da108a3da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bf70de6e47254c54d218a6c20bf2203ea3891dcf0a9933191e6f7de9cd51ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/catalogue/data.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6def8f5b2e566c7c55185ee0555c4d08af59cb444fc2df539d881aaa0ac0fc21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/base_component.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78bda2f6a9fcdecf28183c1541fbf6a190bd1d62ef0a19a5fa33c668aa53a86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.convert.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4bd2653e2505fc0210198da5ac368add7f71061ee10691a08ff1f1749525ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/converter.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e2cf78bb4e04ae36ad3fcafeffdf23253f2b1a37c0815de5dec075ffe249a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/catalogue/examples.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bb0249450c2861d0c3d672606159302e5279f66163eed2607d954f8c37fd96"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/parse_tree_translator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"796889ac0a35d01ee332262a6fc5f37ef626bd270a574ae5fd726b3b1e843fe0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/components/link.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce8c091668aab5a9047d334a04135557e00e380e9217967a2200826fe4816d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/project_patchers/catalogue.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8967d29283b030285f90333f814a61d75d7d67ae3c3de2a93b335d230a0928b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/compile/surface/validate_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fa451b15a9ea4745c244c0953e9be3b06009f6cda3957dc4d450b23f3f2898"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/file_patchers/phoenix.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6987fe47b68d2851546249608115bcbf37be4ad9f8faa33753c7ce1deedb092b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/live_component.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ab00b433e94394d56d5fcba7cd721c59c2081fe0bbd91c05798dff594e5239"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/ex_patcher_move.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a4ad71b4fe314487b880070d4d0e8345d51bc9d3ef3238c1fcdd21ae9b5d9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/catalogue/live_example.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a290e412f9c908ad386b3372c668bc1d4f3fea68964f5ac1e8fcbfff3eafa2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/patcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed0d30dc835be5a73275b7fe9614fd7e4b7c9a2692e068183f9a41b6423a7cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/formatter/phases/spaces_to_newlines.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c509bfc5ed675a25a27da81c6255fe6e7dee4f91367996c1a0c5487fb4082dbc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/formatter/node_translator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"155bcbe0fdeab2e093c833b650b59f7a64adfc3c3a1e637abc527ca08bc05653"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/component.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a2f3dd84a6998cc6abf1ad2a86d005f7204f524e04ca60c81b67ccc3fd5288"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/css_parser.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2636a54a3fd1318fc6fb4b893ec28379c8e7e7a68410ecdc00c8879fb2fe994e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/live_view.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b993ed96ea9bacf0e2d9f45b0f3ef90af06524a2e200d15cc5d926911fa99b17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/catalogue.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebba03e0e95c0a9380027c8927c39b79586846565d6ca6c7613a39092ff8d0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/formatter/phases/tag_whitespace.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ceac9a80806b36a4b65e875203fd41f766effa14495e8174204752a5063ba8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/view.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac46a1375f74eea0578cb56c233d343cee373e7c40a7e6b747de5cfa561135f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/project_patchers/formatter.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bb7cc3e44e03190566113e76b93328289985fc8823c3aa4796ec6105807944"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/project_patchers/common.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb56a91fb2a7491c5b76e26a15a4f226413e0047aa23cba98b5083e2660c55c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/macro_component.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b6cc84574970edf3267c16775a279f5713fd17c9b4f6b9652c6b3ad63803ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/formatter/phase.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0ab3e5ac75799f8230e318b3e1cd0c50d737d3acbc65e66001e7160c811c76"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/node_translator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b481192e2f6e5b101de7179758f807d07414c6bced4a09db7ecfdd6b028e08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/directive/show.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8dc5902ea7a7c45c2bb9cab73240f5d390f7873e4f321b2df24dbe9e9659a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/converter_0_8.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b497915a45610997ee32a28d0b8fd93509e668c7cee57ff361f2bf703c51ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/renderer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66df023028cf82466d2593884e16af35c28d1ed56e7ccf759df40bd6b7334a6c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/compiler/variants.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60291b75d6f89c05b2d7d2eea529c1ba6239ef2c310b7a5159b061355d5bcd1f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/file_patchers/mix_exs.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"912a8558c00afb5de27deceaf8dcf0eb0cd2cdad6da120ac41300a5f850365e6"}},{"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":"mix.exs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4424b1f56ee76e34d546fc1662d7cf991bb506664413949da2b012cea7d2b52a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/surface/surface.init/project_patcher.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be73dc121e6ff4803c36328bf590888e5b87b57b6a4927f37a8dc211d2b61dff"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: validate_components.ex \u2194 eex_engine.ex: \u0060lib/mix/tasks/compile/surface/validate_components.ex\u0060 (context mix) and \u0060lib/surface/compiler/eex_engine.ex\u0060 (context surface) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006019591b2d\u0060 Add column information to diagnostics; \u006095a011a5\u0060 Root nodes of child components also belong to the parent\u0027s scope (#670); \u0060a3206260\u0060 Store only required information on component calls (#651) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/compile/surface/validate_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced44419c9b7535a60fb469b76ec3c78d3a106117d0edca247953c3059cf9290"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: surface.asset_generator.ex \u2194 surface.ex: \u0060lib/mix/tasks/compile/surface.asset_generator.ex\u0060 and \u0060lib/mix/tasks/compile/surface.ex\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060b1318ecb\u0060 Add compiler option :generate_assets; \u006001e6773e\u0060 Fix surface compiler when setting css_output_file  (#646); \u006049228669\u0060 load components with Surface.components/1 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/compile/surface.asset_generator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff61b603c920850ee28d07d1f478d6ffc4d7127993747daa70364e86b21f9eb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: live_example.ex \u2194 playground.ex: \u0060lib/surface/catalogue/live_example.ex\u0060 and \u0060lib/surface/catalogue/playground.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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006031d97652\u0060 Remove compile-time dep between examples and subjects (#774); \u00605c91db54\u0060 Compile error when catalogue module cannot be found (at that commit the file was still \u0060lib/surface/catalogue/example.ex\u0060); \u006062454361\u0060 Add catalogue_test/1 macro and multiple examples (#606) (at that commit the file was still \u0060lib/surface/catalogue/example.ex\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/surface/catalogue/live_example.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dae33be603877d82bc7a88986d764d2958f7f95cf20e9384404bb557a72a613"}},{"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":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add sobelow (Elixir/Phoenix) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"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":"lib/surface/base_component.ex"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"085e85c8f1c6fdc15771e47a498565d2c533940d27a7b08298b767be0ae6684c"}},{"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":"lib/surface/compiler/css_translator.ex"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d713f1a8739477ccf995201ca946fea1176bbddb5eeb6cc9ea4787c7ee191698"}},{"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":"lib/surface/view.ex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7277bb9fb3297bcc8ebf5e6713b03ba891f684aa32e8104df25801c8cdad6533"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060formatter_opts[:surface_inputs] || formatter_opts[:inputs]\u0060 appears character-identically in 2 files \u2014 lib/mix/tasks/surface/surface.convert.ex, lib/mix/tasks/surface/surface.format.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":"lib/mix/tasks/surface/surface.convert.ex"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01a441d6c8e258d6b9d00aeef17d2ed4ad677e69c018a562f54f364ea70cfa1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_list(value) and Keyword.keyword?(value)\u0060 appears character-identically in 3 files \u2014 lib/surface/type_handler/keyword.ex, lib/surface/type_handler/map.ex, lib/surface/type_handler/style.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":"lib/surface/type_handler/keyword.ex"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35f77672cb9d587e9898b4c1e3f2d5cf1889fbb38eea7c5f7c71af6a9c3e649"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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"}]}],"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":11,"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."]}]}