{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"TermUIView.validateFrame (cyclomatic 26): TermUIView.validateFrame has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/web/term_ui.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"db55d2aa22e54fea0f8861a7d2798c8de5e6fa76e234d19d43c430e3340d5894"}},{"ruleId":"D1","level":"warning","message":{"text":"TermUIView.bindInput (cyclomatic 24): TermUIView.bindInput has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 244, 232, 266, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/web/term_ui.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56527cebfd9d877063f6017a714506aacea3be1c0a6622edf8dcbd4ee993321"}},{"ruleId":"D2","level":"warning","message":{"text":"validateFrame (cognitive 21): validateFrame has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (6 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/web/term_ui.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"166d641b89319e490db1e81d16bb72e12c7a5433d665944523e7d5bda397740c"}},{"ruleId":"D2","level":"warning","message":{"text":"bindInput (cognitive 21): bindInput has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, boolean chains 7, ternaries 2 (4 pts) (nesting depth added 2). None of this is in the body itself: all 21 points belong to 15 function literals inside it that branch (lines 244, 232, 266, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"priv/web/term_ui.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fcf67ef026fcf871a5201b25a80589a411d0f1153acd7b902688a18acd8476"}},{"ruleId":"D2","level":"warning","message":{"text":"EscapeParser.parse_mouse_params (cognitive 19): EscapeParser.parse_mouse_params has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/terminal/escape_parser.ex"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a67a51d632ff45ad3a622ba1367354f75887c68983dd6c508c85f8a9162d84"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Layout: TooManyFunctions \u2014 44 functions. The bar is 30 functions; this is 14 over it, 1.47\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/term_ui/layout.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c828298493c5a00773b662c9fb61edde81155bf0afecb99eda173a9f8f03d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Menu: TooManyFunctions \u2014 44 functions. The bar is 30 functions; this is 14 over it, 1.47\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/term_ui/widget/menu.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79d699d6a84aec4ffdd4628598aa59a0ffec7460ddeb9d6a4b891e2373f2409"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: FormBuilder: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\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/term_ui/widget/form_builder.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"052af4517a5850ac29c20decd12e0045fe8d56e3259d71144b1fddcf6fb50afa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Manager: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\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/term_ui/backend/manager.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c17cb4d5f1de0fcd3b8d06d8acb10ac5f8c1fd03414b2edc7d4ae76c0cfa92b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Style: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\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/term_ui/style.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37964eac91b15ed1258910e94814b8943192eb87aa4300e638900f9b222ac59e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: term_ui/runtime.ex: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 56 functions. The bar is 500 significant lines; this is 87 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/runtime.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5c85588848d71dbee57c170b04435eb6dd06582dc87da6bfb3f34956e62162"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Table: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\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/term_ui/widget/table.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb256d643fa396950aeb81edc5fd369fe29071f4f9e9f76f3b7157ef50b61b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Frame: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\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/term_ui/frame.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7694d083fba9ec27f3a2ba5fb01a8b972426c3034559857d29989f233f5cfdda"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: CursorOptimizer: TooManyFunctions \u2014 33 functions. The bar is 30 functions; this is 3 over it, 1.10\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/term_ui/cursor_optimizer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f433d14341aabbb32f4d09ada4abb93cd6d4658d84e9056dd843ee6cf368775f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: TreeView: TooManyFunctions \u2014 33 functions. The bar is 30 functions; this is 3 over it, 1.10\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/term_ui/widget/tree_view.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31a72fb10538e0847fc90409bae54f5d3b70ceb5e51fff08f2134775d211746"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: DiffViewer: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\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/term_ui/widget/diff_viewer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd12ced175b2d1bca1d41766d49cce83893d42a64cac317ea2a5228a08d8444f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ssh/session.ex: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 40 functions. The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/backend/ssh/session.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f67ac19bb1af6eb28f08fbc132206c8f97a2a1c780aa06248c021daa2116eea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widget/split_pane.ex: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 45 functions. The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/split_pane.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55fd851dc57f27668cf9184604812e706ced5b085ede766c4f48319266d1df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/term_ui/widget/radio_group.ex:57-78 | lib/term_ui/widget/select.ex:61-86 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/radio_group.ex"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4fcf5a0c0ff16ea3dd8d5c6c223be11ea971eb7c0156b49f18f6f051861eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/term_ui/snapshot/cluster_provider.ex:28-50 | lib/term_ui/snapshot/process_provider.ex:26-49 \u2014 These two members are one piece of code written twice and then edited apart: 23 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/term_ui/snapshot/cluster_provider.ex"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"675f2c3441b209f65afee48f6141891ca4c4bd85aeeb04c0c84384c585c9e750"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/term_ui/widget/checkbox.ex:39-52 | lib/term_ui/widget/toggle.ex:37-49 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/checkbox.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"240af494018170c8b02eb118ecbe6e36083780dd354273b082a8fff810227605"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/term_ui/backend/raw.ex:106-123 | lib/term_ui/backend/tty.ex:111-127 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/backend/raw.ex"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f569f8eb36b0130e075d0d9a8acdcd53a9ce284d9ecf1939785d8a3baf6ec09d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/term_ui/widget/text_area.ex:168-188 | lib/term_ui/widget/text_input.ex:174-189 \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/term_ui/widget/text_area.ex"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a60518452dad19e1259ad4bb2cd7798ba2d5b6161e03e9e8b6cf65a636daa9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/term_ui/term_utils.ex:173-207 | lib/term_ui/term_utils.ex:212-242 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/term_utils.ex"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ef1f9eb7eadfb33e3f0c8640c49d1ee2fc528d8a249e310281e662a522ffd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/term_ui/cell.ex:177-186 | lib/term_ui/display_width.ex:102-116 \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/term_ui/cell.ex"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ba6d98940077bb07c0bf23b97982314741915657ec5b1cfcc364ce3de55bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/term_ui/widget/viewport.ex:226-241 | lib/term_ui/widget/viewport.ex:245-258 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/viewport.ex"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"537ba5c2dbfa75466b246eaab726f62b7b44e300926f284404a7eb0199f73bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/term_ui/widget/dialog.ex:162-174 | lib/term_ui/widget/radio_group.ex:203-215 | lib/term_ui/widget/tabs.ex:201-215 \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/term_ui/widget/dialog.ex"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf5f65cdf849d130b3a412d09f958dcaef27715f2eb781a8a9979ec458a2ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/term_ui/backend/ssh/session.ex:169-183 | lib/term_ui/web_backend/session.ex:79-94 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/backend/ssh/session.ex"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1096b1c251c2ccdf4aefb7f784fbaacde2e77e825844c106a1665004be37f87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): lib/term_ui/widget/dialog.ex:135-147 | lib/term_ui/widget/radio_group.ex:147-159 | lib/term_ui/widget/select.ex:237-249 | lib/term_ui/widget/tabs.ex:132-144 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/dialog.ex"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f56412fc2758171462e7ac7ef497ba9922940190e45e91efbe8d59f9f05b190"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/term_ui/syntax_highlighter.ex:104-117 | lib/term_ui/syntax_highlighter/makeup.ex:39-49 \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/term_ui/syntax_highlighter.ex"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84c8c9f779f22a9123b4fddebb07d1497866abd8c553d196a91febb6e37aaa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/term_ui/runtime.ex:205-213 | lib/term_ui/runtime.ex:462-470 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/term_ui/runtime.ex"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4834f2d52f2e7b7868b498038394397ee698086cbd413d5d45f1dc53eb929710"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/term_ui/widget/text_area.ex:241-252 | lib/term_ui/widget/text_input.ex:242-249 \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/term_ui/widget/text_area.ex"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d31f268fe7bf32fc8ca34c01c3b1cb0e265e304649eb561aca6d5373663307"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/term_ui/widget/menu.ex:52-65 | lib/term_ui/widget/menu.ex:71-84 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/menu.ex"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffcf5b45c8bf8eef59ee534dd640ad4375b28f63dd077906a7829324dc66ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): lib/term_ui/widget/text_area.ex:146-153 | lib/term_ui/widget/text_area.ex:204-215 | lib/term_ui/widget/text_input.ex:137-144 | lib/term_ui/widget/text_input.ex:205-216 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 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/term_ui/widget/text_area.ex"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8935b516bcae1ee4747945f6cd3d43dc1b9a2c708bee833260acfbb344f977c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/term_ui/widget/checkbox.ex:76-79 | lib/term_ui/widget/toggle.ex:73-78 \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/term_ui/widget/checkbox.ex"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b56361b4934c4417997417cfe8653188bdb363775acf10a5cc21218a280172e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/term_ui/widget/diff_viewer.ex:161-176 | lib/term_ui/widget/diff_viewer.ex:180-195 \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/term_ui/widget/diff_viewer.ex"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d102adea4df8d96f02f58500a913435e0263fe0662a70f68c9343053a89a55e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/term_ui/widget/diff_viewer.ex:450-458 | lib/term_ui/widget/markdown_viewer.ex:150-159 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/term_ui/widget/diff_viewer.ex"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"3950400a4f7ce38454bbd58999c494f96218abb31914a8ee94c54b2c7b2b3196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/term_ui/widget/text_input.ex:274-282 | lib/term_ui/widget/text_input.ex:286-297 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/term_ui/widget/text_input.ex"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d6a6b002620753caf00d258479837f6d4468c1aa3c4fe00b79a374dccfa96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lib/term_ui/widget/tree_view.ex:172-181 | lib/term_ui/widget/tree_view.ex:185-194 | lib/term_ui/widget/tree_view.ex:216-225 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/tree_view.ex"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"826603b453e0662100a9ddfee93e387f634a6c723b8dda0e207dbbed967eaffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/term_ui/term_utils.ex:465-478 | lib/term_ui/terminal/size_detector.ex:175-186 \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/term_ui/term_utils.ex"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6841603562ccb862f24800e7e5268a4b312f926973ab6d7db02c489ad07358"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/term_ui/widget/radio_group.ex:163-168 | lib/term_ui/widget/select.ex:253-260 \u2014 These two members are one piece of code written twice and then edited apart: 6 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/term_ui/widget/radio_group.ex"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3849a68c6e453bc85b4e44d2f9c82e1652b2aaa69573d6a264e8041a769432b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/term_ui/widget/text_area.ex:135-142 | lib/term_ui/widget/text_input.ex:126-133 \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/term_ui/widget/text_area.ex"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14ea80bd4b32dc457e24cb8188bb05a4ba063832308eafb8d2bc357092e903f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/term_ui/backend/raw.ex:173-180 | lib/term_ui/backend/tty.ex:172-175 \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/term_ui/backend/raw.ex"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d914e17c6efbff29ecfe1089759a76428431281a99675b34fd40c5a0940f6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/term_ui/runtime.ex:483-492 | lib/term_ui/runtime.ex:526-532 \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/term_ui/runtime.ex"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"34711cbfce648dfa102c946afb87fa0f8950220203d7d433c3546ef44ce2d534"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/term_ui/widget/select.ex:204-210 | lib/term_ui/widget/radio_group.ex:137-143 \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/term_ui/widget/select.ex"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"054d8292ff32cdf224166956e7dd4cc3acc284a002397f5dcd1a5122e8e1dc1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/term_ui/backend/ssh.ex:159-162 | lib/term_ui/web_backend.ex:114-117 \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/term_ui/backend/ssh.ex"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b864f9c71e906ec1c6ac971fa72e2646da408c7d5f7c51552b18e7c3a298a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/term_ui/backend/ssh.ex:190-194 | lib/term_ui/backend/ssh/session.ex:309-313 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/backend/ssh.ex"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa581361b9e53b775c37f00424d22152971807569093f4e13b564c8f4c9d6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/term_ui/backend/manager.ex:314-322 | lib/term_ui/backend/manager.ex:326-335 \u2014 These two members are one piece of code written twice and then edited apart: 9 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/term_ui/backend/manager.ex"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e36a5cadc7418600d33dbe21995478907582eaaa6b7afb46dca90cbae50468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/term_ui/widget/tabs.ex:59-66 | lib/term_ui/widget/form_builder.ex:130-137 \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/term_ui/widget/tabs.ex"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2122331eed93df8a0c68d9de65e5a7978cd13e313fa9d31b92e9de6dbafc0b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/term_ui/widget/log_viewer.ex:59-62 | lib/term_ui/widget/stream.ex:72-75 \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/term_ui/widget/log_viewer.ex"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c270718e4afa036f076fe9faad7f745905466b64dd1b3ae3565b7fe3ebfa683"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): lib/term_ui/widget/dialog.ex:185-191 | lib/term_ui/widget/radio_group.ex:230-231 | lib/term_ui/widget/select.ex:307-308 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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/term_ui/widget/dialog.ex"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65deff6c03ef26853a09b29e94b122848234faa55a2d84666c33a30c4b68acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/term_ui/widget/dialog.ex:207-210 | lib/term_ui/widget/tabs.ex:234-237 | lib/term_ui/widget/tree_view.ex:307-310 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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/term_ui/widget/dialog.ex"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7408be0d8bacda789415fed06fa9009a16805ce018b62427bf6f53006806c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/term_ui/widget/gauge.ex:74-78 | lib/term_ui/widget/sparkline.ex:125-127 \u2014 These two members are one piece of code written twice and then edited apart: 3 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/term_ui/widget/gauge.ex"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"02603f943cce1b97a006c2a44d5303180a0ddd2d0bb658f6bfa4ea1ed501fcd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/term_ui/widget/text_area.ex:219-221 | lib/term_ui/widget/text_input.ex:220-222 \u2014 These two members are one piece of code written twice and then edited apart: 3 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/term_ui/widget/text_area.ex"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8d0f524a6f00a9ece9851e353f22be68318698bc64732196b4bdb687a31836"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/term_ui/widget/text_area.ex:236-237 | lib/term_ui/widget/text_input.ex:237-238 \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/term_ui/widget/text_area.ex"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad9b10625a7239fcd7db7f2a6fe4ea0c50dd26e8b5bc569e9084a36590b3db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/term_ui/backend/input_reader.ex:49-51 | lib/term_ui/web_backend/session.ex:160-162 \u2014 These two members are one piece of code written twice and then edited apart: 3 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/term_ui/backend/input_reader.ex"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2292124affc9c04ef08eb4accb249d211c487da22a98e3c85bc6ecf3bcc327d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/term_ui/focus.ex:48-49 | lib/term_ui/widget/markdown_viewer.ex:75-76 \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/term_ui/focus.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8279430f188d3762eeec0d9e4fe4b6e169096b873efa73b3caadd1af24320593"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/term_ui/terminal_session/server.ex:97-100 | lib/term_ui/web_backend/session.ex:99-102 \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/term_ui/terminal_session/server.ex"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b1a55e981a005786ebe5b86e9d0b638e2611049e6af024e2f27e1f111fbadb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/term_ui/widget/checkbox.ex:100-101 | lib/term_ui/widget/toggle.ex:99-100 \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/term_ui/widget/checkbox.ex"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd83b57d7032bb6df218a3c56863ccf8de742740eea562c8ec1d0a203746b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/term_ui/widget/text_area.ex:256-257 | lib/term_ui/widget/text_input.ex:253-254 \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/term_ui/widget/text_area.ex"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"831f0b016b84590a9b35a25c10dac1151eb769a4c5644fc7a118d3e850b8d113"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/term_ui/widget/scroll_bar.ex:49-54 | lib/term_ui/widget/viewport.ex:93-99 \u2014 These two members are one piece of code written twice and then edited apart: 6 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/term_ui/widget/scroll_bar.ex"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"224f7356cea14100ca0bc9afa337bbfadc76e17d2bd6381af0411abe81d05925"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/term_ui/backend/ssh.ex:137-140 | lib/term_ui/web_backend.ex:94-97 \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/term_ui/backend/ssh.ex"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2a8d38e0e31216ac4193f18fd5a157895257ec839310e1b971be8bf68d6f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/term_ui/backend/ssh/session.ex:323-326 | lib/term_ui/web_backend/session.ex:345-348 \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/term_ui/backend/ssh/session.ex"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d1c9505b04baf0e547703b07b717d7aa04c9cf02c6bf66057f096c07193a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): lib/term_ui/backend/manager.ex:468-473 | lib/term_ui/backend/ssh.ex:197-199 | lib/term_ui/backend/ssh/session.ex:316-318 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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/term_ui/backend/manager.ex"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"9745f78801b70fc299cf0e84896df0f62d14cc81bb6afa2a5494210d1efa9006"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/term_ui/backend/raw.ex:97-100 | lib/term_ui/backend/ssh.ex:171-174 | lib/term_ui/backend/tty.ex:102-105 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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/term_ui/backend/raw.ex"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7921db0274da779fb16596c369d61215d6c69bbd3bd01fa7f847c015202a99b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): lib/term_ui/widget/scroll_bar.ex:56-57 | lib/term_ui/widget/split_pane.ex:161-162 | lib/term_ui/widget/viewport.ex:101-102 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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/term_ui/widget/scroll_bar.ex"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d5b103d29e3f7baa104046608414db12ac115e5d624b7d8e772a8b76877040"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/term_ui/snapshot/cluster_provider.ex:121-123 | lib/term_ui/snapshot/process_provider.ex:95-98 \u2014 These two members are one piece of code written twice and then edited apart: 3 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/term_ui/snapshot/cluster_provider.ex"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"89119a6d1d6d1f7b226f3c54e8886bad329452e98e60f5b42e9a5566c5dae6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/term_ui/widget/dialog.ex:48-49 | lib/term_ui/widget/toast.ex:38-39 \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/term_ui/widget/dialog.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8a89660e458c014b51e706500b8cc3e1d4329aa45177d41be8bfd9bf90a73d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/term_ui/widget/radio_group.ex:83-83 | lib/term_ui/widget/scroll_bar.ex:36-36 \u2014 These two members are one piece of code written twice and then edited apart: 1 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/term_ui/widget/radio_group.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dee2646f0be8d21c5f7bfeb17dc0f91d7cf089033c2295dae258e7b926be070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/term_ui/widget/checkbox.ex:65-65 | lib/term_ui/widget/toggle.ex:62-62 \u2014 These two members are one piece of code written twice and then edited apart: 1 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/term_ui/widget/checkbox.ex"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ed823b4e75ca394e520be3ff6deaa9c652d4336738f3274ecacff567898538"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/term_ui/widget/form_builder.ex:471-471 | lib/term_ui/widget/pick_list.ex:124-124 \u2014 These two members are one piece of code written twice and then edited apart: 1 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/term_ui/widget/form_builder.ex"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"51700269dafc92e55661581112a042b9a6b957eb4244a86276d42c42a775f55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/term_ui/widget/radio_group.ex:84-84 | lib/term_ui/widget/scroll_bar.ex:37-37 \u2014 These two members are one piece of code written twice and then edited apart: 1 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/term_ui/widget/radio_group.ex"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc859fc464b2a38fd943eb7966fec3eba6bda031f78b43857e212366652978d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): lib/term_ui/widget/radio_group.ex:237-238 | lib/term_ui/widget/select.ex:314-315 | lib/term_ui/widget/tabs.ex:220-223 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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/term_ui/widget/radio_group.ex"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b0462dafc6b209c80adee25fe321f5dc7209918cf13296c314befdc240db3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/term_ui/widget/text_area.ex:86-87 | lib/term_ui/widget/text_input.ex:93-94 \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/term_ui/widget/text_area.ex"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"66aadc7a67ac0692201de84ef622c844eed426e0faa63331885720f80c1389cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/term_ui/markdown.ex:357-358 | lib/term_ui/syntax_highlighter.ex:148-148 \u2014 These two members are one piece of code written twice and then edited apart: 1 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/term_ui/markdown.ex"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cded583c72a574a236e6ad43e81c183d392fe001363ed32cec5679015f01fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/term_ui/widget/form_builder.ex:470-470 | lib/term_ui/widget/pick_list.ex:123-123 \u2014 These two members are one piece of code written twice and then edited apart: 1 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/term_ui/widget/form_builder.ex"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c283688de6ef13a29348d0f17c69f862aef86405ecd0b581238b513fbe77222"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/term_ui/widget/text_area.ex:77-78 | lib/term_ui/widget/text_input.ex:84-85 \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/term_ui/widget/text_area.ex"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9760a2fc4a0d995228448be39263cbf417c0ef24382123c7f25b221163b0e308"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/term_ui/widget/checkbox.ex:91-92 | lib/term_ui/widget/toggle.ex:90-91 \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/term_ui/widget/checkbox.ex"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec82db01dbf57c49117fd2ec863db401180cede6f26bea5069856c1b6480bce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): lib/term_ui/widget/diff_viewer.ex:80-80 | lib/term_ui/widget/log_viewer.ex:54-54 | lib/term_ui/widget/markdown_viewer.ex:72-72 | lib/term_ui/widget/pick_list.ex:47-47 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 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/term_ui/widget/diff_viewer.ex"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74e5b39ed5768fdf01ae6271a124c298f138de7cc33b1fa8c58ca41e93838c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/term_ui/widget/list.ex:56-56 | lib/term_ui/widget/table.ex:93-93 \u2014 These two members are one piece of code written twice and then edited apart: 1 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/term_ui/widget/list.ex"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8c84b4ae4ccc1afd73925a1885ec548bc85d5c93510003140f08d01eefea5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/term_ui/widget/radio_group.ex:122-125 | lib/term_ui/widget/select.ex:180-183 \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/term_ui/widget/radio_group.ex"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e60bbb36131df01d0faa5beeba3195f2d6bd9c2853d58008eccc39f3f584c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/term_ui/widget/text_area.ex:80-81 | lib/term_ui/widget/text_input.ex:87-88 \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/term_ui/widget/text_area.ex"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"388febe83e388a6fe8d8f682312b84d4c2bd2631432eec4445d3936db1695d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 2\u002B corresponding lines): lib/term_ui/widget/alert_dialog.ex:38-39 | lib/term_ui/widget/cluster_dashboard.ex:62-63 | lib/term_ui/widget/context_menu.ex:29-30 | lib/term_ui/widget/process_monitor.ex:62-63 | lib/term_ui/widget/supervision_tree.ex:29-30 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 2 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/alert_dialog.ex"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd3fda0631e438c38305e22e23f39973d56ff46256d9ee249fd7eabefcddd37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 1\u002B corresponding lines): lib/term_ui/widget/button.ex:55-55 | lib/term_ui/widget/checkbox.ex:57-57 | lib/term_ui/widget/dialog.ex:53-53 | lib/term_ui/widget/menu.ex:155-155 | lib/term_ui/widget/radio_group.ex:87-87 | lib/term_ui/widget/select.ex:102-103 | lib/term_ui/widget/tabs.ex:52-52 | lib/term_ui/widget/toggle.ex:54-54 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 1 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/button.ex"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afeaba1b2ffd7f9e1ea36b7001843cf2f5876346ebaaceaad4968107b9e6468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): lib/term_ui/widget/diff_viewer.ex:81-81 | lib/term_ui/widget/log_viewer.ex:56-57 | lib/term_ui/widget/markdown_viewer.ex:73-73 | lib/term_ui/widget/stream.ex:84-85 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 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/term_ui/widget/diff_viewer.ex"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"170a4b0dbe229ec4bcf2e266e93ab1966320fecc5cbd5e4bb697a77297892311"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/term_ui/widget/text_area.ex:83-84 | lib/term_ui/widget/text_input.ex:90-91 \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/term_ui/widget/text_area.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb54d5703672401b0fa68695f249fcec0ff071bc017d934ba220168860b458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/term_ui/widget/text_area.ex:175-188 | lib/term_ui/widget/text_input.ex:176-189 \u2014 before extracting anything, compare \u0060lib/term_ui/widget/text_area.ex\u0060 and \u0060lib/term_ui/widget/text_input.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8e76fb6df0be1c90d66d0ca911b9c4c296cea2fdedb91dfcd74260972f36e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/term_ui/layout.ex:138-148 | lib/term_ui/layout.ex:155-165 \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/term_ui/layout.ex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bef4fdec952335501f8f44354161756afcf8de3aef5041f95c664ab807f3480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/term_ui/widget/text_area.ex:206-215 | lib/term_ui/widget/text_input.ex:207-216 \u2014 before extracting anything, compare \u0060lib/term_ui/widget/text_area.ex\u0060 and \u0060lib/term_ui/widget/text_input.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"955b999cf2397b7ccd804a5e56dcda2ad4b6c98fb4237e20e812e2940493bfdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/term_ui/snapshot/cluster_provider.ex:42-50 | lib/term_ui/snapshot/process_provider.ex:41-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/term_ui/snapshot/cluster_provider.ex:42\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/term_ui/snapshot/cluster_provider.ex"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b69bc150e2b9e816617556ac21631b5c1b83770976127e28b855f871e887a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/term_ui/widget/radio_group.ex:147-157 | lib/term_ui/widget/select.ex:237-247 \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/term_ui/widget/radio_group.ex"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b336210ccc81e78c9cfa57fac96c30c00ba5ac6f398e88174d3ba2eba0047b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/term_ui/widget/text_area.ex:41-49 | lib/term_ui/widget/text_input.ex:52-60 \u2014 before extracting anything, compare \u0060lib/term_ui/widget/text_area.ex\u0060 and \u0060lib/term_ui/widget/text_input.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"30828b62ff3a1843263f1099f7a29a00348498755af17429936b8604056ba449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/term_ui/backend/ssh.ex:204-212 | lib/term_ui/backend/ssh/session.ex:331-338 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/backend/ssh.ex"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53ac5b2eb6af7e23be88fee4dcad352cbb79b9b0a75feabc0a48a856935893f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/term_ui/widget/text_input.ex:275-282 | lib/term_ui/widget/text_input.ex:288-295 \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/term_ui/widget/text_input.ex:275\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/term_ui/widget/text_input.ex"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe553c40d4c02fd04230094e41deb7e48f6d81930f870434c96c0daade7c882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/term_ui/backend/raw.ex:151-157 | lib/term_ui/backend/tty.ex:150-156 \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/term_ui/backend/raw.ex"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7442ba34eabe1fa2261de0291e8b0c3a1e429adae050b38be9b21ec1ff4b032a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/term_ui/backend/raw.ex:228-234 | lib/term_ui/backend/tty.ex:223-229 \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/term_ui/backend/raw.ex:228\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/term_ui/backend/raw.ex"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f2871fa79fa592b6b8589abb568cb5a41c1b050b7f726fbac04e22be91ee22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/term_ui/widget/dialog.ex:137-145 | lib/term_ui/widget/tabs.ex:134-142 \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/term_ui/widget/dialog.ex:137\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/dialog.ex"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"616bcabe646bb05ae6115bfabc9684534081a919c4e8cdd20748ca964e1923cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/term_ui/widget/checkbox.ex:39-44 | lib/term_ui/widget/toggle.ex:37-42 \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/term_ui/widget/checkbox.ex:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/term_ui/widget/checkbox.ex:47\u0060 calls \u0060get\u0060 and \u0060lib/term_ui/widget/toggle.ex:45\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/checkbox.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e33d370ec673b3913f4ebddf55089bca488754b99348df4571f09e70035a14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/term_ui/widget/text_area.ex:225-232 | lib/term_ui/widget/text_input.ex:226-233 \u2014 before extracting anything, compare \u0060lib/term_ui/widget/text_area.ex\u0060 and \u0060lib/term_ui/widget/text_input.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2705c38c26ce362183403187e12772a41fe15951d00835d61e3ef86b402f06e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/term_ui/widget/dialog.ex:199-203 | lib/term_ui/widget/tabs.ex:226-230 \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/term_ui/widget/dialog.ex"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a3ceb4f9bfb7248192cc8f2b9265cd13721e2f0ed4b10c9454be41fe472ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/term_ui/widget/radio_group.ex:48-53 | lib/term_ui/widget/select.ex:52-57 \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/term_ui/widget/radio_group.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9cecb1fd46a14d27328f033ab0ae97164dda2bad52c6010d16edf7418298c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/term_ui/widget/radio_group.ex:240-245 | lib/term_ui/widget/select.ex:317-322 \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/term_ui/widget/radio_group.ex"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4990da0e93ac37fe37b339001c1f96c95c73125c78f2ec12a877a5f148d5bfae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/term_ui/widget/text_area.ex:57-62 | lib/term_ui/widget/text_input.ex:68-73 \u2014 before extracting anything, compare \u0060lib/term_ui/widget/text_area.ex\u0060 and \u0060lib/term_ui/widget/text_input.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef761fae3d82c0d44ee2ac9cde930d2f99f7b4800e9c50190d0a8f474be982d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/term_ui/widget/text_area.ex:96-100 | lib/term_ui/widget/text_input.ex:97-101 \u2014 before extracting anything, compare \u0060lib/term_ui/widget/text_area.ex\u0060 and \u0060lib/term_ui/widget/text_input.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3c22e48e6a243bbf47b09ca6bfba228d19b9068780cddc4930e76e95945cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/term_ui/widget/text_area.ex:192-200 | lib/term_ui/widget/text_input.ex:193-201 \u2014 before extracting anything, compare \u0060lib/term_ui/widget/text_area.ex\u0060 and \u0060lib/term_ui/widget/text_input.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"de71f3cb380bbeefbd11557a39a2f9c7139e2429b5b88c2a2b0ab8ea83a0e063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/term_ui/widget/text_area.ex:261-267 | lib/term_ui/widget/text_input.ex:258-264 \u2014 before extracting anything, compare \u0060lib/term_ui/widget/text_area.ex\u0060 and \u0060lib/term_ui/widget/text_input.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be73558ab81d9808294db602c36790f606b2dd5ba4220d87feaa387aa94b1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/term_ui/widget/text_area.ex:104-108 | lib/term_ui/widget/text_input.ex:105-109 \u2014 before extracting anything, compare \u0060lib/term_ui/widget/text_area.ex\u0060 and \u0060lib/term_ui/widget/text_input.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/term_ui/widget/text_input.ex:112\u0060 calls \u0060update\u0060 and \u0060lib/term_ui/widget/text_area.ex:111\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa6b1f4dd6040dcfc26c89f8fa8ebd469bee498b3a540630b0c55dd8edd5316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/term_ui/widget/text_area.ex:148-153 | lib/term_ui/widget/text_input.ex:139-144 \u2014 before extracting anything, compare \u0060lib/term_ui/widget/text_area.ex\u0060 and \u0060lib/term_ui/widget/text_input.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"363f3a94bcaff594f34f86399c0fdaf64aa901a571a4dee33a3589f875c45ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): examples/showcase/lib/showcase/pages/beam.ex:46-72 | examples/showcase/lib/showcase/pages/content.ex:71-88 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/showcase/lib/showcase/pages/beam.ex"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17d7ee451317578b9ffb83e8acad2e7b29d2f4038a3290ce8edf14928a22c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): examples/iex_counter/lib/iex_counter/recipes/form.ex:50-53 | examples/iex_counter/lib/iex_counter/recipes/stream.ex:57-60 | examples/iex_counter/lib/iex_counter/recipes/table.ex:55-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"examples/iex_counter/lib/iex_counter/recipes/form.ex"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08eec9242599378f969a94079cf694322a73892ab6ee878b35d7fe93e392dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): examples/showcase/lib/showcase/pages/beam.ex:89-91 | examples/showcase/lib/showcase/pages/content.ex:108-110 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"examples/showcase/lib/showcase/pages/beam.ex"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"23085b49241bcee4d849484583ec374868658577c73e78e08e8187a954a860cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): examples/showcase/lib/showcase/pages/controls.ex:185-187 | examples/showcase/lib/showcase/pages/inputs.ex:158-160 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"examples/showcase/lib/showcase/pages/controls.ex"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1609ad72554863791541b11bb0b5b5951be9e5aad2af320a1d2129deba8cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): examples/showcase/lib/showcase/pages/architecture.ex:21-22 | examples/showcase/lib/showcase/pages/controls.ex:133-138 \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":"examples/showcase/lib/showcase/pages/architecture.ex"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"830110c0ddd26b0326e4b19152bd98b6853e0ee8c24899f0c75a62e472df062a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 2\u002B corresponding lines): examples/iex_counter/lib/iex_counter/app.ex:19-20 | examples/iex_counter/lib/iex_counter/recipes/form.ex:26-27 | examples/iex_counter/lib/iex_counter/recipes/input_focus.ex:22-23 | examples/iex_counter/lib/iex_counter/recipes/stream.ex:23-24 | examples/iex_counter/lib/iex_counter/recipes/table.ex:25-26 | examples/showcase/lib/showcase/app.ex:50-51 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 2 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":"examples/iex_counter/lib/iex_counter/app.ex"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c931dcc51c64698525c994dd31e76ee87ca7aeb1d2a718f458045715eac90d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): examples/iex_counter/lib/iex_counter/app.ex:16-16 | examples/iex_counter/lib/iex_counter/recipes/stream.ex:26-26 | examples/iex_counter/lib/iex_counter/recipes/table.ex:28-28 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"examples/iex_counter/lib/iex_counter/app.ex"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"967c69f0f5d611447547eeb6faa392bd22942f964f0d522e737f4f717971d687"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): examples/iex_counter/lib/iex_counter/app.ex:17-17 | examples/iex_counter/lib/iex_counter/recipes/stream.ex:27-27 | examples/iex_counter/lib/iex_counter/recipes/table.ex:29-29 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"examples/iex_counter/lib/iex_counter/app.ex"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c15d660238017f3246d28854fab9547c00882c62a3d6757276fbf8906a5f7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/showcase/lib/showcase/pages/beam.ex:66-72 | examples/showcase/lib/showcase/pages/content.ex:82-88 \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":"examples/showcase/lib/showcase/pages/beam.ex"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"80254875e52d84cc2a4b0791042f1642eba1acc534ebb6da2d3f6ba87113f9e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/term_ui/runtime.ex: lib/term_ui/runtime.ex changed 11 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Runtime.handle_info at line 235), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: repair v2 startup cleanup and retained state\u201D; \u201Cfix: repair terminal cleanup and widget state boundaries\u201D; \u201Cfix(runtime): correct v2 input, rendering, and widget regressions\u201D; \u201Cfix: verify SSH cleanup across platforms\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 08:41:38 -06:00\u0027 --until=\u00272026-11-02 08:41:38 -06:00\u0027 --full-history --no-merges -- lib/term_ui/runtime.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/runtime.ex"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea945e56acc25a3cf823bae920611a595f8207314693dfda0140e0cb2ce54110"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/term_ui/markdown.ex: lib/term_ui/markdown.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Markdown.render_block at line 197), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: repair v2 identity layout and cleanup boundaries\u201D; \u201Cfix: repair terminal cleanup and widget state boundaries\u201D; \u201Cfix(runtime): correct v2 input, rendering, and widget regressions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 08:41:38 -06:00\u0027 --until=\u00272026-11-02 08:41:38 -06:00\u0027 --full-history --no-merges -- lib/term_ui/markdown.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/markdown.ex"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ad26d01b6312283ac903b5ff235dffc81afe71e7a95182723911490ab40b3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/term_ui/display_width.ex: lib/term_ui/display_width.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is DisplayWidth.pad at line 139), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: repair v2 startup cleanup and retained state\u201D; \u201Cfix: repair v2 identity layout and cleanup boundaries\u201D; \u201Cfix: harden paste decoding and grapheme widths (#105)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 08:41:38 -06:00\u0027 --until=\u00272026-11-02 08:41:38 -06:00\u0027 --full-history --no-merges -- lib/term_ui/display_width.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/display_width.ex"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9603f04ed1162c66806428ba038c520f9b59084252d58a17e1f6f50d134363a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/term_ui/widget/menu.ex: lib/term_ui/widget/menu.ex changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is Menu.render_vertical_entry at line 410), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: repair v2 startup cleanup and retained state\u201D; \u201Cfix: repair v2 identity layout and cleanup boundaries\u201D; \u201Cfix: repair terminal cleanup and widget state boundaries\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 08:41:38 -06:00\u0027 --until=\u00272026-11-02 08:41:38 -06:00\u0027 --full-history --no-merges -- lib/term_ui/widget/menu.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/menu.ex"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb922493590a13615d2992903e1d388d56c1863fd42e0110c28c98bf5e4fbf9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/term_ui/widget/split_pane.ex: lib/term_ui/widget/split_pane.ex changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is SplitPane.validate_serialized at line 327), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: repair v2 startup cleanup and retained state\u201D; \u201Cfix: repair v2 identity layout and cleanup boundaries\u201D; \u201Cfix: repair terminal cleanup and widget state boundaries\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 08:41:38 -06:00\u0027 --until=\u00272026-11-02 08:41:38 -06:00\u0027 --full-history --no-merges -- lib/term_ui/widget/split_pane.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/split_pane.ex"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9f46af7d0b58907bdd732d4a39ce513443fd57f88c9e9ae59ae62c7ec74ae0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/term_ui/backend/ssh/session.ex: lib/term_ui/backend/ssh/session.ex changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is Session.init at line 21), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: repair v2 identity layout and cleanup boundaries\u201D; \u201Cfix: repair terminal cleanup and widget state boundaries\u201D; \u201Cfix(runtime): correct v2 input, rendering, and widget regressions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 08:41:38 -06:00\u0027 --until=\u00272026-11-02 08:41:38 -06:00\u0027 --full-history --no-merges -- lib/term_ui/backend/ssh/session.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/backend/ssh/session.ex"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef2d3cb8bb2e077c6fd0db81e1e2aad935033473eac179bc97b18d43e1b811e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/term_ui/selection.ex: lib/term_ui/selection.ex changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is Selection.contains? at line 86), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: repair v2 identity layout and cleanup boundaries\u201D; \u201Cfix: repair terminal cleanup and widget state boundaries\u201D; \u201Cfix(runtime): correct v2 input, rendering, and widget regressions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 08:41:38 -06:00\u0027 --until=\u00272026-11-02 08:41:38 -06:00\u0027 --full-history --no-merges -- lib/term_ui/selection.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/selection.ex"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd29a7d8bcd41d31ac28f290a3c376c4d4b015a62a9e8b3ab24f58d2e34c09b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/term_ui/widget/text_area.ex: lib/term_ui/widget/text_area.ex changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is TextArea.text_layout at line 311), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: repair v2 identity layout and cleanup boundaries\u201D; \u201Cfix: repair terminal cleanup and widget state boundaries\u201D; \u201Cfix(runtime): correct v2 input, rendering, and widget regressions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 08:41:38 -06:00\u0027 --until=\u00272026-11-02 08:41:38 -06:00\u0027 --full-history --no-merges -- lib/term_ui/widget/text_area.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/text_area.ex"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9e96ea612c94f4667af279a442c4b0afeda21e64f4a53f75b2beef354956b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/term_ui/widget/viewport.ex: lib/term_ui/widget/viewport.ex changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Viewport.geometry at line 153), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: repair v2 identity layout and cleanup boundaries\u201D; \u201Cfix: repair terminal cleanup and widget state boundaries\u201D; \u201Cfix(runtime): correct v2 input, rendering, and widget regressions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 08:41:38 -06:00\u0027 --until=\u00272026-11-02 08:41:38 -06:00\u0027 --full-history --no-merges -- lib/term_ui/widget/viewport.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/widget/viewport.ex"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e45b98f1e0cfb260161cdd64dcbbf91203c6d9dc7e5fe6e8736b0b5d6142ca"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"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 3 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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060:shift in modifiers and Selection.active?(state.selection)\u0060 appears character-identically in 2 files \u2014 lib/term_ui/widget/text_area.ex, lib/term_ui/widget/text_input.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/term_ui/widget/text_area.ex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b270e3b2e15a580027a074e46983a452dfa0d44d3956670e3eb95dc4797523"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060:shift not in modifiers and not Selection.empty?(state.selection)\u0060 appears character-identically in 2 files \u2014 lib/term_ui/widget/text_area.ex, lib/term_ui/widget/text_input.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/term_ui/widget/text_area.ex"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cf2689f90561a93ae5285cab7245c97df43c1c4e18bc679b206d904162b79a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060List.first(enabled_indices(options)) || 0\u0060 appears character-identically in 2 files \u2014 lib/term_ui/widget/radio_group.ex, lib/term_ui/widget/select.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/term_ui/widget/radio_group.ex"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b730b24bc1259055cfb6ab0f4fe63cc5720d8bbd19003a669c68dae3b83cdf7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current != [] and used \u002B grapheme_width \u003E width\u0060 appears character-identically in 2 files \u2014 lib/term_ui/markdown.ex, lib/term_ui/widget/block.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/term_ui/markdown.ex"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"604b69d04366661dcb48b3e6fac4ca044278a0787b54ec2384ad5230099d51c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(count) and count \u003E= 16_777_216\u0060 appears character-identically in 3 files \u2014 lib/term_ui/backend/capability_filter.ex, lib/term_ui/backend/ssh/renderer.ex, lib/term_ui/backend/tty.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/term_ui/backend/capability_filter.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c43ed3f93225db00b05a840cb2f2e45b2067f52f959b35d49beede02ac7d6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(milliseconds) and milliseconds \u003E= 0\u0060 appears character-identically in 2 files \u2014 lib/term_ui/command.ex, lib/term_ui/runtime.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/term_ui/command.ex"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41f62e7580986dde0c2a8e894d261ce2b656af3b9cb298ee95445af1f3c697b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(r) and r \u003E= 0 and r \u003C= 255 and is_integer(g) and g \u003E= 0 and g \u003C= 255 and is_integer(b) and b \u003E= 0 and b \u003C= 255\u0060 appears character-identically in 3 files \u2014 lib/term_ui/ansi.ex, lib/term_ui/cell.ex, lib/term_ui/color/converter.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/term_ui/ansi.ex"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2a2c1ea84ffede4b8728d224239d29298028bd1f231b2274d4133266d0931c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(rows) and rows \u003E 0 and is_integer(columns) and columns \u003E 0\u0060 appears character-identically in 6 files \u2014 lib/term_ui/backend/manager.ex, lib/term_ui/backend/raw.ex, lib/term_ui/backend/ssh.ex, lib/term_ui/backend/ssh/session.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/term_ui/backend/manager.ex"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8c19ec9aef0924d0b6c4e160e7e3dfef4d4f647317ea2d9484a733fb2da8d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(width) and width \u003E 0 and is_integer(height) and height \u003E 0\u0060 appears character-identically in 2 files \u2014 lib/term_ui/event.ex, lib/term_ui/frame.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/term_ui/event.ex"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05ad53ee775aae0f0d31f6c65ded2e32be1e2654de8115a05151cd87ba4a56d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(width) and width \u003E= 0 and is_integer(height) and height \u003E= 0\u0060 appears character-identically in 2 files \u2014 lib/term_ui/layout.ex, lib/term_ui/widget/menu.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/term_ui/layout.ex"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfc2f7a758cee46783b3f513790c199dff687c3e350a9bdf28b0ae1cb627f6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous.width != current.width or previous.height != current.height\u0060 appears character-identically in 3 files \u2014 lib/term_ui/backend/raw.ex, lib/term_ui/backend/ssh/renderer.ex, lib/term_ui/backend/tty.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/term_ui/backend/raw.ex"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f8cfed7feffeffaf1b1f9f9d8ab2318e7d357c9a8572825161ea51044c561d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x \u003E= 0 and x \u003C width and y \u003E= 0 and y \u003C height\u0060 appears character-identically in 4 files \u2014 lib/term_ui/widget/checkbox.ex, lib/term_ui/widget/radio_group.ex, lib/term_ui/widget/toggle.ex, lib/term_ui/widget/tree_view.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/term_ui/widget/checkbox.ex"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9353d3750a7883cce06c309b928cb6d77dba4738a169b6443a69c1cf8cfb8e2c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060write_to_tty_device\u0060 matches \u0060{:error, _}\u0060 and answers \u0060false\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/terminal_output.ex"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39251b4a90e8532ee3f9abadf677a21399496e0c161f6bbb844222028ec4b11"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060write_to_stderr\u0060 rescues \u0060_\u0060 and answers \u0060false\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/terminal_output.ex"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"931072d2d6da1df1df168658a64e9c22f5a1cf6dc8c12092574ae4f622e5f58b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060start_with_signals_api\u0060 rescues \u0060FunctionClauseError\u0060 and answers \u0060:unsupported\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/terminal/raw_mode.ex"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"49021b7e689edfc3994e80980cb5b3b773a010f0c4905a4d6b6084dd7d0d1871"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060highlight\u0060 matches \u0060_unavailable\u0060 and answers \u0060:skip\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/syntax_highlighter/makeup.ex"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a957b41e9ec7cb04d3e9d7f2fbd0dff80879fb51211381b9fb24f16c4a68888"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060detect_dimensions\u0060 matches \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/backend/selector.ex"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"557e97eb9d1d1d7d75cb45ad3a206ba5919b097cc3bfa9496836c99b6d4fc856"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060detect_terminal_presence\u0060 matches \u0060{:error, _reason}\u0060 and answers \u0060false\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/term_ui/backend/selector.ex"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbafb4a27ed4184cfd2cd63fd21f3ccd147e870f4f0b9a5044030cd098a3c22"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":5,"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."]}]}