{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","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-1059"],"owasp":"A02: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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"CommonDataTableV2.CommonDataTableV2 (cyclomatic 37): CommonDataTableV2.CommonDataTableV2 has cyclomatic complexity 37 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 16 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c98192c314845b8526490a873a0fe3fd17cbde54fa1654a2d3e69c4a7ef8d15"}},{"ruleId":"D1","level":"warning","message":{"text":"EditOrder.EditOrder (cyclomatic 33): EditOrder.EditOrder has cyclomatic complexity 33 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 16 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb27b35db6c35b9dbe0daed4769bbe759d31bfcde89e86231b22593de34253dc"}},{"ruleId":"D1","level":"warning","message":{"text":"EditPurchase.EditPurchase (cyclomatic 28): EditPurchase.EditPurchase has cyclomatic complexity 28 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. 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":"app/resources/js/react/components/Purchases/EditPurchase.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9ba0b22ea8a5bc9bb279e682534557db0551cc5b4c1fa0d03cd027c26546d5"}},{"ruleId":"D1","level":"warning","message":{"text":"ListProduct.ListProducts (cyclomatic 22): ListProduct.ListProducts has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 81, a function literal at line 112, a function literal at line 139, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d6eefafec56d04abdcaca0efa368bf288cd7d2062d715429556f0cb8d46593"}},{"ruleId":"D1","level":"warning","message":{"text":"StockInDetail.StockInDetail (cyclomatic 21): StockInDetail.StockInDetail has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 84, 123, 155, \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":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddff63b14d2e0efb8f92d4e6074011d71c2225ff77377bacf4ebdbdc16e4a62"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoDataTable.AutoDataTable (cyclomatic 21): AutoDataTable.AutoDataTable has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 4 function items inside it that branch (handleGoto, load, a function literal at line 80, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/AutoDataTable.jsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25aaf7e17eca27b93aad318c88c7c876f59cddfe5dc7311177d89386fc23b11"}},{"ruleId":"D1","level":"warning","message":{"text":"Products.Products (cyclomatic 20): Products.Products has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 41, 83, 69, \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":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56aa47c3f1c73b3d239d5161d0ffd6fb09ac220e3fb71512ec9b01b979e5331"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonDataTable.CommonDataTable (cyclomatic 19): CommonDataTable.CommonDataTable has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 59, 64, 117, \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":"app/resources/js/react/components/CommonDataTable.jsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acd66974ca8664ba2266c806b963e5d7c60898b07f05706ae9b7d978b957b5c"}},{"ruleId":"D1","level":"warning","message":{"text":"PopupContext.PopupProvider (cyclomatic 18): PopupContext.PopupProvider has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 18, getIconStyle, popupTitle, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/popups/PopupContext.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3e05d88a5df4156d94a87dfe87d40475c98ec642a4376c25b6b3c8c0024fe1"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchSelect.SearchSelect (cyclomatic 18): SearchSelect.SearchSelect has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/SearchSelect.jsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3f7682d18480308068a712ad6802ff47eb341ad5e177d5235ab72ac4245536"}},{"ruleId":"D1","level":"warning","message":{"text":"StockOutDetail.StockOutDetail (cyclomatic 18): StockOutDetail.StockOutDetail has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail.jsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"633f49928790d498d971c789f1283179f99cb56b47e491ef2aa617178ad7d26e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditOrder.EditOrder (cognitive 44): EditOrder.EditOrder has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 12 (22 pts), if/else 16, boolean chains 6 (nesting depth added 10). Of this number, 26 points are the body\u0027s own statements and 18 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bf845b4142749c35b2067c181a9891d4179091e900af72271e29befba73502"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonDataTableV2.CommonDataTableV2 (cognitive 42): CommonDataTableV2.CommonDataTableV2 has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 13 (27 pts), boolean chains 11, if/else 3 (4 pts) (nesting depth added 15). Of this number, 20 points are the body\u0027s own statements and 22 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a990719b6def70358a0b623e381d596272b7db5873a19a7e408b57910be4b6"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchSelect.SearchSelect (cognitive 26): SearchSelect.SearchSelect has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 6 (9 pts), boolean chains 2 (nesting depth added 11). Of this number, 15 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/SearchSelect.jsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1940c3ae23ad3a98322061b679a150f5717000bce79cb9b081814edf581004"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonDataTable.CommonDataTable (cognitive 26): CommonDataTable.CommonDataTable has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (16 pts), boolean chains 8, if/else 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 64, 59, 117, \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":"app/resources/js/react/components/CommonDataTable.jsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa737c08086b40926fb93c599a55b27611d4909da8d84470705008c311535cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"StockInDetail.StockInDetail (cognitive 23): StockInDetail.StockInDetail has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11, ternaries 7 (10 pts), boolean chains 2 (nesting depth added 3). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 84, 123, 155, \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":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"93215197115e367f7aabcaecfd742e82a6eb9db9993d595167c80a8c70037ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"EditPurchase.EditPurchase (cognitive 23): EditPurchase.EditPurchase has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 13, if/else 10. Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (nextStep, a function literal at line 65, a function literal at line 87, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ec5fd7137b1c30f9535aa958d939667a581fc903c53b194211522170070609"}},{"ruleId":"D2","level":"warning","message":{"text":"ListProduct.ListProducts (cognitive 22): ListProduct.ListProducts has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (11 pts), if/else 10, boolean chains 1 (nesting depth added 1). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 81, a function literal at line 112, a function literal at line 139, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38db13bad5e5a4c803375a194c2d93e28d09fee3eb162c950aa91c4a11c6fae"}},{"ruleId":"D2","level":"warning","message":{"text":"activity-logs.ActivityLogs (cognitive 22): activity-logs.ActivityLogs has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (19 pts), boolean chains 3 (nesting depth added 11). None of this is in the body itself: all 22 points belong to 3 function literals inside it that branch (lines 73, 89, 101). 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":"app/resources/js/react/pages/activity-logs.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9f2606e183f3dd608cb55e69c76d0e73e9c1704798b9bd2c2954c872ce3cd1"}},{"ruleId":"D2","level":"warning","message":{"text":"StockOutDetail.StockOutDetail (cognitive 21): StockOutDetail.StockOutDetail has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, ternaries 5 (8 pts), boolean chains 3 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 10 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail.jsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3078bb723b1812099d35bbe5f70eade3472ae4963144fa16f77428ce69355300"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionCard.ExtensionCard (cognitive 19): ExtensionCard.ExtensionCard has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 4 (6 pts) (nesting depth added 8). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 39, 46, 54, \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":"app/resources/js/react/components/Extension/ExtensionCard.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"56045bce82ace61cf43cd3c6a20af6d95e5514e728792aae9d9db65d40d55ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"Products.Products (cognitive 18): Products.Products has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, ternaries 4 (7 pts), boolean chains 2 (nesting depth added 3). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 41, 69, 83, \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":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa45ebca62cd41f1742b4fb7d0250db31607145bd7c31c03f4e83381ada5881"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexCustomInvoiceOuts.IndexCustomInvoiceOuts (cognitive 16): IndexCustomInvoiceOuts.IndexCustomInvoiceOuts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 5 (7 pts) (nesting depth added 2). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 67, 95, 130, \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":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b0a684af9388c4846ed6a2173c6aa653a39e0f7969282dd8b17c26b5328a8f"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoDataTable.AutoDataTable (cognitive 16): AutoDataTable.AutoDataTable has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 5, error handling 2 (3 pts), ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (handleGoto, load, a function literal at line 80, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/AutoDataTable.jsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c58a7185d13604b7587a4c028b41293d708a55f3fe1742ad394dad9fd3e300"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InvoiceOutsDetail.InvoiceOutDetail: FunctionTooLong \u2014 InvoiceOutDetail runs 437 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 337 over it, 4.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"033f69606fc01b052b41e07b8430b49046cba8e84041c6db0dcb85f3342805f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ListProduct.ListProducts: FunctionTooLong \u2014 ListProducts runs 394 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 294 over it, 3.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d0b471c76109aa1d2b23558e73852847a7e95e165f5dd76c979d225831d2ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InvoiceInDetail.InvoiceInDetail: FunctionTooLong \u2014 InvoiceInDetail runs 382 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 282 over it, 3.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f975b52986542c7a71ecc09010af7c88b7fba342970682e3d5ff57eac4156c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StockInDetail.StockInDetail: FunctionTooLong \u2014 StockInDetail runs 338 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 238 over it, 3.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbbb049ede41af290ab38a2f0e22a39166ea92c9865131176ae9b21e1a5a34b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: suppliers.Suppliers: FunctionTooLong \u2014 Suppliers runs 311 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 211 over it, 3.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/suppliers.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef22e7c9d2e6bd23a847024b01bad1be6b393a2b5a844421d1998f702c6f9c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StockOutDetail.StockOutDetail: FunctionTooLong \u2014 StockOutDetail runs 306 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 206 over it, 3.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail.jsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2601a2bea2d03c468700c80738031e19965db0821d5d6511c29eb324546fd2b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IndexCustomInvoiceOuts.IndexCustomInvoiceOuts: FunctionTooLong \u2014 IndexCustomInvoiceOuts runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7461dec8756f2bb71331ac7ef1875fa3d1e093be29a05c5daeec19be9381e682"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: shipping.Shipping: FunctionTooLong \u2014 Shipping runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/shipping.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2371cb6f6af6c75edbc939e6e78ddf5190222093868549bcf10a73e6fa1548e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IndexCustomInvoiceIns.IndexCustomInvoiceIns: FunctionTooLong \u2014 IndexCustomInvoiceIns runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e2ce941675a1e4e4eed716a33ef718d2e2c82030762bfb51e36b8e56b5c9be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditOrder.EditOrder: FunctionTooLong \u2014 EditOrder runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4db64d5d94aaee1ec77344831cd05f48fd2c1b51273c46de4eefc338d971f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommonDataTableV2.CommonDataTableV2: FunctionTooLong \u2014 CommonDataTableV2 runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbbf95fc3582408a9444b48107c435d9b50b6d0f41ad104d6104bacf96ffcc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: business.Business: FunctionTooLong \u2014 Business runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/business.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4dc1ab9cad2cfe22e204ef663f7565bf352cad5ac21d6b65aa3aea428dd8e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditPurchase.EditPurchase: FunctionTooLong \u2014 EditPurchase runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"30772dd998c5458720a1da398c8271d4454ffd89f673810e615e2fae48cc02ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: user.User: FunctionTooLong \u2014 User runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/user.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"578e57a12fa8f356027ca0994864af0ca96eb3ea8e1f7e2f56cd917f66742f73"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MakeModule.handle: MethodTooLong \u2014 handle runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Console/Commands/MakeModule.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cf7fc9872b8c3669ac4824135a7124c0d173f6013087d4e5d55b85ae057750"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Category.Category: FunctionTooLong \u2014 Category runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/Category.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"273dbe91f2b364bd7ed8350138fe4647b6f4ba4e4444e316ec02ca017db57916"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: warehouse.Warehouse: FunctionTooLong \u2014 Warehouse runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/warehouse.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dde76f7b0934bf3fd0767b369a350a0ca22b88de77d6b82c06f91dc0dd52250"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: setting.Setting: FunctionTooLong \u2014 Setting runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/setting.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"279877a2f08bdae6cb0da23c7d3d0affa3ff6e32c814e8e622d20047a4746fdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Products.Products: FunctionTooLong \u2014 Products runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad850d4a080cb1aed51a74a5c6a149d49605ff6a9aeb4147d54ac06f09b4b199"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IndexInventoryAdjustment.IndexInventoryAdjustment: FunctionTooLong \u2014 IndexInventoryAdjustment runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Inventory/IndexInventoryAdjustment.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ce2c4f458d9b031257d24054cfe660d391c4a1f421b805e5a42d12798369b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IndexPriceList.IndexPriceList: FunctionTooLong \u2014 IndexPriceList runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/IndexPriceList.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7af95d1081f04532ca966121edbd0005377493192eddbb081eaf530fc3ff428"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomerForm.CustomerForm: FunctionTooLong \u2014 CustomerForm runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListCustomer/CustomerForm.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a949a20cd44a94db330329870a9c6a74e934e2ff1dae1e262586ff416a39933"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ListPurchases.ListPurchases: FunctionTooLong \u2014 ListPurchases runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/ListPurchases.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70da8b4c6225294e9dec7e36cd44201830591c8305d2faceda2c5dee3305534"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: permissions.Permissions: FunctionTooLong \u2014 Permissions runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/permissions.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f851a8b95bbbb06ef7d2aec0757340b5921319a57bd7e7e36417b769c1aa096d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UpdateProduct.UpdateProduct: FunctionTooLong \u2014 UpdateProduct runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/UpdateProduct.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d9fa10af7035fc1aff4989f8bed3c0aad900ba3674d0c8b786aaea46048afc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: report.Report: FunctionTooLong \u2014 Report runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/report.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a587f345d16c03f3b5fbab7f1f2cd27aa58b45bc3dcaec1bcec83dfc898626cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Profile.Profile: FunctionTooLong \u2014 Profile runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7c41b2c017d01bc35d2df187cccde8ce012f6d3fd47e2c1c33ccd51bae4b0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ListCustomer.ListCustomer: FunctionTooLong \u2014 ListCustomer runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListCustomer.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b77cf95b9524c3be91d98821ebcf4c2d7ef44bd6cccf44718bccbcbb52f41e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AddProduct.AddProduct: FunctionTooLong \u2014 AddProduct runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/AddProduct.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c288fccfba48946e880a5e123d51ccc12fc5b11e302e91bd2ac3d2fff23bbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ListGroup.ListGroup: FunctionTooLong \u2014 ListGroup runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListGroup.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9681a23c4731fb36550d6dc11553c58e5c1e2392b44581db4d9fd008f50c49ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PurchaseInformation.PurchaseInformation: FunctionTooLong \u2014 PurchaseInformation runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase/PurchaseInformation.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efe4db4918051d679f3db6af86af172cab6e9058ba86962062f8dd71955716e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PermissionBuilder: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Permission/Infrastructure/Helpers/PermissionBuilder.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a95d775e7066a19939fc84f5178050ac3b6ff0e8634261ea26dce4cfa1a801"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FormUpdate.FormUpdate: FunctionTooLong \u2014 FormUpdate runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f50e3ecf0f9743459cf8069b7b66c05856160e5298691b47a9f5789a47e57c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MakeExtension.createFiles: MethodTooLong \u2014 createFiles runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Console/Commands/MakeExtension.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f15d694ced5f33f9ea65ac1dcc72fab4423f8b5c08ce22f00ca8a6e525d9af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExtensionCard.ExtensionCard: FunctionTooLong \u2014 ExtensionCard runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Extension/ExtensionCard.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65f2b8802fbfa40d6e27862895c3a941f81f9dd91460b9ff84794ffecf67084"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShippingForm.ShippingForm: FunctionTooLong \u2014 ShippingForm runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ShippingForm.jsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"06047179f2bc2cdc0129c3d5e756e19bdefb973dc4b4feaa251a19c5e82b5d49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CustomerInformation.CustomerInformation: FunctionTooLong \u2014 CustomerInformation runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/CustomerInformation.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd90e8081bdbe5bc26b1ba3e491bf527a5f0cb514208ca6e3d78ad408c02e8f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IndexQuery.handle: MethodTooLong \u2014 handle runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/StockMovementIn/Application/Queries/IndexQuery.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3039657ad6a5a88c7cb7d9617eef5ed34be5f94c3d66d934ff2a02405189e1b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommonDataTable.CommonDataTable: FunctionTooLong \u2014 CommonDataTable runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTable.jsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e992a24ce2f9471cb2a9e37f1814fef3373dbceccfa47274022c5eecca1102"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShippingForm.ShippingForm: FunctionTooLong \u2014 ShippingForm runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/ShippingForm.jsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49b7dd84a4e17b8d748a00364b9656286ceda83048dd1cae0f1e5bc65ecc515"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NotificationList.NotificationList: FunctionTooLong \u2014 NotificationList runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/NotificationList.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2505ed41639fde6eb35464f1c400a627d56d6d02fdfaa924cccd16ee63103a54"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PopupContext.PopupProvider: FunctionTooLong \u2014 PopupProvider runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/popups/PopupContext.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c5b96d8f308fb16b5a0ab72139474fadf22dfa02ef8c0ca3acd4c69542ab4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): app/core/OrderItem/Application/Queries/IndexQuery.php:22-99 | app/core/OrderItem/Infrastructure/Repositories/EloquentOrderItemRepository.php:78-130 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderItem/Application/Queries/IndexQuery.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"23af0a5f87abf0654dc936f19dd756fe3021c08d9809fb508a7d27f8b0219c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (22 members, 50\u002B identical tokens): app/core/Business/Application/UseCases/ViewRender.php:18-43 | app/core/CategoryProduct/Application/UseCases/ViewCategoryProduct.php:17-52 | app/core/CustomInvoiceIn/Application/UseCases/ViewCustomInvoiceIn.php:19-54 | app/core/CustomInvoiceOut/Application/UseCases/ViewCustomInvoiceOut.php:19-54 | app/core/Customer/Application/UseCases/ViewRender.php:19-54 | app/core/CustomerGroup/Application/UseCases/ViewCustomerGroup.php:19-54 | app/core/Inventory/Application/UseCases/ViewRender.php:18-53 | app/core/InventoryAdjustment/Application/UseCases/ViewRender.php:18-53 | app/core/InvoiceIn/Application/UseCases/ViewInvoiceIn.php:17-52 | app/core/InvoiceOut/Application/UseCases/ViewInvoiceOut.php:17-52 | app/core/Order/Application/UseCases/ViewRender.php:18-53 | app/core/OrderShipping/Application/UseCases/ViewRender.php:18-53 | app/core/PermissionGroup/Application/UseCases/ViewRender.php:18-53 | app/core/PriceList/Application/UseCases/ViewRender.php:18-53 | app/core/Product/Application/UseCases/ViewRender.php:18-53 | app/core/Purchase/Application/UseCases/ViewPurchase.php:17-52 | app/core/PurchaseItem/Application/UseCases/ViewPurchase.php:17-52 | app/core/Shipping/Application/UseCases/ViewShipping.php:17-54 | app/core/StockIn/Application/UseCases/ViewStockIn.php:17-52 | app/core/StockOut/Application/UseCases/ViewStockOut.php:17-52 | app/core/Supplier/Application/UseCases/ViewSupplier.php:15-50 | app/core/Warehouse/Application/UseCases/ViewWarehouse.php:17-54 \u2014 These 22 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 22 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 22 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Business/Application/UseCases/ViewRender.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a70aa2728878ac9ee9e7c3aa5a70cd5caed60fcdcb9b3f31631809d2758a35d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): app/core/CategoryProduct/Application/UseCases/ShowCategoryProduct.php:22-51 | app/core/Customer/Application/UseCases/ShowCustomer.php:25-57 | app/core/CustomerGroup/Application/UseCases/ShowCustomerGroup.php:24-53 | app/core/InvoiceIn/Application/UseCases/ShowInvoiceIn.php:24-52 | app/core/InvoiceOut/Application/UseCases/ShowInvoiceOut.php:22-51 | app/core/Order/Application/UseCases/ShowOrder.php:23-53 | app/core/OrderShipping/Application/UseCases/ShowOrderShipping.php:22-49 | app/core/Permission/Application/UseCases/ShowPermission.php:26-55 | app/core/Product/Application/UseCases/ShowProduct.php:24-53 | app/core/StockIn/Application/UseCases/ShowStockIn.php:20-46 | app/core/StockOut/Application/UseCases/ShowStockOut.php:22-51 | app/core/Warehouse/Application/UseCases/ShowWarehouse.php:25-52 \u2014 These 12 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/ShowCategoryProduct.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"902d1fde7be21c7a61da4224d80196b17dd4c387c89819eb7991d95ff8b0e33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): app/core/CategoryProduct/Application/UseCases/UpdateCategoryProduct.php:23-65 | app/core/CustomInvoiceIn/Application/UseCases/UpdateCustomInvoiceIn.php:24-66 | app/core/CustomInvoiceOut/Application/UseCases/UpdateCustomInvoiceOut.php:23-65 | app/core/Customer/Application/UseCases/UpdateCustomer.php:23-64 | app/core/Order/Application/UseCases/UpdateOrder.php:25-102 | app/core/PriceList/Application/UseCases/UpdatePriceList.php:23-66 | app/core/Product/Application/UseCases/UpdateProduct.php:24-65 | app/core/Purchase/Application/UseCases/UpdatePurchase.php:24-109 | app/core/StockIn/Application/UseCases/UpdateStockIn.php:25-99 | app/core/StockMovementIn/Application/UseCases/UpdateStockMovementIn.php:26-57 | app/core/StockOut/Application/UseCases/UpdateStockOut.php:25-109 | app/core/Supplier/Application/UseCases/UpdateSupplier.php:24-65 \u2014 These 12 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/UpdateCategoryProduct.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba669ae36e5fe876101698709ea9daca1254bffac1ccb8d3ef59706ea7d4f896"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): app/core/Business/Infrastructure/Repositories/EloquentBusinessRepository.php:31-39 | app/core/Order/Infrastructure/Repositories/EloquentOrderRepository.php:40-64 | app/core/PurchaseItem/Infrastructure/Repositories/EloquentPurchaseItemRepository.php:46-55 | app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php:21-30 | app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php:34-43 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:13-22 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:34-43 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Business/Infrastructure/Repositories/EloquentBusinessRepository.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10aedd3a94fcb7cb93bb2cda88342c1b612a9c79e58ca0bdce85cf10b3e5cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): app/core/OrderItem/Infrastructure/Repositories/EloquentOrderItemRepository.php:65-74 | app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php:19-28 | app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php:32-44 | app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php:67-79 | app/core/Permission/Infrastructure/Repositories/EloquentPermissionRepository.php:30-41 | app/core/PermissionGroupUser/Infrastructure/Repositories/EloquentPermissionGroupUserRepository.php:42-53 | app/core/StockOut/Infrastructure/Repositories/EloquentStockOutRepository.php:20-28 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderItem/Infrastructure/Repositories/EloquentOrderItemRepository.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adf70e8e057c228a2ddf2078ebf1b097cdbc5aac75f19038ffdbe8c3df4ff64"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/core/CustomerGroup/Application/UseCases/CreateCustomerGroup.php:24-65 | app/core/Permission/Application/UseCases/CreateFullPermission.php:28-62 | app/core/Permission/Application/UseCases/CreatePermission.php:27-58 | app/core/PermissionGroup/Application/UseCases/CreatePermissionGroup.php:26-71 | app/core/PurchaseItem/Application/UseCases/CreatePurchaseItem.php:26-57 | app/core/Warehouse/Application/UseCases/CreateWarehouse.php:26-67 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomerGroup/Application/UseCases/CreateCustomerGroup.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc300d6aa8590e38207d2fa4fd09abce7355da59a8489dde1b7e654343d94651"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): app/core/Inventory/Application/Queries/IndexQuery.php:26-145 | app/core/Product/Application/Queries/IndexQuery.php:23-57 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:25-182 | app/core/StockMovementOut/Application/Queries/IndexQuery.php:21-69 | app/core/User/Application/Queries/IndexQuery.php:24-57 | app/core/Warehouse/Application/Queries/IndexQuery.php:27-58 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc963430760730452251127d31575069c7f49242ce258d81e1db8f75e39e4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/core/CustomerGroup/Application/UseCases/DeleteCustomerGroup.php:25-66 | app/core/PermissionGroup/Application/UseCases/DeletePermissionGroup.php:26-70 | app/core/PurchaseItem/Application/UseCases/DeletePurchaseItem.php:26-57 | app/core/Warehouse/Application/UseCases/DeleteWarehouse.php:26-67 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomerGroup/Application/UseCases/DeleteCustomerGroup.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de6bfd6d4229e529d1f4b98d7d7b604694bb8e7013f36f7626ef4396c8bb048"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/core/CustomerGroup/Application/UseCases/UpdateCustomerGroup.php:26-67 | app/core/PermissionGroup/Application/UseCases/UpdatePermissionGroup.php:26-70 | app/core/PurchaseItem/Application/UseCases/UpdatePurchaseItem.php:26-57 | app/core/Warehouse/Application/UseCases/UpdateWarehouse.php:26-67 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomerGroup/Application/UseCases/UpdateCustomerGroup.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2239e160313b9ba0ff2ef39079b9ff27402ee8c4697c47cc830973b8390d6b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201346 lines \u00D7 4): app/core/OrderItem/Application/Queries/IndexQuery.php:25-70 | app/core/OrderItem/Infrastructure/Repositories/EloquentOrderItemRepository.php:80-125 | app/core/PurchaseItem/Application/Queries/IndexQuery.php:26-44 | app/core/StockMovementOut/Application/Queries/IndexQuery.php:23-42 \u2014 before extracting anything, compare \u0060app/core/OrderItem/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/PurchaseItem/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/OrderItem/Application/Queries/IndexQuery.php:25\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/core/OrderItem/Application/Queries/IndexQuery.php:71\u0060 calls \u0060join\u0060 and \u0060app/core/PurchaseItem/Application/Queries/IndexQuery.php:45\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderItem/Application/Queries/IndexQuery.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5538022209fa2edb65069c99bfe7fa695114852c91fecddfe4b2ca1de52a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201337 lines \u00D7 3): app/core/Inventory/Application/Queries/IndexQuery.php:56-91 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:60-96 | app/core/StockOut/Infrastructure/Repositories/EloquentStockOutRepository.php:82-93 \u2014 before extracting anything, compare \u0060app/core/Inventory/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/StockMovementIn/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 207 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Inventory/Application/Queries/IndexQuery.php:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d9211e4549e1c36f507c58d74faf1480f039e000453a2b09fb90a6672cace1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 21): app/core/CategoryProduct/Application/UseCases/ViewCategoryProduct.php:21-52 | app/core/CustomInvoiceIn/Application/UseCases/ViewCustomInvoiceIn.php:23-54 | app/core/CustomInvoiceOut/Application/UseCases/ViewCustomInvoiceOut.php:23-54 | app/core/Customer/Application/UseCases/ViewRender.php:23-54 | app/core/CustomerGroup/Application/UseCases/ViewCustomerGroup.php:23-54 | app/core/Inventory/Application/UseCases/ViewRender.php:22-53 | app/core/InventoryAdjustment/Application/UseCases/ViewRender.php:22-53 | app/core/InvoiceIn/Application/UseCases/ViewInvoiceIn.php:21-52 | app/core/InvoiceOut/Application/UseCases/ViewInvoiceOut.php:21-52 | app/core/Order/Application/UseCases/ViewRender.php:22-53 | app/core/OrderShipping/Application/UseCases/ViewRender.php:22-53 | app/core/PermissionGroup/Application/UseCases/ViewRender.php:22-53 | app/core/PriceList/Application/UseCases/ViewRender.php:22-53 | app/core/Product/Application/UseCases/ViewRender.php:22-53 | app/core/Purchase/Application/UseCases/ViewPurchase.php:21-52 | app/core/PurchaseItem/Application/UseCases/ViewPurchase.php:21-52 | app/core/Shipping/Application/UseCases/ViewShipping.php:21-54 | app/core/StockIn/Application/UseCases/ViewStockIn.php:21-52 | app/core/StockOut/Application/UseCases/ViewStockOut.php:21-52 | app/core/Supplier/Application/UseCases/ViewSupplier.php:19-50 | app/core/Warehouse/Application/UseCases/ViewWarehouse.php:21-54 \u2014 before extracting anything, compare \u0060app/core/CategoryProduct/Application/UseCases/ViewCategoryProduct.php\u0060 and \u0060app/core/InvoiceIn/Application/UseCases/ViewInvoiceIn.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CategoryProduct/Application/UseCases/ViewCategoryProduct.php:21\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/ViewCategoryProduct.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"117062a75e9e0c82a74f42eb45421a2dbc2183eb17d21d43cb4a9a830c92ac73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): app/core/Inventory/Application/Queries/IndexQuery.php:30-61 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:29-59 \u2014 before extracting anything, compare \u0060app/core/Inventory/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/StockMovementIn/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 207 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Inventory/Application/Queries/IndexQuery.php:30\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, \u0060app/core/Inventory/Application/Queries/IndexQuery.php:63\u0060 calls \u0060join\u0060 and \u0060app/core/StockMovementIn/Application/Queries/IndexQuery.php:59\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d49bf7e5fe4e5daac65a2b3d64556c0edf48f25c01ed6b23d1134a2d84a1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/app/Console/Commands/MakeEventModule.php:34-64 | app/app/Console/Commands/MakeListenerModule.php:33-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/app/Console/Commands/MakeEventModule.php:33\u0060 calls \u0060singular\u0060 and \u0060app/app/Console/Commands/MakeListenerModule.php:32\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Console/Commands/MakeEventModule.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b29297515cd1a3f10165f1b33d3eb32c4b4f679d8f349acc8c75c398625c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/core/PermissionGroupUser/Application/UseCases/CreatePermissionAdminGroupUser.php:24-54 | app/core/PermissionGroupUser/Application/UseCases/CreatePermissionGroupUser.php:26-56 \u2014 before extracting anything, compare \u0060app/core/PermissionGroupUser/Application/UseCases/CreatePermissionAdminGroupUser.php\u0060 and \u0060app/core/PermissionGroupUser/Application/UseCases/CreatePermissionGroupUser.php\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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, \u0060app/core/PermissionGroupUser/Application/UseCases/CreatePermissionGroupUser.php:58\u0060 calls \u0060dispatch\u0060 and \u0060app/core/PermissionGroupUser/Application/UseCases/CreatePermissionAdminGroupUser.php:55\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/PermissionGroupUser/Application/UseCases/CreatePermissionAdminGroupUser.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3852f289db7222fe1d6a450ed84c64ac07a6e5daa54b2bde0ca8f4c4bb7540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 6): app/core/CustomerGroup/Application/UseCases/CreateCustomerGroup.php:26-50 | app/core/Permission/Application/UseCases/CreateFullPermission.php:31-57 | app/core/Permission/Application/UseCases/CreatePermission.php:29-53 | app/core/PermissionGroup/Application/UseCases/CreatePermissionGroup.php:29-56 | app/core/PurchaseItem/Application/UseCases/CreatePurchaseItem.php:28-52 | app/core/Warehouse/Application/UseCases/CreateWarehouse.php:28-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/core/Permission/Application/UseCases/CreateFullPermission.php:30\u0060 calls \u0060addFull\u0060, \u0060buildListItem\u0060 and \u0060app/core/CustomerGroup/Application/UseCases/CreateCustomerGroup.php:25\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomerGroup/Application/UseCases/CreateCustomerGroup.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26c4fe0ad97d8d678315d692a647c4236dd20196d0b1a39c42cca697d9e931a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 4): app/core/CustomerGroup/Application/UseCases/DeleteCustomerGroup.php:27-51 | app/core/PermissionGroup/Application/UseCases/DeletePermissionGroup.php:29-55 | app/core/PurchaseItem/Application/UseCases/DeletePurchaseItem.php:28-52 | app/core/Warehouse/Application/UseCases/DeleteWarehouse.php:28-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomerGroup/Application/UseCases/DeleteCustomerGroup.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb72edc1d7cd5fac9ea3e5bf3be44e517a7fba3fe07560ce85b66ee2bcd75b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 4): app/core/CustomerGroup/Application/UseCases/UpdateCustomerGroup.php:28-52 | app/core/PermissionGroup/Application/UseCases/UpdatePermissionGroup.php:29-55 | app/core/PurchaseItem/Application/UseCases/UpdatePurchaseItem.php:28-52 | app/core/Warehouse/Application/UseCases/UpdateWarehouse.php:28-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomerGroup/Application/UseCases/UpdateCustomerGroup.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9a0f69c5ab33067d240bbe70e6cf9c2a60873e5cb6a042b76f4e96336a06c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 17): app/core/CategoryProduct/Application/UseCases/CreateCategoryProduct.php:27-52 | app/core/CustomInvoiceIn/Application/UseCases/CreateCustomInvoiceIn.php:28-53 | app/core/CustomInvoiceOut/Application/UseCases/CreateCustomInvoiceOut.php:27-52 | app/core/Customer/Application/UseCases/CreateCustomer.php:27-51 | app/core/InvoiceIn/Application/UseCases/AutomaticCreateInvoice.php:28-52 | app/core/InvoiceIn/Application/UseCases/CreateInvoiceIn.php:25-49 | app/core/InvoiceOut/Application/UseCases/CreateInvoiceOut.php:27-52 | app/core/Order/Application/UseCases/CreateOrder.php:25-49 | app/core/OrderItem/Application/UseCases/CreateOrderItem.php:25-50 | app/core/OrderShipping/Application/UseCases/CreateOrderShipping.php:24-48 | app/core/PriceList/Application/UseCases/CreatePriceList.php:26-51 | app/core/Product/Application/UseCases/CreateProduct.php:26-50 | app/core/Purchase/Application/UseCases/CreatePurchase.php:27-51 | app/core/StockIn/Application/UseCases/CreateStockIn.php:26-50 | app/core/StockMovementIn/Application/UseCases/CreateStockMovementIn.php:27-51 | app/core/StockOut/Application/UseCases/CreateStockOut.php:25-49 | app/core/Supplier/Application/UseCases/CreateSupplier.php:24-48 \u2014 before extracting anything, compare \u0060app/core/InvoiceIn/Application/UseCases/AutomaticCreateInvoice.php\u0060 and \u0060app/core/InvoiceIn/Application/UseCases/CreateInvoiceIn.php\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 before the matched lines, \u0060app/core/InvoiceIn/Application/UseCases/AutomaticCreateInvoice.php:25\u0060 calls \u0060getByPurchaseId\u0060, \u0060toArray\u0060 and \u0060app/core/CategoryProduct/Application/UseCases/CreateCategoryProduct.php:26\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/CreateCategoryProduct.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"852e0a672a05e739ceb0d4cc54d7666c7673852a69aaf14b1b964c82857a24d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 11): app/core/CategoryProduct/Application/UseCases/ShowCategoryProduct.php:23-47 | app/core/Customer/Application/UseCases/ShowCustomer.php:27-51 | app/core/CustomerGroup/Application/UseCases/ShowCustomerGroup.php:25-49 | app/core/InvoiceOut/Application/UseCases/ShowInvoiceOut.php:23-47 | app/core/Order/Application/UseCases/ShowOrder.php:24-49 | app/core/OrderShipping/Application/UseCases/ShowOrderShipping.php:23-47 | app/core/Permission/Application/UseCases/ShowPermission.php:27-52 | app/core/Product/Application/UseCases/ShowProduct.php:25-49 | app/core/StockIn/Application/UseCases/ShowStockIn.php:21-45 | app/core/StockOut/Application/UseCases/ShowStockOut.php:23-47 | app/core/Warehouse/Application/UseCases/ShowWarehouse.php:26-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 11 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 11 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/core/Permission/Application/UseCases/ShowPermission.php:53\u0060 calls \u0060dispatch\u0060 and \u0060app/core/CategoryProduct/Application/UseCases/ShowCategoryProduct.php:51\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/ShowCategoryProduct.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c994fd7b316b4944409fba5f454a45264b3de41cfb584953a775799c139f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/core/Purchase/Application/UseCases/ShowPurchase.php:25-49 | app/core/PurchaseItem/Application/UseCases/ShowPurchaseItem.php:27-51 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/core/PurchaseItem/Application/UseCases/ShowPurchaseItem.php:55\u0060 calls \u0060commit\u0060 and \u0060app/core/Purchase/Application/UseCases/ShowPurchase.php:53\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Purchase/Application/UseCases/ShowPurchase.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19f8ac56d4267ff7582eb88e99b5faf6ad0babc114679fbee8aaec11d4385d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 6): app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php:26-48 | app/core/CustomInvoiceIn/Application/UseCases/DeleteCustomInvoiceIn.php:25-48 | app/core/CustomInvoiceOut/Application/UseCases/DeleteCustomInvoiceOut.php:26-48 | app/core/Customer/Application/UseCases/DeleteCustomer.php:25-47 | app/core/Product/Application/UseCases/DeleteProduct.php:27-49 | app/core/Supplier/Application/UseCases/DeleteSupplier.php:26-48 \u2014 before extracting anything, compare \u0060app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php\u0060 and \u0060app/core/CustomInvoiceIn/Application/UseCases/DeleteCustomInvoiceIn.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8726a42ac7b73130982d6ea7f03b869d5dd81d10fb127abeef67d0022576dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201323 lines \u00D7 7): app/core/CategoryProduct/Application/Queries/IndexQuery.php:26-40 | app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php:25-40 | app/core/CustomInvoiceOut/Application/Queries/IndexQuery.php:22-37 | app/core/InvoiceIn/Application/Queries/IndexQuery.php:37-51 | app/core/InvoiceOut/Application/Queries/IndexQuery.php:45-62 | app/core/OrderShipping/Application/Queries/IndexQuery.php:32-51 | app/core/PriceList/Application/Queries/IndexQuery.php:33-55 \u2014 before extracting anything, compare \u0060app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/CustomInvoiceOut/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php:25\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/core/InvoiceIn/Application/Queries/IndexQuery.php:36\u0060 calls \u0060join\u0060 and \u0060app/core/PriceList/Application/Queries/IndexQuery.php:33\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/Queries/IndexQuery.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c322431ff6bceeeed263f2e17bfdfa4d99c450f7774bf65b659670dfe3ec1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201323 lines \u00D7 3): app/core/Inventory/Application/Queries/IndexQuery.php:119-141 | app/core/Product/Application/Queries/IndexQuery.php:37-52 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:156-178 \u2014 before extracting anything, compare \u0060app/core/Inventory/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/Product/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Inventory/Application/Queries/IndexQuery.php:119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c418c417e0be48bb647c8aba9ceb63de1bfd8d3fd471fcbd6e8bf47b59ea2d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 11): app/core/CategoryProduct/Application/UseCases/UpdateCategoryProduct.php:29-49 | app/core/CustomInvoiceIn/Application/UseCases/UpdateCustomInvoiceIn.php:30-51 | app/core/CustomInvoiceOut/Application/UseCases/UpdateCustomInvoiceOut.php:29-50 | app/core/Customer/Application/UseCases/UpdateCustomer.php:29-49 | app/core/Order/Application/UseCases/UpdateOrder.php:31-52 | app/core/PriceList/Application/UseCases/UpdatePriceList.php:29-50 | app/core/Product/Application/UseCases/UpdateProduct.php:30-50 | app/core/Purchase/Application/UseCases/UpdatePurchase.php:30-50 | app/core/StockMovementIn/Application/UseCases/UpdateStockMovementIn.php:32-52 | app/core/StockOut/Application/UseCases/UpdateStockOut.php:31-51 | app/core/Supplier/Application/UseCases/UpdateSupplier.php:30-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 11 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 11 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CategoryProduct/Application/UseCases/UpdateCategoryProduct.php:29\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/core/StockOut/Application/UseCases/UpdateStockOut.php:52\u0060 calls \u0060isCompleted\u0060 and \u0060app/core/CategoryProduct/Application/UseCases/UpdateCategoryProduct.php:50\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/UpdateCategoryProduct.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b016be81c3b2be7e7b58d4ddf08d798c0c03c3fd9a7083615aca53396052233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 3): app/core/Inventory/Application/Queries/IndexQuery.php:30-51 | app/core/Overview/Infrastructure/Repositories/EloquentOverviewRepository.php:57-76 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:29-50 \u2014 before extracting anything, compare \u0060app/core/Inventory/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/StockMovementIn/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 207 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a82cfaa997d8577026fc2a831adecfd158803cc65fcc0cffd22ff5b66b792c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201321 lines \u00D7 8): app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php:33-46 | app/core/CustomInvoiceOut/Application/Queries/IndexQuery.php:30-43 | app/core/InvoiceIn/Application/Queries/IndexQuery.php:44-57 | app/core/InvoiceOut/Application/Queries/IndexQuery.php:52-68 | app/core/Order/Application/Queries/IndexQuery.php:50-70 | app/core/OrderShipping/Application/Queries/IndexQuery.php:44-56 | app/core/PriceList/Application/Queries/IndexQuery.php:48-60 | app/core/StockIn/Application/Queries/IndexQuery.php:48-61 \u2014 before extracting anything, compare \u0060app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/CustomInvoiceOut/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php:33\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04b7db483a73dccf9fd34d1a0ebc07ae7cce30d1e7d6429a6fc7727c9b5df68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201321 lines \u00D7 4): app/core/Inventory/Application/Queries/IndexQuery.php:121-141 | app/core/Product/Application/Queries/IndexQuery.php:37-52 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:158-178 | app/core/User/Application/Queries/IndexQuery.php:37-53 \u2014 before extracting anything, compare \u0060app/core/Inventory/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/Product/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Inventory/Application/Queries/IndexQuery.php:121\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/core/User/Application/Queries/IndexQuery.php:54\u0060 calls \u0060dispatch\u0060 and \u0060app/core/Inventory/Application/Queries/IndexQuery.php:145\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"705c2dea3143df927b150509f976af62007cdbc709ba8f71b63c6623b01d4e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201321 lines \u00D7 2): app/core/InventoryAdjustment/Application/Queries/IndexQuery.php:30-35 | app/core/PriceList/Application/Queries/IndexQuery.php:24-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/InventoryAdjustment/Application/Queries/IndexQuery.php:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InventoryAdjustment/Application/Queries/IndexQuery.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e71609fb1752b6351db8ff64023f2f1ec13a3da7d6e04c8d127e9be6677d0a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): app/core/Purchase/Application/Queries/IndexQuery.php:26-44 | app/core/Purchase/Infrastructure/Repositories/EloquentPurchaseRepository.php:32-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Purchase/Application/Queries/IndexQuery.php:26\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Purchase/Application/Queries/IndexQuery.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd179282d22d6a8490c0a18d1f6bfbd73016f8779715694040af1a9269d11a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): app/core/Inventory/Application/Queries/IndexQuery.php:37-56 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:36-55 | app/core/StockMovementIn/Infrastructure/Repositories/EloquentStockMovementInRepository.php:85-104 \u2014 before extracting anything, compare \u0060app/core/Inventory/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/StockMovementIn/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 207 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Inventory/Application/Queries/IndexQuery.php:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eecc3187231898c0f353ff7eb4c0ef1274ee8d4cdf7d952c5ea20a7ae1cb07a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 13): app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php:28-43 | app/core/CustomInvoiceOut/Application/Queries/IndexQuery.php:25-40 | app/core/InvoiceIn/Application/Queries/IndexQuery.php:39-54 | app/core/InvoiceOut/Application/Queries/IndexQuery.php:47-65 | app/core/Order/Application/Queries/IndexQuery.php:45-63 | app/core/OrderItem/Application/Queries/IndexQuery.php:75-92 | app/core/OrderShipping/Application/Queries/IndexQuery.php:39-53 | app/core/PermissionGroup/Application/Queries/IndexQuery.php:28-45 | app/core/PriceList/Application/Queries/IndexQuery.php:43-57 | app/core/PurchaseItem/Application/Queries/IndexQuery.php:47-64 | app/core/StockIn/Application/Queries/IndexQuery.php:43-58 | app/core/StockOut/Application/Queries/IndexQuery.php:53-68 | app/core/Supplier/Application/Queries/IndexQuery.php:28-46 \u2014 before extracting anything, compare \u0060app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/CustomInvoiceOut/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/core/OrderItem/Application/Queries/IndexQuery.php:73\u0060 calls \u0060where\u0060 and \u0060app/core/InvoiceIn/Application/Queries/IndexQuery.php:37\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f589f61468771571866b807a79c899953f51ccbd6381c2c75c0cd202d60beba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): app/core/Product/Application/Queries/IndexQuery.php:41-57 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:164-182 | app/core/StockMovementOut/Application/Queries/IndexQuery.php:51-69 \u2014 before extracting anything, compare \u0060app/core/Product/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/StockMovementIn/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Product/Application/Queries/IndexQuery.php:41\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Product/Application/Queries/IndexQuery.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0648965cd364192aa7bde957de638ceac61ffb94a2b5dd12f41a59c6f75abb9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 22): app/core/Business/Application/UseCases/ViewRender.php:18-35 | app/core/CategoryProduct/Application/UseCases/ViewCategoryProduct.php:17-34 | app/core/CustomInvoiceIn/Application/UseCases/ViewCustomInvoiceIn.php:19-36 | app/core/CustomInvoiceOut/Application/UseCases/ViewCustomInvoiceOut.php:19-36 | app/core/Customer/Application/UseCases/ViewRender.php:19-36 | app/core/CustomerGroup/Application/UseCases/ViewCustomerGroup.php:19-36 | app/core/Inventory/Application/UseCases/ViewRender.php:18-35 | app/core/InventoryAdjustment/Application/UseCases/ViewRender.php:18-35 | app/core/InvoiceIn/Application/UseCases/ViewInvoiceIn.php:17-34 | app/core/InvoiceOut/Application/UseCases/ViewInvoiceOut.php:17-34 | app/core/Order/Application/UseCases/ViewRender.php:18-35 | app/core/OrderShipping/Application/UseCases/ViewRender.php:18-35 | app/core/PermissionGroup/Application/UseCases/ViewRender.php:18-35 | app/core/PriceList/Application/UseCases/ViewRender.php:18-35 | app/core/Product/Application/UseCases/ViewRender.php:18-35 | app/core/Purchase/Application/UseCases/ViewPurchase.php:17-34 | app/core/PurchaseItem/Application/UseCases/ViewPurchase.php:17-34 | app/core/Shipping/Application/UseCases/ViewShipping.php:17-34 | app/core/StockIn/Application/UseCases/ViewStockIn.php:17-34 | app/core/StockOut/Application/UseCases/ViewStockOut.php:17-34 | app/core/Supplier/Application/UseCases/ViewSupplier.php:15-32 | app/core/Warehouse/Application/UseCases/ViewWarehouse.php:17-34 \u2014 before extracting anything, compare \u0060app/core/Business/Application/UseCases/ViewRender.php\u0060 and \u0060app/core/Inventory/Application/UseCases/ViewRender.php\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Business/Application/UseCases/ViewRender.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e995515b60b4916db53fd740a4e8b087c85e29a6a6341331c6acf73982c20c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 14): app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php:28-42 | app/core/CustomInvoiceOut/Application/Queries/IndexQuery.php:25-39 | app/core/InvoiceIn/Application/Queries/IndexQuery.php:39-53 | app/core/InvoiceOut/Application/Queries/IndexQuery.php:47-64 | app/core/Order/Application/Queries/IndexQuery.php:45-62 | app/core/OrderItem/Application/Queries/IndexQuery.php:75-92 | app/core/OrderShipping/Application/Queries/IndexQuery.php:39-53 | app/core/PermissionGroup/Application/Queries/IndexQuery.php:28-45 | app/core/PriceList/Application/Queries/IndexQuery.php:43-57 | app/core/Purchase/Application/Queries/IndexQuery.php:61-75 | app/core/PurchaseItem/Application/Queries/IndexQuery.php:47-64 | app/core/StockIn/Application/Queries/IndexQuery.php:43-57 | app/core/StockOut/Application/Queries/IndexQuery.php:53-67 | app/core/Supplier/Application/Queries/IndexQuery.php:28-45 \u2014 before extracting anything, compare \u0060app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/CustomInvoiceOut/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/core/OrderItem/Application/Queries/IndexQuery.php:73\u0060 calls \u0060where\u0060 and \u0060app/core/InvoiceIn/Application/Queries/IndexQuery.php:37\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88ed8b61d082dc4454b25270395acc6bc69af96dd9802c5c36a097cfd32d75c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 12): app/core/CategoryProduct/Application/UseCases/UpdateCategoryProduct.php:25-41 | app/core/CustomInvoiceIn/Application/UseCases/UpdateCustomInvoiceIn.php:26-43 | app/core/CustomInvoiceOut/Application/UseCases/UpdateCustomInvoiceOut.php:25-42 | app/core/Customer/Application/UseCases/UpdateCustomer.php:25-41 | app/core/Order/Application/UseCases/UpdateOrder.php:27-44 | app/core/PriceList/Application/UseCases/UpdatePriceList.php:25-42 | app/core/Product/Application/UseCases/UpdateProduct.php:26-42 | app/core/Purchase/Application/UseCases/UpdatePurchase.php:26-42 | app/core/StockIn/Application/UseCases/UpdateStockIn.php:27-43 | app/core/StockMovementIn/Application/UseCases/UpdateStockMovementIn.php:28-44 | app/core/StockOut/Application/UseCases/UpdateStockOut.php:27-43 | app/core/Supplier/Application/UseCases/UpdateSupplier.php:26-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 12 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 12 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CategoryProduct/Application/UseCases/UpdateCategoryProduct.php:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/UpdateCategoryProduct.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f762695470e1bc6fd52f1b657e7a03016db686efe4b935597fa127d18f0e64d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 11): app/core/CategoryProduct/Application/Queries/IndexQuery.php:27-41 | app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php:27-41 | app/core/CustomInvoiceOut/Application/Queries/IndexQuery.php:24-38 | app/core/InvoiceIn/Application/Queries/IndexQuery.php:38-52 | app/core/InvoiceOut/Application/Queries/IndexQuery.php:46-63 | app/core/OrderShipping/Application/Queries/IndexQuery.php:37-52 | app/core/PriceList/Application/Queries/IndexQuery.php:41-56 | app/core/PurchaseItem/Application/Queries/IndexQuery.php:46-63 | app/core/StockIn/Application/Queries/IndexQuery.php:42-56 | app/core/StockOut/Application/Queries/IndexQuery.php:52-66 | app/core/Supplier/Application/Queries/IndexQuery.php:27-44 \u2014 before extracting anything, compare \u0060app/core/CustomInvoiceIn/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/CustomInvoiceOut/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/OrderShipping/Application/Queries/IndexQuery.php:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/core/InvoiceIn/Application/Queries/IndexQuery.php:36\u0060 calls \u0060join\u0060, \u0060where\u0060 and \u0060app/core/OrderShipping/Application/Queries/IndexQuery.php:37\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/Queries/IndexQuery.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c37fa2d70c2608af1d2c30e778466144d5ab5d7db24819fddd0b24a8b85d693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): app/core/Inventory/Application/Queries/IndexQuery.php:125-141 | app/core/Product/Application/Queries/IndexQuery.php:39-56 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:162-178 | app/core/StockMovementOut/Application/Queries/IndexQuery.php:49-65 \u2014 before extracting anything, compare \u0060app/core/Inventory/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/Product/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa4a06ec343ea47ad66691e574940013078e5416590333e0e82c18922e35df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201318 lines \u00D7 3): app/core/InventoryAdjustment/Application/Queries/IndexQuery.php:30-36 | app/core/InvoiceOut/Application/Queries/IndexQuery.php:42-49 | app/core/PriceList/Application/Queries/IndexQuery.php:28-45 \u2014 before extracting anything, compare \u0060app/core/InvoiceOut/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/PriceList/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/InventoryAdjustment/Application/Queries/IndexQuery.php:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InventoryAdjustment/Application/Queries/IndexQuery.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"537c521805389dfcf47821801470f109fb4866e7cea20aa62432637baab90f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): app/core/CustomerGroup/Application/Queries/IndexQuery.php:22-35 | app/core/InventoryAdjustment/Application/Queries/IndexQuery.php:33-50 \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":"app/core/CustomerGroup/Application/Queries/IndexQuery.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f44ef6027997579949482cf501df48aa0873b79db2366289e8a2b2acb1241f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 7): app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php:35-50 | app/core/CustomInvoiceIn/Application/UseCases/DeleteCustomInvoiceIn.php:34-50 | app/core/CustomInvoiceOut/Application/UseCases/DeleteCustomInvoiceOut.php:35-50 | app/core/Customer/Application/UseCases/DeleteCustomer.php:34-49 | app/core/PriceList/Application/UseCases/DeletePriceList.php:31-46 | app/core/Product/Application/UseCases/DeleteProduct.php:36-51 | app/core/Supplier/Application/UseCases/DeleteSupplier.php:35-50 \u2014 before extracting anything, compare \u0060app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php\u0060 and \u0060app/core/CustomInvoiceIn/Application/UseCases/DeleteCustomInvoiceIn.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php:35\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a2094d9885c1ab749bfd617d2ca9a815ff139268430dad4b1ddfec429125a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201317 lines \u00D7 2): app/core/Order/Application/Queries/IndexQuery.php:32-41 | app/core/Purchase/Application/Queries/IndexQuery.php:31-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Order/Application/Queries/IndexQuery.php:32\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/core/Purchase/Application/Queries/IndexQuery.php:29\u0060 calls \u0060raw\u0060 and \u0060app/core/Order/Application/Queries/IndexQuery.php:31\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Order/Application/Queries/IndexQuery.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc475a6acedf3fb5a0a91e577f81196f2e6be2e77e64d36761eedadf9766ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/core/Customer/Application/UseCases/CreateCustomer.php:40-55 | app/core/Customer/Application/UseCases/CreateOrUpdateCustomer.php:40-55 \u2014 before extracting anything, compare \u0060app/core/Customer/Application/UseCases/CreateCustomer.php\u0060 and \u0060app/core/Customer/Application/UseCases/CreateOrUpdateCustomer.php\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Application/UseCases/CreateCustomer.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac8cdc57c50d9e63bb690a0d1fbeec4ee4c6d0849cc1c5c127f4dd9424bb9d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 10): app/core/CategoryProduct/Application/UseCases/ShowCategoryProduct.php:34-51 | app/core/CustomerGroup/Application/UseCases/ShowCustomerGroup.php:36-53 | app/core/InvoiceIn/Application/UseCases/ShowInvoiceIn.php:38-52 | app/core/InvoiceOut/Application/UseCases/ShowInvoiceOut.php:34-51 | app/core/Order/Application/UseCases/ShowOrder.php:35-53 | app/core/OrderShipping/Application/UseCases/ShowOrderShipping.php:34-49 | app/core/Product/Application/UseCases/ShowProduct.php:36-53 | app/core/StockIn/Application/UseCases/ShowStockIn.php:32-46 | app/core/StockOut/Application/UseCases/ShowStockOut.php:34-51 | app/core/Warehouse/Application/UseCases/ShowWarehouse.php:37-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CategoryProduct/Application/UseCases/ShowCategoryProduct.php:34\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/ShowCategoryProduct.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"14608cdc82cd0fcbbf021fee39b3c73c4c1c2c1f8aa331bd0789157d170ff87f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): app/core/Inventory/Application/Queries/IndexQuery.php:37-51 | app/core/Overview/Infrastructure/Repositories/EloquentOverviewRepository.php:62-76 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:36-50 | app/core/StockMovementIn/Infrastructure/Repositories/EloquentStockMovementInRepository.php:85-99 \u2014 before extracting anything, compare \u0060app/core/Inventory/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/StockMovementIn/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 207 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b21c94d95d26f7145e5eca2cdc678c2c1c20e62f3fb8881d2e0fa28cb052e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/core/CustomInvoiceIn/Application/DTOs/CreateCustomInvoiceInRequest.php:25-39 | app/core/CustomInvoiceIn/Domain/Entities/CustomInvoiceIn.php:25-39 \u2014 before extracting anything, compare \u0060app/core/CustomInvoiceIn/Application/DTOs/CreateCustomInvoiceInRequest.php\u0060 and \u0060app/core/CustomInvoiceIn/Domain/Entities/CustomInvoiceIn.php\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Application/DTOs/CreateCustomInvoiceInRequest.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1cf51344e2841863f301ab17781d3c04100b6769ea7db6f1ea112b1edf49b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/core/PurchaseItem/Http/Requests/CreatePurchaseItemRequest.php:41-55 | app/core/PurchaseItem/Http/Requests/UpdatePurchaseItemRequest.php:39-53 \u2014 before extracting anything, compare \u0060app/core/PurchaseItem/Http/Requests/CreatePurchaseItemRequest.php\u0060 and \u0060app/core/PurchaseItem/Http/Requests/UpdatePurchaseItemRequest.php\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"app/core/PurchaseItem/Http/Requests/CreatePurchaseItemRequest.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"00182d8265aa9ec52475c3adcfb861c25d8ecd79833431d042ca85b064197e33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): app/core/Inventory/Application/Queries/IndexQuery.php:123-141 | app/core/Product/Application/Queries/IndexQuery.php:39-52 | app/core/StockMovementIn/Application/Queries/IndexQuery.php:160-178 | app/core/Warehouse/Application/Queries/IndexQuery.php:38-54 \u2014 before extracting anything, compare \u0060app/core/Inventory/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/Product/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Inventory/Application/Queries/IndexQuery.php:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d88ca541080ed77ad39142fe9f7b6428eae6da93131b6ddc1e13b8143ea43de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/core/Customer/Application/UseCases/CreateCustomer.php:25-38 | app/core/Customer/Application/UseCases/CreateOrUpdateCustomer.php:25-38 \u2014 before extracting anything, compare \u0060app/core/Customer/Application/UseCases/CreateCustomer.php\u0060 and \u0060app/core/Customer/Application/UseCases/CreateOrUpdateCustomer.php\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Application/UseCases/CreateCustomer.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"38677ba5105d981250048c10412cd18948f411cf39dd30bbc40bc4a882f9d42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/core/InvoiceIn/Application/UseCases/CreateInvoiceIn.php:23-36 | app/core/InvoiceIn/Application/UseCases/UpdateInvoiceIn.php:25-38 \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":"app/core/InvoiceIn/Application/UseCases/CreateInvoiceIn.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b01fb66ce699c46e0014730d538dd53e933be811e6860dbea0d7fd0c59556f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/core/PermissionGroup/Application/UseCases/ShowPermissionGroup.php:26-39 | app/core/PermissionGroupUser/Application/UseCases/ShowPermissionGroupUser.php:25-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/PermissionGroup/Application/UseCases/ShowPermissionGroup.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a9fcae16bbf1c4d2579e685ae519fc27bfac0ffd3f7a035190a479550d3bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/core/Purchase/Application/Queries/IndexQuery.php:62-75 | app/core/Shipping/Application/Queries/IndexQuery.php:26-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Purchase/Application/Queries/IndexQuery.php:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Purchase/Application/Queries/IndexQuery.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9dfe1b8601b1e8ca189626232493f27b1b620fe574624a982c18f55e58e86f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 17): app/core/CategoryProduct/Application/UseCases/CreateCategoryProduct.php:38-52 | app/core/CustomInvoiceIn/Application/UseCases/CreateCustomInvoiceIn.php:39-53 | app/core/CustomInvoiceOut/Application/UseCases/CreateCustomInvoiceOut.php:38-52 | app/core/Customer/Application/UseCases/CreateCustomer.php:38-51 | app/core/InventoryAdjustment/Application/UseCases/CreateInventoryAdjustment.php:34-46 | app/core/InvoiceIn/Application/UseCases/AutomaticCreateInvoice.php:39-52 | app/core/InvoiceOut/Application/UseCases/CreateInvoiceOut.php:38-52 | app/core/Order/Application/UseCases/CreateOrder.php:36-49 | app/core/OrderItem/Application/UseCases/CreateOrderItem.php:36-50 | app/core/OrderShipping/Application/UseCases/CreateOrderShipping.php:35-48 | app/core/PriceList/Application/UseCases/CreatePriceList.php:37-51 | app/core/Product/Application/UseCases/CreateProduct.php:37-50 | app/core/Purchase/Application/UseCases/CreatePurchase.php:38-51 | app/core/StockIn/Application/UseCases/CreateStockIn.php:37-50 | app/core/StockMovementIn/Application/UseCases/CreateStockMovementIn.php:38-51 | app/core/StockOut/Application/UseCases/CreateStockOut.php:36-49 | app/core/Supplier/Application/UseCases/CreateSupplier.php:35-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 17 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 17 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CategoryProduct/Application/UseCases/CreateCategoryProduct.php:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/core/InventoryAdjustment/Application/UseCases/CreateInventoryAdjustment.php:33\u0060 calls \u0060fromArray\u0060, \u0060create\u0060, \u0060toArray\u0060 and \u0060app/core/CategoryProduct/Application/UseCases/CreateCategoryProduct.php:38\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/CreateCategoryProduct.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afb7baf5e5792ed89801f6fc912c8befcbb44b68b84ce74ad9dfeac98c28b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7): app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php:26-38 | app/core/CustomInvoiceIn/Application/UseCases/DeleteCustomInvoiceIn.php:25-38 | app/core/CustomInvoiceOut/Application/UseCases/DeleteCustomInvoiceOut.php:26-38 | app/core/Customer/Application/UseCases/DeleteCustomer.php:25-37 | app/core/OrderItem/Application/UseCases/DeleteOrderItem.php:25-37 | app/core/Product/Application/UseCases/DeleteProduct.php:27-39 | app/core/Supplier/Application/UseCases/DeleteSupplier.php:26-38 \u2014 before extracting anything, compare \u0060app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php\u0060 and \u0060app/core/CustomInvoiceIn/Application/UseCases/DeleteCustomInvoiceIn.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/UseCases/DeleteCategoryProduct.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce20e469150eeff4094fca1c94a632b563e63c323c2ff1fdc81009bb179b943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/app/Http/Middleware/BusinessToken.php:37-49 | app/core/AppToken/Application/UseCases/ParseAppToken.php:29-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/app/Http/Middleware/BusinessToken.php:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Http/Middleware/BusinessToken.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7d831a084828d4ec99c6a959fc4697ea4fcbec6c0e265dc7f12f0d56bf0cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/core/OrderItem/Http/Requests/CreateOrderItemRequest.php:45-57 | app/core/OrderItem/Http/Requests/UpdateOrderItemRequest.php:45-57 \u2014 before extracting anything, compare \u0060app/core/OrderItem/Http/Requests/CreateOrderItemRequest.php\u0060 and \u0060app/core/OrderItem/Http/Requests/UpdateOrderItemRequest.php\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"app/core/OrderItem/Http/Requests/CreateOrderItemRequest.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4ded7be34b8667489fe25bf0179b73fd35cb73e5142d8704fe9e056fc671a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/core/Purchase/Application/DTOs/CreatePurchaseRequest.php:24-35 | app/core/Purchase/Application/DTOs/UpdatePurchaseRequest.php:24-34 \u2014 before extracting anything, compare \u0060app/core/Purchase/Application/DTOs/CreatePurchaseRequest.php\u0060 and \u0060app/core/Purchase/Application/DTOs/UpdatePurchaseRequest.php\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Purchase/Application/DTOs/CreatePurchaseRequest.php:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Purchase/Application/DTOs/CreatePurchaseRequest.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ab9486d0e13e9232a3470cb0b86491a48d9740e2a37c97e9c36b78e982c5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/core/Extension/Application/DTOs/MakeExtensionCommand.php:23-33 | app/core/Extension/Domain/Entities/Extension.php:24-33 \u2014 before extracting anything, compare \u0060app/core/Extension/Application/DTOs/MakeExtensionCommand.php\u0060 and \u0060app/core/Extension/Domain/Entities/Extension.php\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Extension/Application/DTOs/MakeExtensionCommand.php:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Extension/Application/DTOs/MakeExtensionCommand.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7622a37dd9894abe36030966723ff5c60bad3f5fbe73aab51642dbd9cc0a9367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/core/OrderShipping/Application/DTOs/CreateOrderShippingRequest.php:27-36 | app/core/OrderShipping/Domain/Entities/OrderShipping.php:29-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderShipping/Application/DTOs/CreateOrderShippingRequest.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98c6b2ddf5bb78874ee43cf6ef5cc3ed6247869e9db00dfcfd7507759a5c91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/app/Console/Commands/MakeBroadcastModule.php:31-40 | app/app/Console/Commands/MakeListenerModule.php:31-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/app/Console/Commands/MakeListenerModule.php:41\u0060 calls \u0060exists\u0060, \u0060error\u0060 and \u0060app/app/Console/Commands/MakeBroadcastModule.php:42\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Console/Commands/MakeBroadcastModule.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa120e37f31a9e34ccb56ad3eb3b67451048865ad27f27c193b24e4e2877897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/core/Customer/Application/DTOs/CreateCustomerRequest.php:40-48 | app/core/Customer/Domain/Entities/Customer.php:38-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Application/DTOs/CreateCustomerRequest.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"caec68fdb4feb2c86b93a1a377bbca2f2a5065f88407e3a711a0726c3372ec10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/core/Extension/Infrastructure/Supports/ExtensionInstallImpl.php:13-22 | app/core/Extension/Infrastructure/Supports/ExtensionInstallImpl.php:28-37 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Extension/Infrastructure/Supports/ExtensionInstallImpl.php:13\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Extension/Infrastructure/Supports/ExtensionInstallImpl.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8855d4cd917d8a79f40b529fe5cd1754ca63093de282a1da433bc1377482f4f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/core/Inventory/Application/Queries/IndexQuery.php:56-86 | app/core/InventoryAdjustment/Application/Queries/IndexQuery.php:23-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Inventory/Application/Queries/IndexQuery.php:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Inventory/Application/Queries/IndexQuery.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adc453ad9d271acb126076cf4b80a4d1de0a1a16222ccbc439bc4a43f5ec109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/core/InventoryAdjustment/Infrastructure/Repositories/EloquentInventoryAdjustmentRepository.php:23-32 | app/core/InvoiceOut/Infrastructure/Repositories/EloquentInvoiceOutRepository.php:42-51 \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":"app/core/InventoryAdjustment/Infrastructure/Repositories/EloquentInventoryAdjustmentRepository.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f205034b285024ed2a8fab94f81b9aed266b2afb7df654649b503ded57d8281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): app/core/InvoiceIn/Infrastructure/Repositories/EloquentInvoiceInRepository.php:29-38 | app/core/PriceList/Infrastructure/Repositories/EloquentPriceListRepository.php:44-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/InvoiceIn/Infrastructure/Repositories/EloquentInvoiceInRepository.php:29\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InvoiceIn/Infrastructure/Repositories/EloquentInvoiceInRepository.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7c24f48d489de4e63f8ff91af50004fe609f0023444e6042ba6c6406e626fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/core/Order/Application/DTOs/CreateOrderRequest.php:24-33 | app/core/Order/Application/DTOs/UpdateOrderRequest.php:25-33 \u2014 before extracting anything, compare \u0060app/core/Order/Application/DTOs/CreateOrderRequest.php\u0060 and \u0060app/core/Order/Application/DTOs/UpdateOrderRequest.php\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Order/Application/DTOs/CreateOrderRequest.php:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Order/Application/DTOs/CreateOrderRequest.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee514eb62c95c2dd5068397607c231c7625667216c666ec334433a79342b6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php:21-30 | app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php:34-43 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"731303dd1ed3b1506b9d34dec721f1166be76bb10a338f91b9d33304b8ab639b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:13-22 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:34-43 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/User/Infrastructure/Repositories/EloquentUserRepository.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8add7ae83f85629e9d432e54669f6a6a545eb90e3c9fc5bac198659438fe9646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/core/Business/Application/DTOs/CreateBusinessRequest.php:27-35 | app/core/Business/Domain/Entities/Business.php:25-33 \u2014 before extracting anything, compare \u0060app/core/Business/Application/DTOs/CreateBusinessRequest.php\u0060 and \u0060app/core/Business/Domain/Entities/Business.php\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Business/Application/DTOs/CreateBusinessRequest.php:27\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Business/Application/DTOs/CreateBusinessRequest.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"47629e52f490276b9db4b74f8676f8bd381696ed5f2b048aff9262f588c738d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/core/InventoryAdjustment/Infrastructure/Repositories/EloquentInventoryAdjustmentRepository.php:27-35 | extension-examples/Hrm/Services/AttendanceService.php:49-57 \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":"app/core/InventoryAdjustment/Infrastructure/Repositories/EloquentInventoryAdjustmentRepository.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb7c11c764826c6794f9b643479485f869e17e4127650db8863200b60d0a3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/core/PurchaseItem/Infrastructure/Repositories/EloquentPurchaseItemRepository.php:23-30 | app/core/PurchaseItem/Infrastructure/Repositories/EloquentPurchaseItemRepository.php:34-42 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/PurchaseItem/Infrastructure/Repositories/EloquentPurchaseItemRepository.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61d2b3c80ef7633af27ea58ffdee362adf8b6a8c859d7ae1c08af597fb75919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 5): app/core/Business/Infrastructure/Repositories/EloquentBusinessRepository.php:32-38 | app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php:22-29 | app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php:35-42 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:14-21 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:35-42 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Business/Infrastructure/Repositories/EloquentBusinessRepository.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"68451f36775075463b5964c0f567c42765bd8384fb68ab7c8f20305b350caa0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php:36-44 | app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php:72-79 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php:36\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php:71\u0060 calls \u0060join\u0060, \u0060where\u0060 and \u0060app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php:36\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"245789a7c1abfb16afe236e6cb28f5b6df03b3a90b97f1efda9d36cd65c9c559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/core/Shipping/Infrastructure/Services/ShippingServiceImpl.php:29-36 | app/core/Supplier/Infrastructure/Services/SupplierServiceImpl.php:25-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Shipping/Infrastructure/Services/ShippingServiceImpl.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2febd8b6af98bc815100e86fd13b88d92bea753ab36d42465099b8ce4a42f66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/core/Supplier/Application/DTOs/CreateSupplierRequest.php:28-35 | app/core/Supplier/Domain/Entities/Supplier.php:51-58 \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":"app/core/Supplier/Application/DTOs/CreateSupplierRequest.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e6801469483b4b2ffebad9c4494d6cc1c7d69df8f6a3ed530d97347fb46f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): app/core/OrderItem/Infrastructure/Repositories/EloquentOrderItemRepository.php:66-73 | app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php:20-27 | app/core/OrderShipping/Infrastructure/Repositories/EloquentOrderShippingRepository.php:71-78 | app/core/Permission/Infrastructure/Repositories/EloquentPermissionRepository.php:32-39 | app/core/PermissionGroupUser/Infrastructure/Repositories/EloquentPermissionGroupUserRepository.php:43-51 | app/core/StockOut/Infrastructure/Repositories/EloquentStockOutRepository.php:21-27 \u2014 there are 6 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderItem/Infrastructure/Repositories/EloquentOrderItemRepository.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b59893c60219b994c4472d284be68c1c70bb7524fe1a98460003a5ada680d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/core/InvoiceOut/Infrastructure/Repositories/EloquentInvoiceOutRepository.php:89-95 | app/core/StockIn/Infrastructure/Repositories/EloquentStockInRepository.php:58-64 \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":"app/core/InvoiceOut/Infrastructure/Repositories/EloquentInvoiceOutRepository.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bce0504228e03db7dfc64681cdc635d787665e3575fcd06347b578365a9fd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): app/core/Business/Infrastructure/Repositories/EloquentBusinessRepository.php:33-38 | app/core/Order/Infrastructure/Repositories/EloquentOrderRepository.php:56-63 | app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php:23-29 | app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php:36-42 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:15-21 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:36-42 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Order/Infrastructure/Repositories/EloquentOrderRepository.php:56\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Business/Infrastructure/Repositories/EloquentBusinessRepository.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7276169b353ca7ed6c16ac378b0b7f62b46e6d7433cf5109aee8254b32db333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): app/core/OrderItem/Application/Queries/IndexQuery.php:49-70 | app/core/OrderItem/Infrastructure/Repositories/EloquentOrderItemRepository.php:104-125 | app/core/StockMovementOut/Application/Queries/IndexQuery.php:37-42 | app/core/StockOut/Application/Queries/IndexQuery.php:36-47 \u2014 before extracting anything, compare \u0060app/core/OrderItem/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/StockMovementOut/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/OrderItem/Application/Queries/IndexQuery.php:49\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderItem/Application/Queries/IndexQuery.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dde5d692198f6a91eaa02843b7d77d7d8de749642a2658a536c7b641dff2b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/core/PurchaseItem/Infrastructure/Repositories/EloquentPurchaseItemRepository.php:47-52 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:14-19 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:35-40 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/PurchaseItem/Infrastructure/Repositories/EloquentPurchaseItemRepository.php:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/PurchaseItem/Infrastructure/Repositories/EloquentPurchaseItemRepository.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"00067bb68f89131bc34422719b1b7857c60e8fd144a54b08fc5bceeddc7063bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/core/Notifications/Application/DTOs/CreateNotificationRequest.php:30-35 | app/core/Notifications/Application/DTOs/InsertManyNotificationRequest.php:31-36 \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":"app/core/Notifications/Application/DTOs/CreateNotificationRequest.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a719adc5bf4b8e8c07aca8f1cd66f4741936c35053fefc4bb88f5ca3d7b23c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/core/PurchaseItem/Application/DTOs/CreatePurchaseItemRequest.php:31-36 | app/core/PurchaseItem/Domain/Entities/PurchaseItem.php:29-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/PurchaseItem/Application/DTOs/CreatePurchaseItemRequest.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b9b0f1929afd3f975ae8c7189c04f9b9bcdeeff4ec88494dbced3af68eb8b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): app/core/Business/Infrastructure/Repositories/EloquentBusinessRepository.php:32-36 | app/core/PurchaseItem/Infrastructure/Repositories/EloquentPurchaseItemRepository.php:47-52 | app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php:22-27 | app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php:35-40 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:14-19 | app/core/User/Infrastructure/Repositories/EloquentUserRepository.php:35-40 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Business/Infrastructure/Repositories/EloquentBusinessRepository.php:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Business/Infrastructure/Repositories/EloquentBusinessRepository.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ba396b4ec92ecd70174f0ff1ea69cb45866e13b32eb0205ea939f9856f7a90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): app/core/InvoiceOut/Infrastructure/Repositories/EloquentInvoiceOutRepository.php:89-94 | app/core/OrderItem/Infrastructure/Repositories/EloquentOrderItemRepository.php:125-129 | app/core/OrderItem/Infrastructure/Repositories/EloquentOrderItemRepository.php:211-215 | app/core/StockIn/Infrastructure/Repositories/EloquentStockInRepository.php:58-63 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/core/StockIn/Infrastructure/Repositories/EloquentStockInRepository.php:56\u0060 calls \u0060leftJoin\u0060 and \u0060app/core/OrderItem/Infrastructure/Repositories/EloquentOrderItemRepository.php:124\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InvoiceOut/Infrastructure/Repositories/EloquentInvoiceOutRepository.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b56fc5bbd81f3c97abe417dc7a198ce10730c7917bbed75741c153ef2a01d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/core/InventoryAdjustment/Application/Queries/IndexQuery.php:25-32 | app/core/OrderItem/Application/Queries/IndexQuery.php:69-73 | app/core/StockMovementOut/Application/Queries/IndexQuery.php:43-47 \u2014 before extracting anything, compare \u0060app/core/OrderItem/Application/Queries/IndexQuery.php\u0060 and \u0060app/core/StockMovementOut/Application/Queries/IndexQuery.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/InventoryAdjustment/Application/Queries/IndexQuery.php:25\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InventoryAdjustment/Application/Queries/IndexQuery.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6899a9209cb97cddca4c068be8d03300e18b4888541031db5cf8a331545085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/core/InvoiceIn/Application/DTOs/CreateInvoiceInRequest.php:32-36 | app/core/InvoiceIn/Domain/Entities/InvoiceIn.php:34-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InvoiceIn/Application/DTOs/CreateInvoiceInRequest.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e7e8a729a1ed01c082671d1e45dafc4ef5a177860c88a0d2ac7826fee3b157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/app/Exceptions/BadException.php:16-28 | app/app/Exceptions/ForbiddenBiddenException.php:16-28 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/app/Exceptions/BadException.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Exceptions/BadException.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"112766187e28779ee65384343ff6696e9463e333323ab0eb228ccc7599a62368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): app/core/CategoryProduct/Application/DTOs/ShowCategoryProductRequest.php:15-26 | app/core/OrderItem/Application/DTOs/DeleteOrderItemRequest.php:18-34 | app/core/StockMovementIn/Application/DTOs/CheckStockMovementInRequest.php:15-26 | app/core/StockOut/Application/DTOs/ShowStockOutRequest.php:15-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CategoryProduct/Application/DTOs/ShowCategoryProductRequest.php:15\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Application/DTOs/ShowCategoryProductRequest.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fea025563025dbd57378c0e866a737c960f38b1840ce5cfc5cbed2c7616b4e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 17): app/core/CustomInvoiceIn/Http/Controllers/CustomInvoiceInController.php:18-39 | app/core/CustomInvoiceOut/Http/Controllers/CustomInvoiceOutController.php:18-39 | app/core/Customer/Http/Controllers/CustomerController.php:24-44 | app/core/CustomerGroup/Http/Controllers/CustomerGroupController.php:23-58 | app/core/InvoiceIn/Http/Controllers/InvoiceInController.php:19-34 | app/core/InvoiceOut/Http/Controllers/InvoiceOutController.php:23-47 | app/core/Order/Http/Controllers/OrderController.php:18-33 | app/core/OrderShipping/Http/Controllers/OrderShippingController.php:19-36 | app/core/PermissionGroup/Http/Controllers/PermissionGroupController.php:20-48 | app/core/PriceList/Http/Controllers/PriceListController.php:18-39 | app/core/Purchase/Http/Controllers/PurchaseController.php:18-33 | app/core/PurchaseItem/Http/Controllers/PurchaseItemController.php:20-53 | app/core/Shipping/Http/Controllers/ShippingController.php:21-43 | app/core/StockIn/Http/Controllers/StockInController.php:18-33 | app/core/StockOut/Http/Controllers/StockOutController.php:18-40 | app/core/Supplier/Http/Controllers/SupplierController.php:18-36 | app/core/Warehouse/Http/Controllers/WarehouseController.php:29-49 \u2014 before extracting anything, compare \u0060app/core/Customer/Http/Controllers/CustomerController.php\u0060 and \u0060app/core/CustomerGroup/Http/Controllers/CustomerGroupController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomInvoiceIn/Http/Controllers/CustomInvoiceInController.php:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060IndexQuery\u0060 names \u0060Core\\CustomInvoiceIn\\Application\\Queries\\IndexQuery\u0060 in one and \u0060Core\\CustomInvoiceOut\\Application\\Queries\\IndexQuery\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Http/Controllers/CustomInvoiceInController.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89b01401741891aa8072de53d8334fcd9d237609d2c5aa6e1bd1d3bdf8cab69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): app/core/CustomInvoiceIn/Http/Requests/CreateCustomInvoiceInRequest.php:16-44 | app/core/CustomInvoiceOut/Http/Requests/CreateCustomInvoiceOutRequest.php:16-39 | app/core/Customer/Http/Requests/CreateCustomerRequest.php:16-50 | app/core/Inventory/Http/Requests/CreateInventoryRequest.php:15-31 | app/core/Order/Http/Requests/CreateOrderRequest.php:17-40 | app/core/OrderShipping/Http/Requests/CreateOrderShippingRequest.php:16-48 | app/core/PriceList/Http/Requests/CreatePriceListRequest.php:16-35 | app/core/Product/Http/Requests/CreateProductRequest.php:16-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 8 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomInvoiceIn/Http/Requests/CreateCustomInvoiceInRequest.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Http/Requests/CreateCustomInvoiceInRequest.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"073f01c8ec5c2fe180dd9908b6453c068783a51145b6cdbd840a81e5a24a7038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): app/core/CustomInvoiceIn/Http/Requests/DeleteCustomInvoiceInRequest.php:16-32 | app/core/CustomInvoiceOut/Http/Requests/DeleteCustomInvoiceOutRequest.php:16-32 | app/core/Customer/Http/Requests/DeleteCustomerRequest.php:16-32 | app/core/PriceList/Http/Requests/DeletePriceListRequest.php:16-32 | app/core/Product/Http/Requests/DeleteProductRequest.php:16-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomInvoiceIn/Http/Requests/DeleteCustomInvoiceInRequest.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Http/Requests/DeleteCustomInvoiceInRequest.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6509b41c4f37f54db7e6d11b4fa905030ac52414f6debe504ae35505e398c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): app/core/CustomInvoiceIn/Http/Requests/IndexCustomInvoiceInRequest.php:16-34 | app/core/CustomInvoiceOut/Http/Requests/IndexCustomInvoiceOutRequest.php:16-35 | app/core/Customer/Http/Requests/IndexCustomerRequest.php:16-35 | app/core/Order/Http/Requests/IndexOrderRequest.php:16-36 | app/core/OrderShipping/Http/Requests/IndexOrderShippingRequest.php:16-35 | app/core/Product/Http/Requests/IndexProductRequest.php:16-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomInvoiceIn/Http/Requests/IndexCustomInvoiceInRequest.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Http/Requests/IndexCustomInvoiceInRequest.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"abff8c0f9e9e2439d7dcaca1daf8c61d43d6354bc2d562a6e6ae0695b3e73674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 6): app/core/CustomInvoiceIn/Http/Requests/UpdateCustomInvoiceInRequest.php:16-44 | app/core/CustomInvoiceOut/Http/Requests/UpdateCustomInvoiceOutRequest.php:16-39 | app/core/Customer/Http/Requests/UpdateCustomerRequest.php:16-50 | app/core/Order/Http/Requests/UpdateOrderRequest.php:17-42 | app/core/PriceList/Http/Requests/UpdatePriceListRequest.php:16-35 | app/core/Product/Http/Requests/UpdateProductRequest.php:16-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomInvoiceIn/Http/Requests/UpdateCustomInvoiceInRequest.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Http/Requests/UpdateCustomInvoiceInRequest.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7c63eb4f6c8253ddc297e5057e430ba843f98000a17e9a3bb7744bc5246689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/core/Customer/Application/DTOs/DeleteCustomerRequest.php:14-26 | app/core/Shipping/Application/DTOs/DeleteShippingRequest.php:15-28 | app/core/Supplier/Application/DTOs/DeleteSupplierRequest.php:15-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Customer/Application/DTOs/DeleteCustomerRequest.php:14\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Application/DTOs/DeleteCustomerRequest.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"df19305a7a9a482445f97db4658e46a0ad7195ab03b0d05abc22d3799ba999f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/core/Customer/Application/DTOs/IndexCustomerRequest.php:16-32 | app/core/Supplier/Application/DTOs/IndexSupplierRequest.php:17-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Customer/Application/DTOs/IndexCustomerRequest.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Application/DTOs/IndexCustomerRequest.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfe340ef4e5c701c0cf58eae373d99f6b8a1c914395c0069b570068de3b195a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/core/Customer/Application/DTOs/ShowCustomerRequest.php:14-26 | app/core/Purchase/Application/DTOs/ShowPurchaseRequest.php:16-29 | app/core/Warehouse/Application/DTOs/DeleteWarehouseRequest.php:13-24 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Customer/Application/DTOs/ShowCustomerRequest.php:14\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Application/DTOs/ShowCustomerRequest.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dabb3eb7ebf9de905121a254199b5418aee16b6570bef265435ea8c67a8130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 6): app/core/Customer/Http/Controllers/CustomerController.php:24-44 | app/core/CustomerGroup/Http/Controllers/CustomerGroupController.php:23-58 | app/core/PermissionGroup/Http/Controllers/PermissionGroupController.php:20-48 | app/core/PurchaseItem/Http/Controllers/PurchaseItemController.php:20-53 | app/core/Shipping/Http/Controllers/ShippingController.php:21-43 | app/core/Warehouse/Http/Controllers/WarehouseController.php:29-49 \u2014 before extracting anything, compare \u0060app/core/Customer/Http/Controllers/CustomerController.php\u0060 and \u0060app/core/CustomerGroup/Http/Controllers/CustomerGroupController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Customer/Http/Controllers/CustomerController.php:24\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060IndexQuery\u0060 names \u0060Core\\CustomerGroup\\Application\\Queries\\IndexQuery\u0060 in one and \u0060Core\\Customer\\Application\\Queries\\IndexQuery\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Http/Controllers/CustomerController.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"efadb597f7cc8a4538348e8b359ff0a982856a0122f125a7fbbd20ddeeeccb7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): app/core/Customer/Http/Requests/ShowCustomerRequest.php:16-32 | app/core/Order/Http/Requests/ShowOrderRequest.php:16-34 | app/core/OrderShipping/Http/Requests/ShowOrderShippingRequest.php:16-34 | app/core/Product/Http/Requests/ShowProductRequest.php:16-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Customer/Http/Requests/ShowCustomerRequest.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Http/Requests/ShowCustomerRequest.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"944c1926bed6ce49de81c96f647c526168e81372783213b34fb2c589691fcfaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/core/CustomerGroup/Application/DTOs/DeleteCustomerGroupRequest.php:15-28 | app/core/CustomerGroup/Application/DTOs/ShowCustomerGroupRequest.php:15-28 \u2014 before extracting anything, compare \u0060app/core/CustomerGroup/Application/DTOs/DeleteCustomerGroupRequest.php\u0060 and \u0060app/core/CustomerGroup/Application/DTOs/ShowCustomerGroupRequest.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomerGroup/Application/DTOs/DeleteCustomerGroupRequest.php:15\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomerGroup/Application/DTOs/DeleteCustomerGroupRequest.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad41c8682773c611217cfcf8ab48c64c3d4c061051ad8a200a04b93ba2799ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/core/CustomerGroup/Application/DTOs/IndexCustomerGroupRequest.php:16-31 | app/core/StockOut/Application/DTOs/IndexStockOutRequest.php:16-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomerGroup/Application/DTOs/IndexCustomerGroupRequest.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomerGroup/Application/DTOs/IndexCustomerGroupRequest.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5888131403f4779171c873edf0281a985fb408ce818d0725166c51b03e380d73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/core/Extension/Http/Controllers/ExtensionController.php:19-34 | app/core/Inventory/Http/Controllers/InventoryController.php:14-22 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Extension/Http/Controllers/ExtensionController.php:19\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Extension/Http/Controllers/ExtensionController.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b0b322612bfb5677cb798b79256a67cbfe52915baf5e2feaa8a5e22dd9fcba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/core/InvoiceIn/Application/DTOs/ShowInvoiceInRequest.php:15-28 | app/core/InvoiceOut/Application/DTOs/ShowInvoiceOutRequest.php:15-28 \u2014 before extracting anything, compare \u0060app/core/InvoiceIn/Application/DTOs/ShowInvoiceInRequest.php\u0060 and \u0060app/core/InvoiceOut/Application/DTOs/ShowInvoiceOutRequest.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/InvoiceIn/Application/DTOs/ShowInvoiceInRequest.php:15\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InvoiceIn/Application/DTOs/ShowInvoiceInRequest.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fce58b8f6e85f367688ac114436de46d608557fe55e3dd891bb108bec63f173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/core/Notifications/Application/DTOs/DeleteNotificationRequest.php:15-28 | app/core/Notifications/Application/DTOs/UpdateNotificationRequest.php:15-28 \u2014 before extracting anything, compare \u0060app/core/Notifications/Application/DTOs/DeleteNotificationRequest.php\u0060 and \u0060app/core/Notifications/Application/DTOs/UpdateNotificationRequest.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Notifications/Application/DTOs/DeleteNotificationRequest.php:15\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Notifications/Application/DTOs/DeleteNotificationRequest.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e54b239a76a037088025e84c94a27ec3c10f6f7ef7561ae58697c7e9ac916e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): app/core/OrderItem/Application/DTOs/CancelledOrderItemRequest.php:18-34 | app/core/OrderItem/Application/DTOs/GetSummaryOrderItemRequest.php:18-34 | app/core/OrderShipping/Application/DTOs/CheckReadyOrderShippingRequest.php:15-28 | app/core/OrderShipping/Application/DTOs/GetOrderShippingByOrderIdRequest.php:15-28 \u2014 before extracting anything, compare \u0060app/core/OrderItem/Application/DTOs/CancelledOrderItemRequest.php\u0060 and \u0060app/core/OrderItem/Application/DTOs/GetSummaryOrderItemRequest.php\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/OrderItem/Application/DTOs/CancelledOrderItemRequest.php:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderItem/Application/DTOs/CancelledOrderItemRequest.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9d48ebd9a95823923c5bfb039abc76f22738117be3ca737dbda879a5eacbd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/core/Permission/Application/DTOs/CheckPermissionRequest.php:15-28 | app/core/Permission/Application/DTOs/GetPermissionRequest.php:15-28 \u2014 before extracting anything, compare \u0060app/core/Permission/Application/DTOs/CheckPermissionRequest.php\u0060 and \u0060app/core/Permission/Application/DTOs/GetPermissionRequest.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Permission/Application/DTOs/CheckPermissionRequest.php:15\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Permission/Application/DTOs/CheckPermissionRequest.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9d97c7675c0aa6f0ee78ac5699ee7515415fd5763a56d2118d217882744505"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 19): app/core/CustomInvoiceIn/Http/Controllers/CustomInvoiceInController.php:18-39 | app/core/CustomInvoiceOut/Http/Controllers/CustomInvoiceOutController.php:18-39 | app/core/Customer/Http/Controllers/CustomerController.php:24-44 | app/core/CustomerGroup/Http/Controllers/CustomerGroupController.php:23-58 | app/core/InvoiceIn/Http/Controllers/InvoiceInController.php:19-34 | app/core/InvoiceOut/Http/Controllers/InvoiceOutController.php:23-47 | app/core/Order/Http/Controllers/OrderController.php:18-33 | app/core/OrderShipping/Http/Controllers/OrderShippingController.php:19-36 | app/core/Permission/Http/Controllers/PermissionController.php:16-30 | app/core/PermissionGroup/Http/Controllers/PermissionGroupController.php:20-48 | app/core/PriceList/Http/Controllers/PriceListController.php:18-39 | app/core/Purchase/Http/Controllers/PurchaseController.php:18-33 | app/core/PurchaseItem/Http/Controllers/PurchaseItemController.php:20-53 | app/core/Shipping/Http/Controllers/ShippingController.php:21-43 | app/core/StockIn/Http/Controllers/StockInController.php:18-33 | app/core/StockMovementIn/Http/Controllers/StockMovementInController.php:15-28 | app/core/StockOut/Http/Controllers/StockOutController.php:18-40 | app/core/Supplier/Http/Controllers/SupplierController.php:18-36 | app/core/Warehouse/Http/Controllers/WarehouseController.php:29-49 \u2014 before extracting anything, compare \u0060app/core/Customer/Http/Controllers/CustomerController.php\u0060 and \u0060app/core/CustomerGroup/Http/Controllers/CustomerGroupController.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/CustomInvoiceIn/Http/Controllers/CustomInvoiceInController.php:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060IndexQuery\u0060 names \u0060Core\\CustomInvoiceIn\\Application\\Queries\\IndexQuery\u0060 in one and \u0060Core\\CustomInvoiceOut\\Application\\Queries\\IndexQuery\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Http/Controllers/CustomInvoiceInController.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"001d3c82f6e7eabf7a161d74b3d81469b5d2c551645f67c7d52a50c86bfeb65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/core/PermissionGroup/Application/DTOs/DeletePermissionGroupRequest.php:15-28 | app/core/PermissionGroup/Application/DTOs/ShowPermissionGroupRequest.php:15-28 \u2014 before extracting anything, compare \u0060app/core/PermissionGroup/Application/DTOs/DeletePermissionGroupRequest.php\u0060 and \u0060app/core/PermissionGroup/Application/DTOs/ShowPermissionGroupRequest.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/PermissionGroup/Application/DTOs/DeletePermissionGroupRequest.php:15\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/PermissionGroup/Application/DTOs/DeletePermissionGroupRequest.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d34363b36d8adab692b878fe3880856b4accd6ad4b1dc79a20471ca0916cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/core/Product/Application/DTOs/IndexProductRequest.php:16-30 | app/core/StockIn/Application/DTOs/IndexStockInRequest.php:16-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Product/Application/DTOs/IndexProductRequest.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Product/Application/DTOs/IndexProductRequest.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6be06e0cd3d476ba837277c0031123584017bd7be9401c4ad47e7a8af063de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/core/Product/Application/DTOs/ShowProductRequest.php:15-27 | app/core/StockIn/Application/DTOs/CheckForStockMovementInRequest.php:15-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/Product/Application/DTOs/ShowProductRequest.php:15\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Product/Application/DTOs/ShowProductRequest.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac756c6ae38b07ecb5711058a9872983bd06b7eab9e0225b6e58d023de68f640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/core/PurchaseTax/Application/DTOs/CreatePurchaseTaxRequest.php:17-32 | app/core/PurchaseTax/Domain/Entities/PurchaseTax.php:16-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/core/PurchaseTax/Application/DTOs/CreatePurchaseTaxRequest.php:17\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/PurchaseTax/Application/DTOs/CreatePurchaseTaxRequest.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7a7b2972aa76978258c403292261f973dc18dd73cc82e82fefae3ea0967f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 38): app/core/ActivityLog/Infrastructure/Providers/ActivityLogServiceProvider.php:48-54 | app/core/AppToken/Infrastructure/Providers/AppTokenServiceProvider.php:44-50 | app/core/Authencation/Infrastructure/Providers/AuthencationServiceProvider.php:47-53 | app/core/Business/Infrastructure/Providers/BusinessServiceProvider.php:44-50 | app/core/CategoryProduct/Infrastructure/Providers/CategoryProductServiceProvider.php:44-50 | app/core/CustomInvoiceIn/Infrastructure/Providers/CustomInvoiceInServiceProvider.php:44-50 | app/core/CustomInvoiceOut/Infrastructure/Providers/CustomInvoiceOutServiceProvider.php:44-50 | app/core/Customer/Infrastructure/Providers/CustomerServiceProvider.php:48-54 | app/core/CustomerGroup/Infrastructure/Providers/CustomerGroupServiceProvider.php:44-50 | app/core/Extension/Infrastructure/Providers/ExtensionServiceProvider.php:53-59 | app/core/ImageManager/Infrastructure/Providers/ImageManagerServiceProvider.php:44-50 | app/core/Inventory/Infrastructure/Providers/InventoryServiceProvider.php:45-51 | app/core/InventoryAdjustment/Infrastructure/Providers/InventoryAdjustmentServiceProvider.php:44-50 | app/core/InvoiceIn/Infrastructure/Providers/InvoiceInServiceProvider.php:48-54 | app/core/InvoiceOut/Infrastructure/Providers/InvoiceOutServiceProvider.php:49-55 | app/core/Notifications/Infrastructure/Providers/NotificationsServiceProvider.php:49-55 | app/core/Order/Infrastructure/Providers/OrderServiceProvider.php:52-58 | app/core/OrderCancel/Infrastructure/Providers/OrderCancelServiceProvider.php:47-53 | app/core/OrderItem/Infrastructure/Providers/OrderItemServiceProvider.php:46-52 | app/core/OrderShipping/Infrastructure/Providers/OrderShippingServiceProvider.php:52-58 | app/core/Overview/Infrastructure/Providers/OverviewServiceProvider.php:57-63 | app/core/Permission/Infrastructure/Providers/PermissionServiceProvider.php:46-52 | app/core/PermissionGroup/Infrastructure/Providers/PermissionGroupServiceProvider.php:46-52 | app/core/PermissionGroupUser/Infrastructure/Providers/PermissionGroupUserServiceProvider.php:46-52 | app/core/PriceList/Infrastructure/Providers/PriceListServiceProvider.php:44-50 | app/core/Product/Infrastructure/Providers/ProductServiceProvider.php:44-50 | app/core/Purchase/Infrastructure/Providers/PurchaseServiceProvider.php:46-52 | app/core/PurchaseCancel/Infrastructure/Providers/PurchaseCancelServiceProvider.php:47-53 | app/core/PurchaseItem/Infrastructure/Providers/PurchaseItemServiceProvider.php:48-54 | app/core/PurchaseTax/Infrastructure/Providers/PurchaseTaxServiceProvider.php:44-50 | app/core/Shipping/Infrastructure/Providers/ShippingServiceProvider.php:44-50 | app/core/StockIn/Infrastructure/Providers/StockInServiceProvider.php:46-52 | app/core/StockMovementIn/Infrastructure/Providers/StockMovementInServiceProvider.php:47-53 | app/core/StockMovementOut/Infrastructure/Providers/StockMovementOutServiceProvider.php:47-53 | app/core/StockOut/Infrastructure/Providers/StockOutServiceProvider.php:48-54 | app/core/Supplier/Infrastructure/Providers/SupplierServiceProvider.php:44-50 | app/core/User/Infrastructure/Providers/UserServiceProvider.php:46-52 | app/core/Warehouse/Infrastructure/Providers/WarehouseServiceProvider.php:50-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 38 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 38 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/ActivityLog/Infrastructure/Providers/ActivityLogServiceProvider.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"199983e6ab130a403521a4fc399ea7b8b32646fa5414c753bd50d42b3dc516d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 14): app/core/CategoryProduct/Infrastructure/Services/CategoryProductServiceImpl.php:47-51 | app/core/CustomInvoiceIn/Infrastructure/Services/CustomInvoiceInServiceImpl.php:45-50 | app/core/CustomInvoiceOut/Infrastructure/Services/CustomInvoiceOutServiceImpl.php:46-50 | app/core/Customer/Infrastructure/Services/CustomerServiceImpl.php:73-77 | app/core/CustomerGroup/Infrastructure/Services/CustomerGroupServiceImpl.php:38-42 | app/core/Extension/Infrastructure/Services/ExtensionServiceImpl.php:37-41 | app/core/Notifications/Infrastructure/Services/NotificationDBServiceImpl.php:38-42 | app/core/OrderItem/Infrastructure/Services/OrderItemServiceImpl.php:61-65 | app/core/PriceList/Infrastructure/Services/PriceListServiceImpl.php:42-46 | app/core/Product/Infrastructure/Services/ProductServiceImpl.php:52-56 | app/core/PurchaseItem/Infrastructure/Services/PurchaseItemServiceImpl.php:54-58 | app/core/Shipping/Infrastructure/Services/ShippingServiceImpl.php:45-49 | app/core/Supplier/Infrastructure/Services/SupplierServiceImpl.php:46-50 | app/core/Warehouse/Infrastructure/Services/WarehouseServiceImpl.php:49-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 14 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 14 times. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CategoryProduct/Infrastructure/Services/CategoryProductServiceImpl.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b526253ff6b422e7888bdf0e004136e893b7469d7b283d65542e4b3aeb556234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): app/core/Customer/Infrastructure/Services/CustomerServiceImpl.php:65-69 | app/core/Extension/Infrastructure/Services/ExtensionServiceImpl.php:45-49 | app/core/OrderItem/Infrastructure/Services/OrderItemServiceImpl.php:69-73 | app/core/PermissionGroup/Infrastructure/Services/PermissionGroupServiceImpl.php:41-46 | app/core/PermissionGroupUser/Infrastructure/Services/PermissionGroupUserServiceImpl.php:27-32 | app/core/Warehouse/Infrastructure/Services/WarehouseServiceImpl.php:25-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Infrastructure/Services/CustomerServiceImpl.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9abb16b007cf1e4da16fb92c14d8fcc73bfe764013f880cef050dc8325a4b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/core/Extension/Application/DTOs/MakeExtensionCommand.php:57-62 | app/core/Extension/Domain/Entities/Extension.php:60-65 \u2014 before extracting anything, compare \u0060app/core/Extension/Application/DTOs/MakeExtensionCommand.php\u0060 and \u0060app/core/Extension/Domain/Entities/Extension.php\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Extension/Application/DTOs/MakeExtensionCommand.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"044683f181510b2e9abdfcce8f1272b197ba57798c6258d61b0ecc165a624589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/core/InvoiceIn/Domain/Entities/InvoiceIn.php:102-110 | app/core/InvoiceOut/Domain/Entities/InvoiceOut.php:105-113 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InvoiceIn/Domain/Entities/InvoiceIn.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f91906c8187b03cbab89fa04633db4af8997f567ac286dc3eba5b662abf85ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/core/Order/Application/UseCases/CheckOrderCancelled.php:15-19 | app/core/Order/Application/UseCases/CheckUpdateShippingOrder.php:15-19 \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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Order/Application/UseCases/CheckOrderCancelled.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1dc5526af72b4af0278c9627e2b8a346fd1bbf25e3250826526449807c087e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/core/CustomInvoiceIn/Infrastructure/Services/CustomInvoiceInServiceImpl.php:16-21 | app/core/CustomInvoiceOut/Infrastructure/Services/CustomInvoiceOutServiceImpl.php:16-21 \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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceIn/Infrastructure/Services/CustomInvoiceInServiceImpl.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d61bb3c20c8db214a20f010664fd8155e423e99e26f84f42be196ca3a4d9ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/core/CustomInvoiceOut/Application/DTOs/DeleteCustomInvoiceOutRequest.php:15-19 | app/core/PurchaseItem/Application/DTOs/DeletePurchaseItemRequest.php:15-19 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/CustomInvoiceOut/Application/DTOs/DeleteCustomInvoiceOutRequest.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6cf4f07324fdb61ecaa95639ca607e89b4b0016744fbe58c84c9804bfd915f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/core/Customer/Application/DTOs/OrderShippingCustomerRequest.php:15-20 | app/core/OrderShipping/Application/DTOs/ShowOrderShippingRequest.php:16-21 | app/core/PermissionGroupUser/Application/DTOs/DeletePermissionGroupUserRequest.php:16-21 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Application/DTOs/OrderShippingCustomerRequest.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e9d6b0fc8ad2021a0281a325f23fbf0cd9dcf418f49a2d14b511c5feeab950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/core/InvoiceOut/Infrastructure/Services/InvoiceOutServiceImpl.php:58-63 | app/core/Notifications/Infrastructure/Services/NotificationDBServiceImpl.php:29-34 | app/core/StockIn/Infrastructure/Services/StockInServiceImpl.php:40-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InvoiceOut/Infrastructure/Services/InvoiceOutServiceImpl.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9c394e8484a5c2004ee12904eda8d17bb405e82f2645fd9b64fe96e52feb6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/core/OrderCancel/Infrastructure/Listeners/OrderCancelListeners.php:14-18 | app/core/StockMovementOut/Infrastructure/Listeners/StockMovementOutListener.php:16-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderCancel/Infrastructure/Listeners/OrderCancelListeners.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeedf8a0c85ad5bbd4053c17eed2103a982ad8a03f21c1538d27b6c2d3acb153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/core/OrderShipping/Infrastructure/Services/OrderShippingServiceImpl.php:17-22 | app/core/Shipping/Infrastructure/Services/ShippingServiceImpl.php:16-21 \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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderShipping/Infrastructure/Services/OrderShippingServiceImpl.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d4556d8dc666ac89ec447a24e1172caf9d48a7993fbf54a52ca74c8892d07e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/core/Customer/Infrastructure/Services/CustomerServiceImpl.php:48-53 | app/core/Supplier/Infrastructure/Services/SupplierServiceImpl.php:34-39 \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":"app/core/Customer/Infrastructure/Services/CustomerServiceImpl.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"46444c2cc253b08f0a8bb93131027ce2ecd6a8e80bdc57b5d19b9d75d06066fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/core/InvoiceIn/Infrastructure/Services/InvoiceInServiceImpl.php:38-42 | app/core/InvoiceOut/Infrastructure/Services/InvoiceOutServiceImpl.php:41-45 \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":"app/core/InvoiceIn/Infrastructure/Services/InvoiceInServiceImpl.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e8a97291d391917e54b21e981706cdf2ecf0c97a61c437f9cbebd7abc53d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): extension-examples/CategoryProductThumbnail/Hooks/IndexHook.php:24-34 | extension-examples/PriceListCountry/Hooks/IndexHook.php:24-35 | extension-examples/ShippingProviderFax/Hooks/IndexHook.php:24-33 | extension-examples/SupplierFax/Hooks/IndexHook.php:24-33 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CategoryProductThumbnail/Hooks/IndexHook.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8c97ef658734e511e5ab909f062c57685d9c546475935f76bb1a771f3b6959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 3): extension-examples/Hrm/Http/Controllers/Api/AttendanceController.php:71-90 | extension-examples/Hrm/Http/Controllers/Api/ExportExcelController.php:22-36 | extension-examples/Hrm/Http/Controllers/Api/ReportController.php:25-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Http/Controllers/Api/AttendanceController.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"969ccce069d57cc47faa42814bf0930bb1035258936a00263d6dd993016c77c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): extension-examples/PriceListCountry/Hooks/IndexHook.php:27-35 | extension-examples/ShippingProviderFax/Hooks/IndexHook.php:26-33 | extension-examples/SupplierFax/Hooks/IndexHook.php:26-33 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/PriceListCountry/Hooks/IndexHook.php:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/PriceListCountry/Hooks/IndexHook.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0097123dcbd11f87150ee6a3b1f4eabad2c6ccb3d27415699b2c5978e48ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): extension-examples/Debt/Http/Controllers/DebtController.php:19-26 | extension-examples/Debt/Http/Controllers/DebtController.php:28-35 \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 \u0060extension-examples/Debt/Http/Controllers/DebtController.php:19\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":"extension-examples/Debt/Http/Controllers/DebtController.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"590e9581b58ac7c27cfd0e379659856755f7f95d8374e004372f0f7b0d4b29f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): extension-examples/CategoryProductThumbnail/Hooks/IndexHook.php:24-29 | extension-examples/PriceListCountry/Hooks/IndexHook.php:24-29 | extension-examples/ShippingProviderFax/Hooks/IndexHook.php:24-28 | extension-examples/SupplierFax/Hooks/IndexHook.php:24-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CategoryProductThumbnail/Hooks/IndexHook.php:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CategoryProductThumbnail/Hooks/IndexHook.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"043c9f8ee88c319f989c3009ca434c6061f31df5f75b6fd74ea165197796ef81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): extension-examples/Hrm/Services/AttendanceService.php:48-52 | extension-examples/Hrm/Services/ReportService.php:24-28 \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 \u0060extension-examples/Hrm/Services/AttendanceService.php:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Services/AttendanceService.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35303cba246db39b7db5a4ced5bde100ec821b25ac4f57d2f56ecd717f35329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 13): extension-examples/CategoryProductThumbnail/Hooks/SearchIndexHook.php:20-38 | extension-examples/CustomInvoiceIn/Hooks/SearchIndexShowHook.php:20-43 | extension-examples/CustomInvoiceOut/Hooks/SearchIndexShowHook.php:20-43 | extension-examples/CustomerFax/Hooks/SearchIndexShowHook.php:20-43 | extension-examples/InvoiceInExtras/Hooks/SearchIndexShowHook.php:20-43 | extension-examples/InvoiceOutExtras/Hooks/SearchIndexShowHook.php:20-38 | extension-examples/OrderInformation/Hooks/SearchIndexShowHook.php:18-41 | extension-examples/PurchaseInformation/Hooks/SearchIndexShowHook.php:20-43 | extension-examples/ShippingProviderFax/Hooks/SearchIndexHook.php:20-38 | extension-examples/StockOutExtras/Hooks/SearchIndexShowHook.php:20-43 | extension-examples/StockinExtras/Hooks/SearchIndexShowHook.php:20-43 | extension-examples/SupplierFax/Hooks/SearchIndexHook.php:20-43 | extension-examples/TrackingNumberOrderShipping/Hooks/SearchIndexShowHook.php:20-43 \u2014 before extracting anything, compare \u0060extension-examples/CustomInvoiceIn/Hooks/SearchIndexShowHook.php\u0060 and \u0060extension-examples/CustomInvoiceOut/Hooks/SearchIndexShowHook.php\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CategoryProductThumbnail/Hooks/SearchIndexHook.php:20\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CategoryProductThumbnail/Hooks/SearchIndexHook.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b567d0c850e8c77b8e8fb52819c2018a833864b17f8a5443683ec924b3b27fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 15): extension-examples/CategoryProductThumbnail/Hooks/ValidateCreateHook.php:18-29 | extension-examples/CustomInvoiceIn/Hooks/ValidateCreateHook.php:15-26 | extension-examples/CustomInvoiceOut/Hooks/ValidateCreateHook.php:15-26 | extension-examples/CustomerFax/Hooks/ValidateCreateHook.php:15-26 | extension-examples/InvoiceInExtras/Hooks/ValidateCreateHook.php:15-26 | extension-examples/InvoiceOutExtras/Hooks/ValidateCreateHook.php:15-26 | extension-examples/OrderInformation/Hooks/ValidateCreateHook.php:15-26 | extension-examples/PriceListCountry/Hooks/ValidateCreateHook.php:18-29 | extension-examples/ProductRenew/Hooks/ValidateCreateHook.php:15-26 | extension-examples/PurchaseInformation/Hooks/ValidateCreateHook.php:15-26 | extension-examples/ShippingProviderFax/Hooks/ValidateCreateHook.php:18-29 | extension-examples/StockOutExtras/Hooks/ValidateCreateHook.php:15-26 | extension-examples/StockinExtras/Hooks/ValidateCreateHook.php:15-26 | extension-examples/SupplierFax/Hooks/ValidateCreateHook.php:18-29 | extension-examples/TrackingNumberOrderShipping/Hooks/ValidateCreateHook.php:15-26 \u2014 before extracting anything, compare \u0060extension-examples/InvoiceInExtras/Hooks/ValidateCreateHook.php\u0060 and \u0060extension-examples/InvoiceOutExtras/Hooks/ValidateCreateHook.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CategoryProductThumbnail/Hooks/ValidateCreateHook.php:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CategoryProductThumbnail/Hooks/ValidateCreateHook.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a05baed54c9e331b9e76b0a4c147c68b15ea39c5426e34c509db0f3929be995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 15): extension-examples/CategoryProductThumbnail/Hooks/ValidateUpdateHook.php:18-29 | extension-examples/CustomInvoiceIn/Hooks/ValidateUpdateHook.php:15-26 | extension-examples/CustomInvoiceOut/Hooks/ValidateUpdateHook.php:15-26 | extension-examples/CustomerFax/Hooks/ValidateUpdateHook.php:15-26 | extension-examples/InvoiceInExtras/Hooks/ValidateUpdateHook.php:16-27 | extension-examples/InvoiceOutExtras/Hooks/ValidateUpdateHook.php:15-26 | extension-examples/OrderInformation/Hooks/ValidateUpdateHook.php:15-26 | extension-examples/PriceListCountry/Hooks/ValidateUpdateHook.php:18-29 | extension-examples/ProductRenew/Hooks/ValidateUpdateHook.php:15-26 | extension-examples/PurchaseInformation/Hooks/ValidateUpdateHook.php:15-26 | extension-examples/ShippingProviderFax/Hooks/ValidateUpdateHook.php:18-29 | extension-examples/StockOutExtras/Hooks/ValidateUpdateHook.php:15-26 | extension-examples/StockinExtras/Hooks/ValidateUpdateHook.php:15-26 | extension-examples/SupplierFax/Hooks/ValidateUpdateHook.php:18-29 | extension-examples/TrackingNumberOrderShipping/Hooks/ValidateUpdateHook.php:15-26 \u2014 before extracting anything, compare \u0060extension-examples/OrderInformation/Hooks/ValidateUpdateHook.php\u0060 and \u0060extension-examples/PurchaseInformation/Hooks/ValidateUpdateHook.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CategoryProductThumbnail/Hooks/ValidateUpdateHook.php:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CategoryProductThumbnail/Hooks/ValidateUpdateHook.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a101107424c69e9a45e2c5907460962e5d074f34fdb048e9d2bdaf35b5cb60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): extension-examples/CustomInvoiceIn/Hooks/CreateHook.php:16-34 | extension-examples/CustomInvoiceOut/Hooks/CreateHook.php:16-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CustomInvoiceIn/Hooks/CreateHook.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060ExampleModel\u0060 names \u0060Extensions\\CustomInvoiceIn\\Models\\ExampleModel\u0060 in one and \u0060Extensions\\CustomInvoiceOut\\Models\\ExampleModel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomInvoiceIn/Hooks/CreateHook.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7e392e1612984c8590623d601154c29da2b89691b76e19572016df5e7f79eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201316 lines \u00D7 11): extension-examples/CustomInvoiceIn/Hooks/IndexHook.php:19-35 | extension-examples/CustomInvoiceOut/Hooks/IndexHook.php:19-35 | extension-examples/CustomerFax/Hooks/IndexHook.php:19-34 | extension-examples/InvoiceInExtras/Hooks/IndexHook.php:19-34 | extension-examples/InvoiceOutExtras/Hooks/IndexHook.php:17-34 | extension-examples/OrderInformation/Hooks/IndexHook.php:18-34 | extension-examples/ProductRenew/Hooks/IndexHook.php:27-33 | extension-examples/PurchaseInformation/Hooks/IndexHook.php:18-33 | extension-examples/StockOutExtras/Hooks/IndexHook.php:18-35 | extension-examples/StockinExtras/Hooks/IndexHook.php:18-35 | extension-examples/TrackingNumberOrderShipping/Hooks/IndexHook.php:17-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 11 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 11 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CustomInvoiceIn/Hooks/IndexHook.php:19\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomInvoiceIn/Hooks/IndexHook.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34d3d4ba18764fe7e60e9f1140bc1e5a55fed196c962bc7bc424c25bc8e4a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 13): extension-examples/CustomInvoiceIn/Hooks/IndexShowHook.php:18-34 | extension-examples/CustomInvoiceOut/Hooks/IndexShowHook.php:18-34 | extension-examples/CustomerFax/Hooks/IndexShowHook.php:18-34 | extension-examples/InvoiceInExtras/Hooks/IndexShowHook.php:18-34 | extension-examples/InvoiceOutExtras/Hooks/IndexShowHook.php:18-34 | extension-examples/OrderInformation/Hooks/IndexShowHook.php:18-34 | extension-examples/PriceListCountry/Hooks/IndexShowHook.php:18-34 | extension-examples/PurchaseInformation/Hooks/IndexShowHook.php:18-34 | extension-examples/ShippingProviderFax/Hooks/IndexShowHook.php:18-34 | extension-examples/StockOutExtras/Hooks/IndexShowHook.php:18-34 | extension-examples/StockinExtras/Hooks/IndexShowHook.php:18-34 | extension-examples/SupplierFax/Hooks/IndexShowHook.php:18-34 | extension-examples/TrackingNumberOrderShipping/Hooks/IndexShowHook.php:18-34 \u2014 before extracting anything, compare \u0060extension-examples/CustomInvoiceIn/Hooks/IndexShowHook.php\u0060 and \u0060extension-examples/CustomInvoiceOut/Hooks/IndexShowHook.php\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CustomInvoiceIn/Hooks/IndexShowHook.php:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomInvoiceIn/Hooks/IndexShowHook.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d40b73807eb242e560ab8c274735bcddbea5ed6412327c186f47ca76db39e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): extension-examples/CustomInvoiceIn/Hooks/UpdateHook.php:17-37 | extension-examples/CustomInvoiceOut/Hooks/UpdateHook.php:17-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CustomInvoiceIn/Hooks/UpdateHook.php:17\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060ExampleModel\u0060 names \u0060Extensions\\CustomInvoiceIn\\Models\\ExampleModel\u0060 in one and \u0060Extensions\\CustomInvoiceOut\\Models\\ExampleModel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomInvoiceIn/Hooks/UpdateHook.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e51045fda3d8888ed94ae530f10e0eed14ff2b9f0ba60646560447e252f567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 11): extension-examples/CustomInvoiceIn/Hooks/ValidateSearchHook.php:15-26 | extension-examples/CustomInvoiceOut/Hooks/ValidateSearchHook.php:15-26 | extension-examples/CustomerFax/Hooks/ValidateSearchHook.php:15-26 | extension-examples/InvoiceInExtras/Hooks/ValidateSearchHook.php:15-26 | extension-examples/InvoiceOutExtras/Hooks/ValidateSearchHook.php:15-26 | extension-examples/OrderInformation/Hooks/ValidateSearchHook.php:15-26 | extension-examples/ProductRenew/Hooks/ValidateSearchHook.php:15-26 | extension-examples/PurchaseInformation/Hooks/ValidateSearchHook.php:15-26 | extension-examples/StockOutExtras/Hooks/ValidateSearchHook.php:15-26 | extension-examples/StockinExtras/Hooks/ValidateSearchHook.php:15-26 | extension-examples/TrackingNumberOrderShipping/Hooks/ValidateSearchHook.php:15-26 \u2014 before extracting anything, compare \u0060extension-examples/CustomInvoiceIn/Hooks/ValidateSearchHook.php\u0060 and \u0060extension-examples/CustomInvoiceOut/Hooks/ValidateSearchHook.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CustomInvoiceIn/Hooks/ValidateSearchHook.php:15\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomInvoiceIn/Hooks/ValidateSearchHook.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9394f7be1d2a623a470c2e368614b01b77329239689709a9602e86ede395909a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 11): extension-examples/CustomInvoiceIn/Hooks/ViewShowHook.php:18-35 | extension-examples/CustomInvoiceOut/Hooks/ViewShowHook.php:18-35 | extension-examples/CustomerFax/Hooks/ViewShowHook.php:18-35 | extension-examples/InvoiceOutExtras/Hooks/ViewShowHook.php:18-35 | extension-examples/OrderInformation/Hooks/ViewShowHook.php:18-35 | extension-examples/PurchaseInformation/Hooks/ViewShowHook.php:18-35 | extension-examples/ShippingProviderFax/Hooks/ViewShowHook.php:18-35 | extension-examples/StockOutExtras/Hooks/ViewShowHook.php:18-35 | extension-examples/StockinExtras/Hooks/ViewShowHook.php:18-35 | extension-examples/SupplierFax/Hooks/ViewShowHook.php:18-35 | extension-examples/TrackingNumberOrderShipping/Hooks/ViewShowHook.php:18-35 \u2014 before extracting anything, compare \u0060extension-examples/CustomInvoiceIn/Hooks/ViewShowHook.php\u0060 and \u0060extension-examples/CustomInvoiceOut/Hooks/ViewShowHook.php\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CustomInvoiceIn/Hooks/ViewShowHook.php:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomInvoiceIn/Hooks/ViewShowHook.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ded6871bf75b9f3591b1da56195f1d0305c2e589457a197ebf8773c87b7967"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): extension-examples/CustomerFax/Hooks/CreateHook.php:16-31 | extension-examples/InvoiceOutExtras/Hooks/CreateHook.php:16-31 | extension-examples/ProductRenew/Hooks/CreateHook.php:16-30 | extension-examples/TrackingNumberOrderShipping/Hooks/CreateHook.php:16-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CustomerFax/Hooks/CreateHook.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060ExampleModel\u0060 names \u0060Extensions\\CustomerFax\\Models\\ExampleModel\u0060 in one and \u0060Extensions\\InvoiceOutExtras\\Models\\ExampleModel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomerFax/Hooks/CreateHook.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2d2a7a96be237dff7bae4e3390f2102b8412c85885ec2238e59d941493dbea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): extension-examples/CustomerFax/Hooks/UpdateHook.php:17-37 | extension-examples/InvoiceOutExtras/Hooks/UpdateHook.php:16-36 | extension-examples/ProductRenew/Hooks/UpdateHook.php:17-37 | extension-examples/TrackingNumberOrderShipping/Hooks/UpdateHook.php:17-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/CustomerFax/Hooks/UpdateHook.php:17\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060ExampleModel\u0060 names \u0060Extensions\\CustomerFax\\Models\\ExampleModel\u0060 in one and \u0060Extensions\\InvoiceOutExtras\\Models\\ExampleModel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomerFax/Hooks/UpdateHook.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cefb10c8f68e13e5f02f659061d93a5c3464d3996c87c40e95707cc6c09b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): extension-examples/InvoiceInPDF/Hooks/IndexHook.php:18-28 | extension-examples/InvoiceOutPDF/Hooks/IndexHook.php:17-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/InvoiceInPDF/Hooks/IndexHook.php:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceInPDF/Hooks/IndexHook.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e494cb55329f9d1221a4118bdfb330556fb3746332204dc82e28e2a8d68a9ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): extension-examples/InvoiceInPDF/Hooks/IndexShowHook.php:18-34 | extension-examples/InvoiceOutPDF/Hooks/IndexShowHook.php:18-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/InvoiceInPDF/Hooks/IndexShowHook.php:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceInPDF/Hooks/IndexShowHook.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5cbdc6c7e9980509b951626987e96d0f9bbca3bdfb0984cf7b503fcc9477c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): extension-examples/InvoiceOutExtras/Hooks/ShowHook.php:18-32 | extension-examples/TrackingNumberOrderShipping/Hooks/ShowHook.php:17-31 | extension-examples/TrackingNumberOrderShipping/Hooks/StockOutShipping.php:17-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/InvoiceOutExtras/Hooks/ShowHook.php:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060ExampleModel\u0060 names \u0060Extensions\\InvoiceOutExtras\\Models\\ExampleModel\u0060 in one and \u0060Extensions\\TrackingNumberOrderShipping\\Models\\ExampleModel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceOutExtras/Hooks/ShowHook.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c7589262681a2be14a209a8644bc600f672d3455b0283d12be498c592ad4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): extension-examples/StockOutExtras/Hooks/CreateHook.php:16-31 | extension-examples/StockinExtras/Hooks/CreateHook.php:16-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/StockOutExtras/Hooks/CreateHook.php:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060StockinExtrasModel\u0060 names \u0060Extensions\\StockOutExtras\\Models\\StockinExtrasModel\u0060 in one and \u0060Extensions\\StockinExtras\\Models\\StockinExtrasModel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/StockOutExtras/Hooks/CreateHook.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2399d87fef2f0f80a86b3aa0876bee88c83aa1701cb96b0214c908b337fb63fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): extension-examples/StockOutExtras/Hooks/ShowHook.php:17-30 | extension-examples/StockinExtras/Hooks/ShowHook.php:17-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/StockOutExtras/Hooks/ShowHook.php:17\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060StockinExtrasModel\u0060 names \u0060Extensions\\StockOutExtras\\Models\\StockinExtrasModel\u0060 in one and \u0060Extensions\\StockinExtras\\Models\\StockinExtrasModel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/StockOutExtras/Hooks/ShowHook.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"76be4fc0cdfb016687458cab2f5c4b09f15043592eb5714c5b0f3415522da17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): extension-examples/StockOutExtras/Hooks/UpdateHook.php:17-37 | extension-examples/StockinExtras/Hooks/UpdateHook.php:17-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extension-examples/StockOutExtras/Hooks/UpdateHook.php:17\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060StockinExtrasModel\u0060 names \u0060Extensions\\StockOutExtras\\Models\\StockinExtrasModel\u0060 in one and \u0060Extensions\\StockinExtras\\Models\\StockinExtrasModel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/StockOutExtras/Hooks/UpdateHook.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"454266e023fb84e194d24686ab3bf9118849f42369655b94cd5c67895e0c0603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): extension-examples/Debt/Resources/views/index.blade.php:7-11 | extension-examples/InvoiceInPDF/Views/index.blade.php:6-10 | extension-examples/InvoiceOutPDF/Views/index.blade.php:6-11 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Debt/Resources/views/index.blade.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee534c48b61aee2be90dda5aa5d14cba5ff6654eb13f75816bdd8a5b2c5aa8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): extension-examples/FastMode/ExtensionServiceProvider.php:25-31 | extension-examples/InventoryTracking/ExtensionServiceProvider.php:24-30 \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":"extension-examples/FastMode/ExtensionServiceProvider.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a633fe82b5360d787bb74d49b7ac62b1bb67300e828e5b2cb738612094f4b38d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): extension-examples/InvoiceInPDF/ExtensionServiceProvider.php:25-33 | extension-examples/InvoiceOutPDF/ExtensionServiceProvider.php:23-29 \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":"extension-examples/InvoiceInPDF/ExtensionServiceProvider.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"20437883654d48dbe0a211764901089ca49318f845e515a9833da0d03df18277"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EloquentExtensionRepository (LCOM4 5): EloquentExtensionRepository\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Extension/Infrastructure/Repositories/EloquentExtensionRepository.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"814ae8e7c7e8d400383fc3eeaccdf8036a6ba67867abea8a150a1c6f478cd256"}},{"ruleId":"D13","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":"58ba537c9f97df81193357000498528c5a7855ff1c3aad9d71bba50c44c911f9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"7729d83a42de825e406227704be5ce1073b3abc6dc44f5752a30317e4de44db6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"52987f89e56e29e90bc8f45b71bfac894e829ec0b556f9df622415d6321a013b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"b258fd2145e98cb5e5aeeeffacf8f47eddc3116b21e9f0cf81fe689fa5313a24"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/CommonDataTableV2.jsx: app/resources/js/react/components/CommonDataTableV2.jsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in CommonDataTableV2.CommonDataTableV2 at line 11. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/CommonDataTableV2.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dceca57cbf4a7c12377730400aa01fa7056cc10ab3c7371642e3ba83b800f38"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/Order/EditOrder.jsx: app/resources/js/react/components/Order/EditOrder.jsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in EditOrder.EditOrder at line 27. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Order/EditOrder.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b19adf2944d4a9787a6616deccc41a6a31b725188fb4ace42c88bd26ca8d6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/Purchases/EditPurchase.jsx: app/resources/js/react/components/Purchases/EditPurchase.jsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in EditPurchase.EditPurchase at line 27. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Purchases/EditPurchase.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9c0f99cea5d0e65d75f764cd9127c3851c6ba297532a4602f6ba55723d486d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/Stock/StockInDetail.jsx: app/resources/js/react/components/Stock/StockInDetail.jsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in StockInDetail.StockInDetail at line 26. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Stock/StockInDetail.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d32533ddb0787564072b9cc9f58f501ca69ce2176966314af63ba6a39093c67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx: app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in IndexCustomInvoiceOuts.IndexCustomInvoiceOuts at line 21. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3172ebcc3c708089e600a63ba4035dc5c26e03f77f36416419fa1b1d400165e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/UI/Input/SearchSelect.jsx: app/resources/js/react/components/UI/Input/SearchSelect.jsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SearchSelect.SearchSelect at line 5. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/UI/Input/SearchSelect.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/SearchSelect.jsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ce160891645542a8857819a0bc845d9ed31d4867a93b7809c61a79fa551839"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx: app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ListProduct.ListProducts at line 20. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4f581245442949162d937c3fc96fa2241b16ab2e838e01e9aeff72767fe7cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/Order/EditOrder/Products.jsx: app/resources/js/react/components/Order/EditOrder/Products.jsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Products.Products at line 14. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Order/EditOrder/Products.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ca6fa87d62a76b999a98240e5a4f485f9d105b1b41e0ff999cf9a6c600d7f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/Stock/StockOutDetail.jsx: app/resources/js/react/components/Stock/StockOutDetail.jsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in StockOutDetail.StockOutDetail at line 29. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Stock/StockOutDetail.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail.jsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea296743c67d59bc87acbff7a4ee0a8cfea0f2fdc97a842ce857674f94299578"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/popups/PopupContext.jsx: app/resources/js/react/components/popups/PopupContext.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PopupContext.PopupProvider at line 12. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/popups/PopupContext.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/popups/PopupContext.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5869347d3884019e3a83868e70c247dcec60d6c3cc5dc4073519442c9ce4bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/components/Product/Category.jsx: app/resources/js/react/components/Product/Category.jsx changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is Category.Category at line 16), 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: \u201Crefactor: fix UI, optimizer load\u201D; \u201Crefactor: add translate, fix SearchSelect component error can not change keyword search\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: add translate. refactor: implement label into common component input form\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Product/Category.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/Category.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b2c38d6a9eb189b4e36703f9075df8b416d70efa579633460275b2a561e980"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/components/Customer/ListGroup.jsx: app/resources/js/react/components/Customer/ListGroup.jsx changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ListGroup.ListGroup at line 11), 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: \u201Crefactor: fix UI, optimizer load\u201D; \u201Cfix: fix bug, refactor code. implement new rule for api index, clean code\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: add translate. refactor: implement label input input form\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Customer/ListGroup.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListGroup.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"28437e3aab564fe8b2db8d08d0ec51c6c83f2519f719bd6765c9bf3087c99075"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/pages/warehouse.jsx: app/resources/js/react/pages/warehouse.jsx changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is warehouse.Warehouse at line 15), 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: \u201Crefactor: fix UI, optimizer load\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: add translate. refactor: implement label input input form\u201D; \u201Cfix: update UI CommonDataTable to CommonDataTableV2\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/pages/warehouse.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/warehouse.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f605c03d80172fe269995a66213ab03e6b72de99836065a0df236e950886741"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/components/Product/ListProducts.jsx: app/resources/js/react/components/Product/ListProducts.jsx changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is ListProducts.ListProducts at line 11), 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: \u201Crefactor: add translate, fix SearchSelect component error can not change keyword search\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: add translate. refactor: implement label into common component input form\u201D; \u201Cfix: update UI CommonDataTable to CommonDataTableV2\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Product/ListProducts.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/ListProducts.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"168fc534a3e334635a89e4c9b8793f406876e048ea8c3b87fb0ae38199ea4c8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/components/Customer/ListCustomer.jsx: app/resources/js/react/components/Customer/ListCustomer.jsx changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ListCustomer.ListCustomer at line 13), 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: fix bug, refactor code. implement new rule for api index, clean code\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: add translate. refactor: implement label input input form\u201D; \u201Cfix: update UI CommonDataTable to CommonDataTableV2\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Customer/ListCustomer.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListCustomer.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91bee063a59cce83a4ce63605f9da9753e263c216753047599227e2e3bfffb5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx: app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is InvoiceOutsDetail.InvoiceOutDetail at line 24), 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: Fix UI\u201D; \u201Cfix: fix router display for invoices detail. change key display total price of invoice out\u201D; \u201Cfix: fix bug, refactor code. implement new rule for api index, clean code\u201D; \u201Cfix: add translate. refactor: implement label into input form\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d05fd391439b19525e81ffb4d1ca20c3805648d54b5fb56c7fdb7bf92a2035"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/components/Purchases/ListPurchases.jsx: app/resources/js/react/components/Purchases/ListPurchases.jsx changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is ListPurchases.ListPurchases at line 17), 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: change logic display index table of Purchase\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: display data on table for purchase\u201D; \u201Cfix: update UI CommonDataTable to CommonDataTableV2\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Purchases/ListPurchases.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/ListPurchases.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac2f583c088d0959517d3be369902d66bdae4ce07a48ed291eb3fddf1f7bb5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/pages/user.jsx: app/resources/js/react/pages/user.jsx changed 5 times in last 90 days and 4 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 user.User at line 17), 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: fix bug, refactor code. implement new rule for api index, clean code\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: add translate. refactor: implement label into input form\u201D; \u201Cfix: update UI CommonDataTable to CommonDataTableV2\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/pages/user.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/user.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca093504f485c64cdd465353da25aac06ac6fd7c579c2b25a18c1107c9f3a1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx: app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is InvoiceInDetail.InvoiceInDetail at line 22), 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: \u201Crefactor: fix UI, optimizer load\u201D; \u201Cfix: fix bug, refactor code. implement new rule for api index, clean code\u201D; \u201Cfix: add translate. refactor: implement label into input form\u201D; \u201Cfix: UI button common\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7329332e731338e1c597422f42bab1717109e2ca92a84ab825cec2d474aec8ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/pages/suppliers.jsx: app/resources/js/react/pages/suppliers.jsx changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is suppliers.Suppliers at line 20), 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: \u201Crefactor: fix UI, optimizer load\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: add translate. refactor: implement label into common component input form\u201D; \u201Cfix: update UI CommonDataTable to CommonDataTableV2\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/pages/suppliers.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/suppliers.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2f0649df64399af287abcd9b13f2b8cff58a3ecb96a297ab0a352f5e388bde"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/pages/setting.jsx: app/resources/js/react/pages/setting.jsx changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is setting.Setting at line 14), 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: \u201Crefactor: clean code, fix ui\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: add translate. refactor: implement label into input form\u201D; \u201Cfix: UI button common\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/pages/setting.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/setting.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc77bbddbb7e67bc22caea2a0fb9e8c227dbfc892db608d78e0292f642c1c8e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/core/Purchase/Application/Queries/IndexQuery.php: app/core/Purchase/Application/Queries/IndexQuery.php 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 3 (its worst body is IndexQuery.handle at line 21), 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: change logic display index table of Purchase\u201D; \u201Crefactor: change hardcode event name to Permission enum class, clean code. Fix: update namespace module for define path at provider module\u201D; \u201Cfix: add hook, fix bug, clean code. refactor: index query, adapter, optimizer query db\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/core/Purchase/Application/Queries/IndexQuery.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Purchase/Application/Queries/IndexQuery.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e55a4495ab1b0fe510ac675f42e75a4efe0e379c8e43b8fca3b4a0506c831ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/core/OrderItem/Infrastructure/Listeners/OrderItemListener.php: app/core/OrderItem/Infrastructure/Listeners/OrderItemListener.php 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 4 (its worst body is OrderItemListener.handle at line 21), 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: \u201Crefactor: refactor structure. fix: fix bug update resever qty of inventory\u201D; \u201Cfix: update logic for Summary Order Item\u201D; \u201Cfix: add hook, fix bug, clean code. refactor: index query, adapter, optimizer query db\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/core/OrderItem/Infrastructure/Listeners/OrderItemListener.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderItem/Infrastructure/Listeners/OrderItemListener.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b46213656cd2aff9a9e1abb0f530846340af7b2f545739286624e0965684eee"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/core/OrderShipping/Application/UseCases/CreateOrderShipping.php: app/core/OrderShipping/Application/UseCases/CreateOrderShipping.php 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 1 (its worst body is CreateOrderShipping.__construct at line 18), 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: \u201Crefactor: change hardcode event name to Permission enum class, clean code. Fix: update namespace module for define path at provider module\u201D; \u201Cfix: add hook, fix bug, clean code. refactor: index query, adapter, optimizer query db\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/core/OrderShipping/Application/UseCases/CreateOrderShipping.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderShipping/Application/UseCases/CreateOrderShipping.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"028a8aed4f418542ef6c5f04f5fa66b4579e33636fd3f0a72c7c2bc4b7fdaf4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/components/Order/EditOrder/Products/ProductAdded.jsx: app/resources/js/react/components/Order/EditOrder/Products/ProductAdded.jsx 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 3 (its worst body is ProductAdded.ProductAdded at line 7), 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: fix bug, refactor code. implement new rule for api index, clean code\u201D; \u201Cfix: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: add translate. refactor input label for order\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Order/EditOrder/Products/ProductAdded.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products/ProductAdded.jsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a2cf715b02c096654ee09f7b166b77c23686737ae88eb98e35021708629c8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/core/OrderItem/Application/UseCases/UpdateOrderItem.php: app/core/OrderItem/Application/UseCases/UpdateOrderItem.php 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 1 (its worst body is UpdateOrderItem.__construct at line 19), 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: \u201Crefactor: change hardcode event name to Permission enum class, clean code. Fix: update namespace module for define path at provider module\u201D; \u201Crefactor: refactor structure. fix: fix bug update resever qty of inventory\u201D; \u201Cfix: add hook, fix bug, clean code. refactor: index query, adapter, optimizer query db\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/core/OrderItem/Application/UseCases/UpdateOrderItem.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderItem/Application/UseCases/UpdateOrderItem.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4092125da325dac89edd442900273ddecc2b2c179f9b293252cda0175c667bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/core/User/Application/UseCases/DeleteUser.php: app/core/User/Application/UseCases/DeleteUser.php 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 2 (its worst body is DeleteUser.handle at line 22), 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: \u201Crefactor: change hardcode event name to Permission enum class, clean code. Fix: update namespace module for define path at provider module\u201D; \u201Cfix: add hook, fix bug, clean code. refactor: index query, adapter, optimizer query db\u201D; \u201Cfix: update translate for user\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/core/User/Application/UseCases/DeleteUser.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/User/Application/UseCases/DeleteUser.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45557638cf18259705cd61316cd5d29bb7cff0f7abd2b3d7d21c245e582a956"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/core/User/Application/UseCases/UpdateUser.php: app/core/User/Application/UseCases/UpdateUser.php 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 3 (its worst body is UpdateUser.handle at line 26), 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: \u201Crefactor: change hardcode event name to Permission enum class, clean code. Fix: update namespace module for define path at provider module\u201D; \u201Cfix: add hook, fix bug, clean code. refactor: index query, adapter, optimizer query db\u201D; \u201Cfix: update translate for user\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/core/User/Application/UseCases/UpdateUser.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/User/Application/UseCases/UpdateUser.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7db2e5dde1e7e1326a5ff711b6640226f91606e941dc79caab73ac516792b55"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/components/Purchases/AddPurchase.jsx: app/resources/js/react/components/Purchases/AddPurchase.jsx 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 AddPurchase.AddPurchase at line 14), 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(purchase): fix default date error when creating new purchase\u201D; \u201Crefactor: fix UI, optimizer load\u201D; \u201Cfix: update validate, update input form UI, fix bug select all for change tax, implement translate\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/components/Purchases/AddPurchase.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddPurchase.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b59b2ab9f8e17d7b7832fef642cf94d81ae2799b8b66d1045dc0a931b9aef6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/core/Order/Http/Requests/IndexOrderRequest.php: app/core/Order/Http/Requests/IndexOrderRequest.php 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 1 (its worst body is IndexOrderRequest.rules at line 14), 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: fix notification title, message\u201D; \u201Cfix: update module name for hook\u201D; \u201Cfix: add hook, fix bug, clean code. refactor: index query, adapter, optimizer query db\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/core/Order/Http/Requests/IndexOrderRequest.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Order/Http/Requests/IndexOrderRequest.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c1a1c0177be3ff98cef19f4ccc9e56b2a15b508f474f8589387cca9c1c4f68"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/pages/shipping.jsx: app/resources/js/react/pages/shipping.jsx 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 13 (its worst body is shipping.Shipping at line 17), 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: Add permission for extension. refactor: change solution check permission for Frontend\u201D; \u201Cfix: add translate. refactor: implement label into input form\u201D; \u201Cfix: update UI CommonDataTable to CommonDataTableV2\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-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 20:25:02 \u002B07:00\u0027 --until=\u00272026-05-12 20:25:02 \u002B07:00\u0027 --full-history --no-merges -- app/resources/js/react/pages/shipping.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/shipping.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e588c5ca9547eab389a7f0f0aa8ef801f68991b30068aa53c798357d39283ba9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add actual database logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7acc455f13b6158945713a21ef9d44c7b9ed180fe23839feda4e0c5cd09c69"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add actual database logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Shipping/Infrastructure/Repositories/EloquentShippingRepository.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a6e39d6b8a9245ac19c7a64a405181be7fba0022dc544a5f3345278c2f5044"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add actual database logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Purchase/Infrastructure/Repositories/EloquentPurchaseRepository.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"442bb24595bb4730a79cbc21ae629619b3be85429b6d029cea5782ad9b4085c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add actual database logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InvoiceOut/Infrastructure/Repositories/EloquentInvoiceOutRepository.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"88770786fd5553cb9d10aec2886aa75b109f298796dca2132f0a6e95e242e05a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add actual database logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/InvoiceIn/Infrastructure/Repositories/EloquentInvoiceInRepository.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d90b3441b466b4e2b831684e8ba9dd9ae3d1cadaea2c98f1de99b93d6a4ab5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add actual database logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Customer/Infrastructure/Repositories/EloquentCustomerRepository.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"27feec71bb8fe67fe807efe80397983574d72040398a0df2b760b250ee084c1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add actual database logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Console/Commands/MakeModule.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b65b3701424ade9b4c4e389684545315a6db17c8c512a5f3e7d6330f8626526"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060app\u0060 (53353 LoC, 1072 module-visible types across 497 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","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":"b854f1d357377cc1111101f23ae7143595aa248db48c56611bda938c836a5a20"},"properties":{"commitSha":"3d51a6f2d0de1832a8c09ba6cf8afb71cf3a2c6a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"887b0cafcb85e11c3f2611cb5f8cd98217d5064cedf88ab5c41ab14c5decba5c"},"properties":{"commitSha":"3d51a6f2d0de1832a8c09ba6cf8afb71cf3a2c6a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"be2875776f38ee50af5a4729e537300614ff9560d2aa48e19f20762c45dba16a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70a50af93280b678fded5a732ec81d4719d7cdfd44c7f4e56d310833ba8f3baa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fdeb2616083437e37a1dd4f259def33d39839f7701aae2517ca9dd4bf2eb1a3"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38847031008c67a8e213300c27dd8a173b12c84d4bc066d87cf356642da80e6f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"920d51040ed396f1dff61fa7b91adca53f748890716fbced2caea144982ce736"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5504e157fb7bb295b6525d18bee78dd9b1f9dde3bd305a43638d4a1e2e4f8fbf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbb8e9bad90a18a718f45cf38f8bda09523821ebe2db26f018fd31e984b64e84"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cea45a81b64c2b854090fed085fba76567244cad819ba844adc0f65d64b8f490"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2f474e9a32c8e4b72a1bda1e82c93e93fe496376482cb17fd2cbbe29eaee69c"},"properties":{"dependency":{"package":"laravel/framework","version":"v12.52.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cff58ea2d7c69e5acbbdd2b9c97b2f32d49a012b5d5f6dd2d691f57385ab5dcc"},"properties":{"dependency":{"package":"shell-quote","version":"1.8.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e7bef699b40621bdba724ebb3e7c29a666c1380c5bd6cd66eb37d7710ecf9e8"},"properties":{"dependency":{"package":"websocket-driver","version":"0.7.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aed85dd7d83251d7be483b16d11085ad8ebe5a0bdd9e56b0ab0e4033cdd4ccfb"},"properties":{"dependency":{"package":"league/commonmark","version":"2.7.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2145c9a104b8ba7862806cc3be913daf5e5e7534cc6b0aae7b9428e63eec04a"},"properties":{"dependency":{"package":"symfony/yaml","version":"v7.3.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ef20eb98ccbb34185ebb0c02ce9c8e06d5bd7df8cc54358017c3abea3688f80"},"properties":{"dependency":{"package":"phpseclib/phpseclib","version":"3.0.50","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7dc00419e039cb801644450fb3381751bb25ed465d0c0e5fecf22ffe49ee7db"},"properties":{"dependency":{"package":"symfony/http-foundation","version":"v7.3.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d522612615a81d8b5938b704db06aa61f44021066aedf49211145c0af52e840"},"properties":{"dependency":{"package":"symfony/mime","version":"v7.3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8338f41a6dc8643b961f0176de51b47d7e6cb1c34060578f06f6e58728b3761"},"properties":{"dependency":{"package":"guzzlehttp/guzzle","version":"7.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46b0fbdec637eca2a3aa12207864cf916de760e7e4becc94a13adff89dd4c075"},"properties":{"dependency":{"package":"phpunit/phpunit","version":"11.5.43","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6aee6bf9794e9d1f40848bb2165e7fbec7ce7d3f1424deced97935fc4c795d74"},"properties":{"dependency":{"package":"@grpc/grpc-js","version":"1.9.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"589c878dae87afdc33445eeee46a2be6603aba28b4ce194dcf9980bff27afec1"},"properties":{"dependency":{"package":"axios","version":"1.13.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"app/resources/js/react/common/api-upload.js","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c29ef169f648b404f240b70b0773185898a05ebc962b233ccf4205ad5fe90c2"},"properties":{"dependency":{"package":"browserslist","version":"4.27.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7406a2ce8d241b4fd560e75493cd9b6de6f4bd0e736d74ae7c5cf57520d83048"},"properties":{"dependency":{"package":"form-data","version":"4.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9351cde718c62d9bc29953d67ac01e5a0c23848f7bbaa80061c5631233e5bee"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ca1436bdc745e80a7a2035c94504608fcc74dcc9e93e39a024bfa88b1f0d99d"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf9c7c8463bea90f0fd3e4c03b71b2d9a06de4894f25d1c4dae191cf1f1ca1c6"},"properties":{"dependency":{"package":"postcss","version":"8.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f69a98b30139d6851c675f991dc5acfb7df0edba2a16bec690da1c39a2fcb57"},"properties":{"dependency":{"package":"protobufjs","version":"7.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4a06aa2ff932bd83afb5824da0c676be61bd699a1ca9a90c601f473128e499b"},"properties":{"dependency":{"package":"react-router","version":"7.9.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4a6173abbf5f6dd7c296367d09e620cdba1d1c2f9f1fd4a1e5bf7bd42f4d5a7"},"properties":{"dependency":{"package":"rollup","version":"4.52.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5832555f9afca07f5192bc1587f9128cd689f9233585b94ddea17ca7171fa514"},"properties":{"dependency":{"package":"socket.io-parser","version":"4.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6364815912ca29a8a070fe1ff6bfd4b73d854be46420a173fcda24968ea594f3"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0db9700515ec857a1c7e0d44766e9e46a5b36be476cf836419a50119ace784e8"},"properties":{"dependency":{"package":"vite","version":"7.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"app/vite.config.js","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"022a8f2869a1b4fdc7a135dff3a7d2cb42c4ae72d9dc5a7a505d00aba12aa02b"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"113ecf0c77dad42bf2cfb37a58e62a1395e82736a578de23e6dd9fcf6780afd3"},"properties":{"dependency":{"package":"ws","version":"8.17.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed1af59d5ba538a88ca68028ed07bbe6e90a0440ee3d8b745c9e529a299ef65d"},"properties":{"dependency":{"package":"guzzlehttp/psr7","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33fbe53292cbb77b8def064f9564d67a20c6619db33f6794cb151391301a5aa4"},"properties":{"dependency":{"package":"psy/psysh","version":"v0.12.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9a17e4bec2d5902c0f144bc5635a1a88d26bb2e4eade657c5f8bda1a17e370e"},"properties":{"dependency":{"package":"symfony/routing","version":"v7.3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ddaf6fbdb33ed5bbcde01aba2cab0cd8c7114232bbc10bc4e1cb89f238701260"},"properties":{"dependency":{"package":"paragonie/sodium_compat","version":"v2.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1448","PYSEC-2026-3002"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f0b95324535745204988a180ba814336960e67213db99acbac941cc092b4771"},"properties":{"dependency":{"package":"symfony/process","version":"v7.3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8848a08035e4bbf6a75ca8e1643ea8cac5177e03da1856103f005e03df856502"},"properties":{"dependency":{"package":"symfony/mailer","version":"v7.3.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4f5abd7db952c57d2812714bf30c5f5f7da0c8a2b4d0c5adba700ab015645cb"},"properties":{"dependency":{"package":"@protobufjs/utf8","version":"1.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a080945493219ac16da6915db4509a60603b9136eb10ff30f3ac132f146b711"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.8.25","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7446a8378fcd27eabdc3eb60ed88e6d3b1e8107ad9ce3eff529d24a97f51f100"},"properties":{"dependency":{"package":"yaml","version":"1.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5109ce401ff2c905fcd9aa60a277979246379387245a33f10a9fa205ee6012c2"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b036dd8f6f522e10beb9926ee07ab89a0e0a42fac257689e58bb03879b76f9f1"},"properties":{"dependency":{"package":"firebase/php-jwt","version":"v6.11.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8a858a4c65f9a9d24a4796ffa65d1421c11e67685f55cfd4db7cc65db5d4e8f"},"properties":{"dependency":{"package":"symfony/polyfill-intl-idn","version":"v1.33.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"217369adb650a2374ed41b1885c0f2414217156e56c15e4969b7b1b893b4ec48"},"properties":{"dependency":{"package":"league/flysystem","version":"3.30.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96401e695203b569bc6cb67d80ee6e3b88e465061470ab56cbacf0e464690adc"},"properties":{"dependency":{"package":"@babel/core","version":"7.28.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfe410bbfac45113bdafcd5e163aaebffc57e1110f02aa0c207655b6357d55b4"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d2898bbace5d81cf0428e29c7587c8dee1fe52ac0ee28f2daa23e49f9c3149e"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96ad6aa2f14228a2f29d0fcdce711d808408116000e9cd3f238b9165510ead18"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c20b382fa8788799245fb0646538c2a0bcd32b3aee62d586a0f8d5cec9e57c20"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc4610a3c292bed162333abde0e4939d908bdb01a49918b5742d0db4cebe58aa"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1312b90e37b55d789f7758359440c54e1a36325997ef3a54696ed41a947644e3"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e83b518b7f52f2dcaa5ae6040062bb11c1eb9b8af4b47d50866778e1f843e3bd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de3e97a911842dba63d6f0f9e5d8ef061930e425e9c25f09965a9ad020854b7d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4061f3855eaf6f89ac758f71189e11effc0dc80515a362959367e441dda3b03"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"476176a40f7dde5968156df41a3ad51fabec36db7b9ad2c78af7fdee298fccfb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"1c812fa72b1b5a04e1225b19060b1006b3f86980c43a8dc3886736fd390b99c4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: IndexInvoiceOuts.jsx \u2194 InvoiceOutsDetail.jsx: \u0060app/resources/js/react/components/Invoice/IndexInvoiceOuts.jsx\u0060 and \u0060app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060bea18e7b\u0060 fix: fix router display for invoices detail. change key display total\u2026; \u0060fb327ccd\u0060 fix: add translate. refactor: implement label into input form (at that commit the file was still \u0060app/resources/js/react/components/Invoice/InvoiceOuts.jsx\u0060); \u0060b6784414\u0060 Add amount paid, fix bug logic (at that commit the file was still \u0060app/resources/js/react/components/Invoice/InvoiceOuts.jsx\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexInvoiceOuts.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c39af303a704eb18e6283db8f30dfb0c4cae7ea4e3c244a195b7b89d93c9346"}},{"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":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad47bfa06a7efba7455fbf9d37d9b5acff691203b0d5cdc3497f22faad524687"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34f18c7daf7bb6b11c7c2db064192efe98b5975d9bd54efa6a97522a6be56295"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Footer.jsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bee9815968aa9d48efbce7880a60f01b1be33176ee3967bc9ac6a4b95577ae"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/AutoDataTable.jsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3918015f33fe05d1fc0957d1f971b7f931e18d7cfdcb0085df796322515d04"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTable.jsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad121dfb8ce67153a7e54eb4cf8085a9bc0525dcbb39e843686c8f621194023"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cli\u003E: This \u003Cli\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTable.jsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4206b699bedd9518e0c3aace07e127f6901ab2e21ced78da35ac8b46bc3723b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fe36a4d6b84c746da2772c19575f25de9790630737724df832d366f1a69e1f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"555c99b6410bbc5285c28f57d79d937cb3c74158448d3affa37eb1cd14568285"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cli\u003E: This \u003Cli\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73dc91bda3c5a4c3d29c0c43d851031911e7ff41d715ecb8e81f232c59cb59e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8c6484eb128c89e592ce6d77ee1db2f70c969b8d0ea58e5ce1263744fd97cd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd694ac4a904addef724ad8578722506fa69fc86ea79ca655ecb36716288c81"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"23aa26c5859399cec6b5a076d268cb29eba3fbb0bbedde971055ce40f2b788f1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5481bd90d102b0eceb67a1d2504600bebda18ad5040c0c6e03a858332be2ac08"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c31f21ef9981ef070af5bcdf03ab65d0150ba1fd70fd6b9681abb930f50d45d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa9d694ce9438565e6cfe49029988184ec6cd37406e611a7e26de4115d3075a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69f98602f1c63ac05b52554d2cd174d04c566e7625c97a55fc3872d3d2996a1"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c145d9cf60ab73eab15625a63d37e7112c5bda5228cdfac6b50b2dd3ec46cd7b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa36d3a709c716a9e65b10e2d5d8eba2e5223c23f83ae50f2626a1a907c2129"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c73bc07f1a3e4d582b7527e19d354743814ce504afc005bcece285411a6955"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"10864d6ced008293f68c25b648f5a87fc5ce7a482703e954f04404cda27a0fd7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"00131d4c63bd58e3b3585ad5114a5fa8e43a70afa86af2363717a888f6324ab1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"7447b36a91958e1b7860adb30a779d2752ae17b65f7cad7a7cec935e6be324be"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355cc473e84cddf3a4a31119d06cc4ba14ea2ada0a9ab824446fb9e6fc1ed2c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8df9aeb204ed695688f77d4224d89a2d7c4991a38f27c5bcc68cdca7f1e1273"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dc981001e1947b96ec85cda08403cf557f5f945fafb8725f02cfeb2103083a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3ee31e7bb99537ab49d09011acc780fc1cbed730ca896a72cac57ada6fd12c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca2a9b41f4b58e9e41f48bb59585cedc24562e386124629967b9dbfc9bed68a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7c99c1c8613e600f6795c2c45395b5dc17eaeb8083896d1bd45c1dbe64d1e7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/LanguageSwitcher.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691f1ba39928258ed3800d1237e467a246c4fb266477a934847a3dabc10efe0"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cimg\u003E: This \u003Cimg\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/LoadImage.jsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e075bde83fa3e7c07c8eb963bb71815cf170e104f17dcdfb8424d6ac20b7a6"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/NotificationList.jsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f30e67a3491a5f3ee57433b299672559cba06df462599880937e1294604265"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ShippingForm.jsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"08898dc80d3c0d4c5837c3e9573418fd230a72e8cf2d108897539ab1549bb521"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ShippingForm.jsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f687aaebe10dfa8071699e1e6e25836dac22ab4b9ef93e22fef633446a63ee26"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ShippingForm.jsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e57300cd9aa1b96fc6e8d841f856d549ce201e25fa1ff1cb8fe72e31ed76ee"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ShippingForm.jsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baf194e2961ed593b676396800583408a82aa0b3daf26d6cecff3e37509b8e7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ShippingForm.jsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"713edc90ec5fe7398ad766d99cca14dedf3ef4a5eede61adb13a8e2351115f28"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e2d67e47ba543f1564c5e5329dbc33302628e4a212d93679ca2262131c20a0"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a4f4172e3699a37bb473ec5781821996ebcb0853e2b671971f2623a10d76a9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca98645e2d35d6ff63c105c2c6ca625c873177bd1d17354247a9b36176f9b7b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fade0d509f85b26d8164e5d3b2d9f7626cfa4de6b707353a1cd7df57bad601"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb25e747360b8307b554e648c19d58d4eb11a8a636c87c7f1928cdb1857a1df0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a205a69318829907f106494633fa3fd57052ce1eb59067174744bccfff112798"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9106501cf79684cbbb814b6456cbbf919c3e00a86a137909d9939a899d092b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9622b79ad28945f47466712f85314df7c065ae133670616ef593bd1af8b126db"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Permission/PermissionForm.jsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a1447ce675bee9e5663b887c3a32a9a866bfb42be7e2f003fffd65078a9545"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"668d809fd3f7faa8c9cef0601af831a101fde029d9f04af045e15d42ffe0028f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase.jsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"914580595a2465be56422b1b4ffa399b469d0271f24869d19825a7997ff2347f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase.jsx"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6149b4ce796391ff7aac9d4546218bd320c77be97fdf95be68669770f47db2"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase/PurchaseInformation.jsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0684b60559ea7709e4b110f70eef9ded8a544fe1decae3a6403d63c4178e4c61"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase/PurchaseInformation.jsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf0e20eadb22be3167118694d9e70801187b53fd6a2566eb54e1e3438db7610"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase/PurchaseInformation.jsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06d6e7db1614a19dc5b646b9105a8c5edb64f73306d39844572ccd9aff0f9f2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a781ed3ae8385449cb36655e4917a873545c8e260c88e87664e7f3a54e910bb7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail/InventoryForm.jsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dcfbc759d1b843a4aeecc206ca57d9e287b191acbf40da478fa21e1774957d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail/InventoryForm.jsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f02a0c81ba538505cf16d612ab6e4d9e280718fe1e57d90878df2efac23c8a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Topbar.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef4af698b4c8d90b2f0470212cb7666ebe86b411a81c32b4bac3acaba4ab7de"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Topbar/MenuMobile.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2442faccc90340c63429fd6dbf28e0984b8fd212d4a23481ff1680ec052abd35"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/IconButton/IconButton.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0a5bce5f948ef1bf58c022114b48ef52a160e74f4d71a23d042729e298f006"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/CustomEditor.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc812f276b8aebdd00a5b41c339b91dd481341c0c21f47842c7d162797a5947"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/GalleryImage.jsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fae29df27d926ff9219dbe7ed4edd62af1659ef7a7b042082b463cfb5029bc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Input.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7eacca57fbbab0d2ed42dfc38fb78ecd338b9e883e9be0d0440c457b7d798d2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Input.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae985e36312cfe6b58b7d12c8d8211365ea828eb5f4791be88557f6de5c9977"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/InputForm.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"727f8c792bf28c52f72341d4488fb134d4ad747216eda57f7228f82deb4e8fec"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/InputForm.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75e2e5228767c0cc7682be3fe439bf064080cd3cec6573b65cd3e641281fe40"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/InputForm.jsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eae25f27954678ce8b12ab63cc9b13ed86be1e214165a53c373032cfbb6baeb"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/SearchInput.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cc91762950766a109b24a60104e1aa29f84d4404b4d0385ec81debfea57058"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/SearchSelect.jsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c75a770a2ca690cdad022982f45517031161b32f01141804d60b196359aebf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/SearchSelect.jsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1ce04b84933745a9ae9ab024fff5a12a2457ce29afe71f26e49e508bda8a77"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/SearchSelect.jsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ac7af3c2e6d050645975af5d11722ea0a25088a5a7ae18673453fb4298c5f0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Select.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8120eb8d32bbb581195244497ad353b4ec9ef2c592ba99d2580ee46062ec312"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Select.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"85091f1b4c05ae53297564880791a1b9239ec24ff4c4efdfba58f223cb03844d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Select2.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"406f19b919036f9aa3fd8dbb939996426cec73342f14bf0dfd698a03428a71bf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Select2.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f519a9cb8dbbb85867588931a94447b2cbe0e749341b320048afb07b68f67a26"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Textarea.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e35ddcfebf36ef79543c6092f5be7a004f6455109a39b4570e45469bed7fef"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Textarea.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f1416e0a8c92c3b88aa0416637b5b9d9c9d9079d313f7d4ec66214df7ecabc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/UploadImage.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"401592771f38d315cb1a58990b181a9a53e82a88c6cbd79ba4eaf3a7e4e27458"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/popups/PopupContext.jsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e0b12c439ea55eb0a43f25ee502759e5ec8c00af45aea2d6ab870496e6a6c3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e98599e3a70a903591d0eb013121c4e7617b2ba14ac16ac7e2d6fbb4eada3d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6101dcc6621d5c819c64e0f01b5ab07d5588d268dac3b0a4fbac0e2b52c21277"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d786da7b50e024ad515fe59dbc4f675ca0073b8557b0527902a33de0a3f1e0e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4add6af99d4c0ad49218dc3b0031bbc09b671ffb54180d2e83a8b3fa8e3ac298"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c73c68c6a396807bc837cca2f37965db29576eb6525e1523fafc02c02057a6e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5775b2617b02cb92bf7da3487af881f30a19512b2b51d71f9f306b0c74ee0c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6ba99eba4726d31a8583b57e2bcbdbb2161aa331a88277681f4f7d7546745e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fbea50777daf983314b12336ec57c18a4618f6eaa3fdb3418d37a62ff40503"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1a9e8a893b5475890c276de25e27366f96c519314ab3061facc89c84cdefa7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbd7edf095f6b0f27a0ff6f37757e2c32519863ecb3a7ace8d6be4c46712381"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/shipping.jsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d1e608150b702c816cbf4aed2876ed24b072167cad4d1d4e15cd14b8fafa73"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d066ebc1d6bd81b67ce1f852da4f2fd84a59811b03394ca4c75006e12d864e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaed2c85c572b8c215668cba8dad50477036f80fc4fafe498277af78c991470"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1728eb2be6c58bd5ebcd6366f8f9ef78fa7e2541f35e856fc398f7abb7172846"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd71c01abaf27baa7fddc9ecd751d384b18a4f1bb884eb492133ca7cef5040b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ae9c91a24a27d851e439f9c3ea8db2fbf3b7c75e9d31eab34e27f5e2426458"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cece361d69d9d1e2394ef01b9e923b616d7f626b7a83f4a36d22f15979aeb6d5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b272afd75b36b059a8d9a59b61ead1200612ad4d9b67e4f52520e10ca4a237"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a325b5f45da869664be07e7024261c4c50101ee8317baa8c5ca5d420c5fea8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2671a277b04217e6d26d857890619a2274ba72a19e75c8fe3683ad34b4fb3aa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexLeave.jsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ffee9034273b5057a13089698fb3e63e572e42b6e28f6a91b3cdd81e04783d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexLeave.jsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"46428f919c9cce434444fff74f15530984056ae157c8afad1c610495d9fd2aa1"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexLeave.jsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fbc54df8bc11ed1b554793a669ecd63e3db7ba43e3d95f21df5cf3dabbd686"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexLeave.jsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69a994e3675013962d25587bde0b027f81b5b53348976ff948c544386336a7f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexLeave.jsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc271c7a8a6123afa1e475996eda6a0a182f65bf54f3d9e3ff3bfd883f4a20d9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexTimeAttendance.jsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5a55677ea72b796633592543a54aafa8868010f24ef9f4929171a6bfafbd87"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexTimeAttendance.jsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9b39ced9ca6eb66a5e5cc84dd585b72232b1445fb274588699e34056199f23"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexTimeAttendance.jsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f713959717b13eb053b2c92148df593fb14cb322e69c12c7ccd1c9ba2f0f4d4"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexTimeAttendance.jsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"100272c2b0e58858051036a7fc9f5762d6a2d6030817c66f17cac82c1486080b"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/LeaveApprovalList.jsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"108be9d28b1dbb37f7da3e62838957164a1d92cb38f690e0fbcf0a09ab2154d7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/LeaveApprovalList.jsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3b07acab613d84b6466663264d2ff134b2bff0677023d7688bf2a2c5fa4ff8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/LeaveApprovalList.jsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb4c0775ff5154facc4c7ca29d110a22e294ed65cb0a6719d71c445e1a1f082"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/LeaveApprovalList.jsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8bc74d66c5f4a336f1a1b829c9c560bd9db539b03e41f784165af31df95a87"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/LeaveApprovalList.jsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d099c98a393934378ba2569e785ae79b8b49c8bbc389fc0fce208d5622b9e64"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/LeaveApprovalList.jsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f93b5de37e9675f1098bf99f9a2bdd4142eeab8f8d19aa27f67efb7e6c6c9f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/TimeAttendance.jsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4028c6e98752b75d8f72fc9cf4b3413d60d924b6fae2db4cc0b38bc6dfd83c46"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/TimeAttendance.jsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20902ca321214657c1a3094b90bf90b3d3474407590d1175bb2737cb10de8ad"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextArea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/TimeAttendance.jsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"78589e1b87a88831e1d1dbaac86ef990d48599479f8d647b47b9d522a9341e72"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/TimeAttendance.jsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c7464d9f79c19bcef84e7635e9725849187b47abbb540223365a6963f9432e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InventoryTracking/Resources/js/app.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94856bc4012039b6cce584ffb20f2b261b435eed04d68ac9efec0d1bf3a2b76"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceInPDF/Views/index.blade.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd76459c0b96cdf02e7bd9a2db499363990fde9747575369058fed05c755f59"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceOutPDF/Views/index.blade.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e22e40e80f01cdd59bee66ab6cb2be0283c3d8986d8c22e22b67c0202948d2d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Business/BusinessListItem.jsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3f7d3c9f457b0076a9ce67e2f99feff8708a519fe5f37e3850ec0601238c55"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h4 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/report.jsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc8f89230637a37b63e4d80357cc9ecd75c22e55e16c50c888d55f5950300cf"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h4 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/report.jsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd260dc182399b06a3f44ede5974b7b5b4cde35d6e5213191d377748dbb9860"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h4 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/report.jsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc8057cde81728dd03934eb8cee4d5d3156288befb73dd61f64b55b1a957b75"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h4 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/report.jsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd34650311b88871e49c3c2089af5a3717bb997715f755c284c4b42941131873"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/views/admin/layouts/auth.blade.php"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8d27640a7c25edb305d1486d4205666f064a160e25bcc58c10e55dcbc68440"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/views/admin/layouts/dashboard.blade.php"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e776ec3bbf9d8aa15081fb02fff46be9a1cf1d94351edcda6ee663edf477cd1c"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/views/home/layout.blade.php"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"18537acea3a1c28f8e596520c0dc10cb5c8bab17bcc5bf82d978b18a615b2a11"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h5: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/views/welcome.blade.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89eb0a8b9fc8f5efa8840aeb0b3821c956db5352e125702ea42b73199877b98"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h5: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomHomePage/Resources/views/index.blade.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f96b37eb7151a82ba7fc969782b955285b4c8e8f1a451c9dd0650c777348ca"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h3 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Debt/Resources/views/index.blade.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b70e4680cb93c09c56f1136b5f39827cc06f823ee0450c7e78a0c790d381fe"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h4 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Debt/Resources/views/index.blade.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84b96668ba8b70582c17821fd04bc96a13e1b55597fbce8fb0d316e419372e3"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h4 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Debt/Resources/views/index.blade.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"283f844c5ad4b697d6757796b834287812a6feddd66af4f7e29e6ca51e244178"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h4 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Debt/Resources/views/index.blade.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d091cee8743cee4ab50ebeb78467efddc8e2f9573abe2776a11af47fd7883cd"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h3 to h5: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceInPDF/Views/index.blade.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc991fce0d912b2f23ec5a27020c324e3dec7a186b340e44cbeb33235292d6d9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceInPDF/Views/index.blade.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea24d0c618c0f5c88e5563221c11014cfc7082c728ade2996470ac0dc16773ac"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h3 to h5: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceOutPDF/Views/index.blade.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4a2c3ec11891ce9fb67a2cf445960729ded0500237bccda58611f7efdd729d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceOutPDF/Views/index.blade.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0c1ac2dab50077cc7b0d566793aeda4818396a90ee7d9e18d36ce226a64aa6"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTable.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6413b93fd416a4e923ecd72f3a0ed4079cfac63f03645be25f437f6ccd544a"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cli\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTable.jsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca7a3821ca4dbdb9168799369e850558ab2096cac488b89a0a7c2783fc28223"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTable.jsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0ee37466e791c9ca0d9244580e05266755facdb0fb6b2fffbfd45b532eacd4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e85df6ac35d46eae97b862d91b530dba8e7c4b5089826bae397353a9435194"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7aae46a33590f06c7b783e44c6c00721b176c9435e94cc253a539df81900e4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cli\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6c0078b819e25d72f1062d09f8cd08a30ba62f1fa973912137525597b615c6"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b0b9823d153fdd7f643b17519219396bfe55ece975336db2684f954e730fdf"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cimg\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/LoadImage.jsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc02f659bd2343627f7228edc54c2ced52bb9f0ed438fc08a7863ae3472b90b8"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/NotificationList.jsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad539db2032b146dcf7b860261526f51352385b9429caa8cdb1b9512a8211e4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/NotificationList/ListItem.jsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdd1b27374def76bf6a9efca596fd57a4f30347dc88084f4f9c1ad8ec966441"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase/PurchaseInformation.jsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65490556d202b8e157b4d19b075ecda501da1fd7f6919157bb76988be2142ba"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Topbar.jsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32ce4437fdf444010f5cc2c81261065529290cf23d55e4227aefe14dffa0f98"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Topbar/MenuMobile.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bdd9d98d1c6224f7dddfc4f5b36a3c4a47a3d18cbc1b794a9154a91567565e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Topbar/MenuMobile.jsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7798353d1186abb5540304ccee48c56f621255c913635dc8e613ceef722486a3"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/SearchInput.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2ced3808fc06473d6863ee3233f48c392bc0ac092158eb3b68acbbe383bfaf"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cli\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Select2.jsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"685d70c13070de5583c2416b37e8b565107537d97d552eaae85f7e5de8a07999"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/layouts/ExtensionLayout.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ceeb598fdd710a87d77ca6513ee9496cfb2ea2764892fae3899403e1786544"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/layouts/PopupLayout.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d4e5a591af8c8d7086a5f594da8c40dcb9f05aed0ecdabcb673adbe0c8bb80"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/business.jsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"96149b0d6241e0938450d9e55f8031816c88ddf06899220434045f78aaedf100"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/LeaveApprovalList.jsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc77640d9ec0468d753e539c0175b9744387f11350d375f80458aad7ddc19cc6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.erp-search-box input:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/css/topbar.css"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"818efe8be84bc2663db8b9820f73b7b684242854dfe8a22b21748d89703fc5a4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.menu-mobile-item\u0060 moves (\u0060transition: transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/css/app.css"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1324d6ee216d068fcd489c9cfa5c726515b8ae18159e9dd53667bce2dee58e59"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.popup-card\u0060 moves (\u0060animation: fadeIn 0.2s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/css/popup.css"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"136b09b1377f44d7a06c19139a76111298e603224f9ca8d5ee935ccb75094df3"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 197 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ActivityLogModel: \u0060ActivityLogModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/ActivityLogModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3667e4f87d4996254c9c3c2aa5a225feb2ca2dda0735cf9209824f3b327ed001"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BusinessMemberShipModel: \u0060BusinessMemberShipModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/BusinessMemberShipModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b263285831c8ef157b273aace5f2b9bdcf53b199c12795a7dab7e7afe6a9601a"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: BusinessModel: \u0060BusinessModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/BusinessModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed2c2c752391c54207cb589df541cbe6915a6d7ad866bc8f9e61ac0453c7a65"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CategoryProductModel: \u0060CategoryProductModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/CategoryProductModel.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"951f79699fe2d19cc4835a9a01aa2b4fd7e72b45aa85886e0911f869afd71813"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CustomInvoiceInModel: \u0060CustomInvoiceInModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/CustomInvoiceInModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c6a684b102ecab42f74fa022d9984ccc411f68ea012faa1c376b7b65c3d8b8"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CustomInvoiceOutModel: \u0060CustomInvoiceOutModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/CustomInvoiceOutModel.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"744c61ead56e11f68ed7958507854180523cd2a717a7931f6de331f1e872b734"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CustomerGroupModel: \u0060CustomerGroupModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/CustomerGroupModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3dac63bd916917fd29390820294179edf0f155628027bd484638c7c484bcbb"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CustomerModel: \u0060CustomerModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/CustomerModel.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad4d700b847e9642ee8a83721deb08ff82d336952bf0c6e1c1ffd8a7ace78dd"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ExtensionModel: \u0060ExtensionModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/ExtensionModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b4f8ae935196f96e6e9b66bf2e1b7ba04c307d4af14c5ed6a1627576341474"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ImageModel: \u0060ImageModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/ImageModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6405f5d5e3dbb73b593c1fa44bb3b5108482eb5197be492064d30af9503d42ef"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: InventoryAdjustmentModel: \u0060InventoryAdjustmentModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/InventoryAdjustmentModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bae57b2e8bebb55ba27c352458e15b11360ff5df172ad527c97ebf48506b599"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: InvoiceInModel: \u0060InvoiceInModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/InvoiceInModel.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2504673355e4b8a04e68806289f2481e13267ac8537524cd0f32509ee9946f7a"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: InvoiceOutModel: \u0060InvoiceOutModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/InvoiceOutModel.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d7552a3fa04b49321a291cce3fa467d603ede3f969413a83e3b5273e7d9425"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: NotificationModel: \u0060NotificationModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/NotificationModel.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde17d01a84c2d856a3220a8bb4191d725de5fc59e6f31ea8020fe4ebffe455f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: OrderCancelModel: \u0060OrderCancelModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/OrderCancelModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"77022453b4fb2450a91f6a5a2d4944ef203368832d8340a50d7ca85615fb8851"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: OrderItemModel: \u0060OrderItemModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/OrderItemModel.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"548df3f54336273be50ebd77f7150ff3bb7b297b008bd563139ccefa41b34e2b"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: OrderModel: \u0060OrderModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/OrderModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3663fd6beec93d2f479ec6d288d7696bae9149abd9f396bfcbff5900fd20608f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PermissionGroupModel: \u0060PermissionGroupModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/PermissionGroupModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"494c886bb527acd914b7fbe700bdb84c9e568a25fbe487c3da57a878d32bd37a"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PermissionGroupUserModel: \u0060PermissionGroupUserModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/PermissionGroupUserModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b30e2f3173243fa23dd2013e31eaba2f22e506cc87a8ae976bdcb2b3dbbd50"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PermissionModel: \u0060PermissionModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/PermissionModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"76135630f489610db0804e13d6c470668577313507d1a8ba248097e18154f261"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PriceListModel: \u0060PriceListModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/PriceListModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2d75d7db6b6b42c5fe9fdc3cc650fde64d2813de5a7d2f88e6d74a075038ec"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ProductModel: \u0060ProductModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/ProductModel.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b1895e915ffe2e6883f71bc3523d831d366855def471f9a2cf3c001767d7f5"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PurchaseCancelModel: \u0060PurchaseCancelModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/PurchaseCancelModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb93b41e5845468fea05036d2c753c32baaf2ff70b6d7b938c650880118b8586"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PurchaseItemModel: \u0060PurchaseItemModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/PurchaseItemModel.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa5ec6f89be52bc93f10ce1eb4aa8924beb605cfcdd3faa5267e88c4a99cddc"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PurchaseModel: \u0060PurchaseModel\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/PurchaseModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c435f1e01d4363be9b402d4ae741d5261ed8aeb063c5d21b4a578a5fdcf5438d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ShippingModel: \u0060ShippingModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/ShippingModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"035a01055e6ffe06a684fb2655757da35cffd18b1f23d85453c1b8c63d1a289f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ShippingProviderModel: \u0060ShippingProviderModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/ShippingProviderModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2255dc45b0c789060d5a8d7c6fa33fadb41723a7138f573fa7c04fd72a48531d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: StockInModel: \u0060StockInModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/StockInModel.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dace9339e6f3d6dcfa9dd9fabeab2bf480593698abd880e5f90866b07529dbd2"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: StockMovementInModel: \u0060StockMovementInModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/StockMovementInModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3986d2c976506f2ca1352266cd4130a378cee460fa8e9fd67faeed2aef73418d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: StockMovementOutModel: \u0060StockMovementOutModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/StockMovementOutModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd748e147d8388b9ba0d23cc6f39b21b1fa6da24c5d9e8ce04c83f5dd035b7f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: StockOutModel: \u0060StockOutModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/StockOutModel.php"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1e84e17a137b9020b998e2965113901f7ff66e023134e023d4087c120ee263"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: SupplierModel: \u0060SupplierModel\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/SupplierModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb569dbd522c549025f36c847eae9897a70618bb0d0ecda80244e194d5f775c5"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: WarehouseModel: \u0060WarehouseModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/WarehouseModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eda332e5a78e23ea215e0e8e0a0d82e78ab899e3286c44e424ece0688915d4"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: AppSSLModel: \u0060AppSSLModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/AppSSL/Models/AppSSLModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"05678772a1aa3b57fda36654da80e212b10b9781b89553e33bf3eb08e1fa92c3"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CategoryProductThumbnailModel: \u0060CategoryProductThumbnailModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CategoryProductThumbnail/Models/CategoryProductThumbnailModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0efa4c6a381e60d500eb2f3538bb53b17f5320554610f81c498730f1e285269"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CustomBusinessRoleModel: \u0060CustomBusinessRoleModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomBusinessRole/Models/CustomBusinessRoleModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaa6ae3180622927bf2cdd4e2573dfc14f4935decc9eb243be8f3ff59887657"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: CustomHomePageModel: \u0060CustomHomePageModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomHomePage/Models/CustomHomePageModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fe548c4ca566d6b828a30b44a1a3f9fe636f14c2647682702f8ec980643d7e"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ExampleModel: \u0060ExampleModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomInvoiceIn/Models/ExampleModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1e871259cdb465c09b532bfd7c4010b4fa1229116fe0e8ade841ee472b6e95"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ExampleModel: \u0060ExampleModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomInvoiceOut/Models/ExampleModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"85269d7e04de5b78923a86c157c8eaea0527d94454e2fc0f3c7cd19b2d94f368"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ExampleModel: \u0060ExampleModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomerFax/Models/ExampleModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c214455bec0f72bd2628f7d4322cbf0e602bddc30a2e3735df13c145cc335e"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: DebtModel: \u0060DebtModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Debt/Models/DebtModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"474e7327f4299e863e5c2e3f5355b8799e37e641e692c4078bf6dda0312df314"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: FastModeModel: \u0060FastModeModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/FastMode/Models/FastModeModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"62875b5413ba8a4561ffc80a062a65992deaf01a13ae93d18360b13758a396ec"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: LeaveRequest: \u0060LeaveRequest\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Models/LeaveRequest.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91e7b6c3ada7cbbc5aca488447881f91a425b4130f8b9495d2552287a051aad"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: MonthSummary: \u0060MonthSummary\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Models/MonthSummary.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9ce902b7994a62ed6ad9254efe99c234450d946a460098a02be6a0704ab128"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Report: \u0060Report\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Models/Report.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf7ba0179b217d1cadb390cb4f62245fd39638ab273abcc0ae3fa1ca23a3784"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: TimeAttendance: \u0060TimeAttendance\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Models/TimeAttendance.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc166f2177971c998ee3903245e219641ae1a58b056786ba6a14f93b0299ad7b"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: InventoryTrackingModel: \u0060InventoryTrackingModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InventoryTracking/Models/InventoryTrackingModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aada86df5cbb20eefb051362fd9c1f9a3f6c96e321a28088969ea8ca01487a6"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: InvoiceInExtrasModel: \u0060InvoiceInExtrasModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceInExtras/Models/InvoiceInExtrasModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c816a322c6b2957cdf3fb259275357a7f137d501dcffc5aa85febfeed6019d"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ExampleModel: \u0060ExampleModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceOutExtras/Models/ExampleModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb9d0f09ae06ef5f4a0e9b21b2d2ac418f244e24061a741a720d5d35d13b683"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: InvoiceOutPDFModel: \u0060InvoiceOutPDFModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/InvoiceOutPDF/Models/InvoiceOutPDFModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"718023596ab64734142be164bd0ab09bc25ee19754d6ba2b19bae15f1cb15aed"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: OrderInformationModel: \u0060OrderInformationModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/OrderInformation/Models/OrderInformationModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b51009d3944a0ddb7c9abd3f42a7cb6c00ee3f44ce7463bf3bf7b0734f6f1c5"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PriceListCountryModel: \u0060PriceListCountryModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/PriceListCountry/Models/PriceListCountryModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d26273fc2a4365ef13582349e1f368c863abfd114ccfaf744492773c923be43"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ExampleModel: \u0060ExampleModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/ProductRenew/Models/ExampleModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b349a62d1f8dfb8ae7aea4f197c11e4b989b5ef2eb1ed1cf735149beb4f4aba"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: PurchaseInformationModel: \u0060PurchaseInformationModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/PurchaseInformation/Models/PurchaseInformationModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b397a5c6200bea6dd3c5099bbdc73c7c1fda271efb1e4ebbbc2895de3fc21ddc"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ShippingProviderFaxModel: \u0060ShippingProviderFaxModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/ShippingProviderFax/Models/ShippingProviderFaxModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d6b412ffddc8d18c7c1d7e06d99e9aa9e6023333a02bcf819aaa6e1857593f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: SmtpModel: \u0060SmtpModel\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Smtp/Models/SmtpModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbc5a1f038b0d73d7e4ba433596f40fb7dccdcb86495f8cc99970b4e12fba45"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: StockinExtrasModel: \u0060StockinExtrasModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/StockOutExtras/Models/StockinExtrasModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7f8f37f0bd12db3d8cb0f4f4203d78a6fea86e05a13a70b4f3889fd3b495f1"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: StockinExtrasModel: \u0060StockinExtrasModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/StockinExtras/Models/StockinExtrasModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a476e8a48db5bb007b9ca898bca514f0bd7fc6a3f5ed762f0c1e8a53cf09bd"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: SupplierFaxModel: \u0060SupplierFaxModel\u0060 is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/SupplierFax/Models/SupplierFaxModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c991523e9f9319c45fcfcf5ea3b686d37888072b5578009b1c0a58df9328b21e"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: ExampleModel: \u0060ExampleModel\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/TrackingNumberOrderShipping/Models/ExampleModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2295e57c9864b8e084a995fa15569cbf350ae27ac981134277c3e55402cdb248"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: BusinessMemberShipModel: \u0060BusinessMemberShipModel\u0060 exposes publicly writable state (table)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/BusinessMemberShipModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"036db970635ea7db5b8e1f6a58f5aedc55215dfbb78d84acdc8bc7a7f025857b"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: BusinessModel: \u0060BusinessModel\u0060 exposes publicly writable state (table)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/BusinessModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec724ea6a0fa6ab9002618a08bfad191b9b28cf63cf051f722ad9f4c4b1ebc1"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: ExtensionModel: \u0060ExtensionModel\u0060 exposes publicly writable state (table)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/ExtensionModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5edf06d2a7cb21f9d1a40fecefb62265339d9a54c5656bdd77be512a6dd162"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: PermissionGroupModel: \u0060PermissionGroupModel\u0060 exposes publicly writable state (table)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/PermissionGroupModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d5c3fc207cf7e0d3a6493bc470675f4dd81d27d1dfb7667a9ffdebd7c4b9c0"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: PermissionGroupUserModel: \u0060PermissionGroupUserModel\u0060 exposes publicly writable state (table)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/PermissionGroupUserModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d90ab1b8202204f53353fcd375d5bb919991724a64f8450eb6f254cf991d5dc"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: PermissionModel: \u0060PermissionModel\u0060 exposes publicly writable state (table)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/PermissionModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53a107a655ad6b3cbc05401329f63b0b1e911200c3bbe3397e21c94eb600f19"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: WarehouseModel: \u0060WarehouseModel\u0060 exposes publicly writable state (table)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Models/WarehouseModel.php"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1a4fe327097696b3d5ef4bd423d82aee3b0acd406c95ca24a9a5e09ee43554"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: SupplierFaxModel: \u0060SupplierFaxModel\u0060 exposes publicly writable state (table)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/SupplierFax/Models/SupplierFaxModel.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6db5604ee476d2cc6ab06bac09272b36ba60d27f077dd0157c911e6bf17ba14"}},{"ruleId":"M1","level":"warning","message":{"text":"README may be stale: 36 code files changed in the last 6 months but the README was not touched \u2014 it may no longer reflect the system."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e973e7a8d5d866995cbf78b120250fe7f132bf928812d48ca62e69aba11b9910"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P12","level":"warning","message":{"text":"Test suite runs only after the merge: \u0060deploy-prod.yml\u0060, \u0060deploy-staging.yml\u0060 run(s) the test suite, but no workflow that runs tests is triggered by a pull request (or a merge queue) \u2014 so the suite reports on code that is already on the default branch. A red build there blocks nothing and the only remedy is a revert. Add the pull-request trigger to the workflow that runs your suite so the gate applies before the merge, not after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"731ad560de6aa35d3e92103d5ad0fbec4c54f771b709281e852941847e03ef03"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add phpstan or psalm (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 2348 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 269 plain JS \u2014 the untyped files are app/resources/js/admin.jsx, app/resources/js/app.js, app/resources/js/core/Extension.js, app/resources/js/core/PermissionNode.js, app/resources/js/core/RegisterRoute.js, app/resources/js/core/RouteRegistry.js (\u002B263 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (37 clone groups): 37 duplicated blocks under app/resources/js/react/components/ have copies in at least two of the sibling directories Customer, Inventory, Invoice, Order, Product, Purchases (\u002B1 more sibling(s) not listed) \u2014 27 of them are reported below, and 10 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 37 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 37 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 37 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/ListOrder.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5c393fbbdb778e4eb7c3c310eff36e204ed7e4d9827d6813a9bd1776c55b4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (27 clone groups): 27 duplicated blocks under app/resources/js/react/ have copies in at least two of the sibling directories components, layouts, pages \u2014 20 of them are reported below, and 7 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 27 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 27 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 27 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Inventory/IndexInventoryAdjustment.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c5d330a40fa21361cd1149e6a26f8db4580ced14ddec400e37ea4d34335d56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (9 clone groups): 9 of the duplicated blocks reported below have copies in at least two of the sibling directories InvoiceIns, InvoiceOuts under app/resources/js/react/components/Invoice/. That concentration is one structural fact, not 9 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 9 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"361dd6e40968bdc08065a9178c043642b8a0ff850b6078cc382a43ceeb15cd44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (5 clone groups): 5 duplicated blocks under app/resources/js/react/components/Stock/ have copies in at least two of the sibling directories StockInDetail, StockOutDetail \u2014 4 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail/ProductTable.jsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cbcfe29101447ea6f75303c929d0e28ebffdb378b03a619d2b7e5b6f20cce7"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (228 identical lines \u00D7 2 files): app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx:1 \u00B7 app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 228 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6908d114fac24756e945077e4b64a5e444d69db98b102d3eea15fa6463eefa3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (185 identical lines \u00D7 2 files): extension-examples/Hrm/Resources/js/components/IndexLeave.jsx:1 \u00B7 extension-examples/Hrm/Resources/js/components/LeaveApprovalList.jsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 185 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexLeave.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f75ffdea42a75e9ce32199022ac45577b2d6d740cdef341dd8ecb0c4508e37b"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (185 identical lines \u00D7 2 files): extension-examples/Hrm/Resources/js/components/IndexTimeAttendance.jsx:1 \u00B7 extension-examples/Hrm/Resources/js/components/TimeAttendance.jsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 185 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexTimeAttendance.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf313f7517dd93d3d4645820cb61453fed28856d90dd5b80407fbbeeab6efcc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (158 identical lines \u00D7 2 files): extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx:1 \u00B7 extension-examples/Hrm/Resources/js/components/IndexReport.jsx:1 \u2014 these 2 files are line-for-line copies of one another \u2014 158 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbe978f74f8c794daeadbbe9828ec767950de26c5ba41de7b98266d8b322a6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (134 identical lines \u00D7 2 files): app/resources/js/react/components/Product/AddProduct.jsx:2 \u00B7 app/resources/js/react/components/Product/UpdateProduct.jsx:2 \u2014 these 2 files are line-for-line copies of one another \u2014 134 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/AddProduct.jsx"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cd098e917f290a80ba5b7e110a8c9b963c2e2209faf6f9bdb2bf93896e10f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (114 matched lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockList/IndexStockIns.jsx:13 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockOuts.jsx:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 554 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockList/IndexStockIns.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc713cf11dc1ca7de31d2938d25357656af2a450f7bcd433ebb6338a6b43bb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (98 matched lines \u00D7 2 locations): app/resources/js/react/components/Order/ListOrder.jsx:15 \u00B7 app/resources/js/react/components/Purchases/ListPurchases.jsx:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 517 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/ListOrder.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3e5b8f6a831059fd92100d6f441ee82200d07fac71caab076f1fe1eeeeda47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (97 matched lines \u00D7 2 locations): app/resources/js/react/components/CommonDataTable.jsx:26 \u00B7 app/resources/js/react/components/CommonDataTableV2.jsx:138 \u2014 the two spans are one implementation copied and then locally edited \u2014 680 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTable.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f01e15cf7718197cc73c89b1b2c697a1bffc316c0f8e4a34d99a701e0bd4d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (88 matched lines \u00D7 2 locations): app/resources/js/react/components/Customer/ListCustomer.jsx:47 \u00B7 app/resources/js/react/components/Customer/ListGroup.jsx:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 477 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListCustomer.jsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"73088b22eb0716f159525803b32d195eb22a67740acc56a18e474289f8c602c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (84 matched lines \u00D7 2 locations): app/resources/js/react/components/Product/Category.jsx:179 \u00B7 app/resources/js/react/components/Product/IndexPriceList.jsx:144 \u2014 the two spans are one implementation copied and then locally edited \u2014 444 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/Category.jsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"383d5585516171d6a06be2c4908e5e96a1e259d6be0f6d038e276b1e43b276ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (72 matched lines \u00D7 2 locations): app/resources/js/react/components/Invoice/IndexInvoiceIns.jsx:64 \u00B7 app/resources/js/react/components/Invoice/IndexInvoiceOuts.jsx:65 \u2014 the two spans are one implementation copied and then locally edited \u2014 403 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexInvoiceIns.jsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4e71fb3e1350f7dddb5dbd8e0df181c36cfda0feeff1514909f41ec2182f84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (69 matched lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:32 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 398 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e363ca2cae5698d20aec94d3ae8054e68e26a0bcc9818f62f391a09bda890348"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): app/resources/js/react/components/Order/AddOrder.jsx:32 \u00B7 app/resources/js/react/components/Purchases/AddPurchase.jsx:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 294 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/AddOrder.jsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7683c01d87ab4c75e5bfdc20b1679c430f77797a3574c97b6c83acf28a111da6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2 locations): extension-examples/Hrm/Resources/js/components/IndexMonthlyAttendanceSummary.jsx:7 \u00B7 extension-examples/Hrm/Resources/js/components/MonthlyAttendanceSummary.jsx:7 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/components/IndexMonthlyAttendanceSummary.jsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0597f5dd224277664b839394a766e19ca79270cdea387cb92abf5dc6bbfc68f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:135 \u00B7 app/resources/js/react/components/Stock/StockOutDetail.jsx:171 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aff8e7db04a93e78eacb5db4a9e02bc007ec30213334f72ac9fa1b65fc15cde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): app/resources/js/react/components/Inventory/IndexInventory.jsx:11 \u00B7 app/resources/js/react/components/Inventory/IndexInventoryAdjustment.jsx:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 261 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Inventory/IndexInventory.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d9e53d3670baedd7c54b4cd4c01ebbd6701492de2fba7f22ab86cfe7cc207f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): app/resources/js/react/components/Product/Category.jsx:48 \u00B7 app/resources/js/react/components/Product/Category.jsx:95 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/Category.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e18d90c3a974e8d98a12dce755fd40297508ca15e7e8274ca5e1fc0b3c2b90f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (41 matched lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockOutDetail/CustomerInfo.jsx:4 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/ShippingInformation.jsx:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 291 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail/CustomerInfo.jsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c335334ab090311ee817e9a06d9c98f6c23b38bed3da82143907fc7021f19e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): app/resources/js/react/components/Inventory/IndexInventoryAdjustment.jsx:26 \u00B7 app/resources/js/react/pages/warehouse.jsx:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 212 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Inventory/IndexInventoryAdjustment.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e28db08e802a45ee4c7fbf56e417ecf81e8c7b3f40fd0115630cb213b13fbf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): app/resources/js/react/components/UI/Input/GalleryImage.jsx:5 \u00B7 app/resources/js/react/components/UI/Input/UploadImage.jsx:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 230 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/GalleryImage.jsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c027da1ea37874dc16b6ff9d5fe4d4986eaf13ddf7269fa141be7859e00609"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): app/resources/js/react/pages/suppliers.jsx:292 \u00B7 app/resources/js/react/pages/suppliers.jsx:334 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/suppliers.jsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaad8e4054d7fdf091df5971c18f101c565a7e3012acf8afc278363c0edf6df4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:173 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:191 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea04a8e3d919cf722c4de2c64f82779c1f7a6a89c756ff7616076b04594ab0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): app/resources/js/react/pages/login.jsx:40 \u00B7 app/resources/js/react/pages/register.jsx:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 233 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/login.jsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf0d4926894c1595e101dabfebcb67c922e82532b3745754ccffb34a94f79ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:304 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/ShippingInformation.jsx:54 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddde5d31fad0b1fe27d0b53868adccbd7e3c3b0ed44216b94ab48ffdd581b3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): app/resources/js/react/pages/reset-password.jsx:6 \u00B7 app/resources/js/react/pages/verify-account.jsx:6 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/reset-password.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c9587de5ee702b47f6af68fc95d89455a78b37bf11153231324775beef1327"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:405 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:469 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1245fb591f9d7427b102addf618150bd2ff29d1799ef5bffb30eeb9c2a0a5bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): app/resources/js/react/components/Order/DetailOrder/ProductAdded.jsx:12 \u00B7 app/resources/js/react/components/Order/EditOrder/Products/ProductAdded.jsx:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 118 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ProductAdded.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c38e322a6f60d6cabc3710d6b8cc8fbc79a68e4b8e7ee8ec1afbcbb52d3f3f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): app/resources/js/react/components/Customer/ListCustomer.jsx:81 \u00B7 app/resources/js/react/pages/suppliers.jsx:56 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListCustomer.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a51b433ed09a26048bd6dba455364c3203f2ce7a0f527100110a5286afa5106"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:370 \u00B7 app/resources/js/react/components/Stock/StockOutDetail.jsx:312 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d6873ee26e5911fb9c155debff4f874c113740185fe8fde76a462fcd5fa3e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockInDetail.jsx:139 \u00B7 app/resources/js/react/components/Stock/StockInDetail.jsx:168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f15ae6d97af7cbca884b18d18785f615535e59e6209b0f1ecab0a6a00bfca3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): app/resources/js/react/pages/forget-password.jsx:10 \u00B7 app/resources/js/react/pages/register.jsx:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 201 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/forget-password.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"020c5447be933c39ef50abf24f99e6a977ad82fe2ae46f01e5ed02b6e54115c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): app/resources/js/react/pages/suppliers.jsx:90 \u00B7 app/resources/js/react/pages/suppliers.jsx:130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/suppliers.jsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8afaca16de09b9c440d21afbb28e85c5ace944a282b3c4ea9769acba6a055c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3 locations): app/resources/js/react/pages/setting.jsx:85 \u00B7 app/resources/js/react/pages/setting.jsx:117 \u00B7 app/resources/js/react/pages/setting.jsx:164 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/setting.jsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b2d320852d28c1a115ff2849bba6b0c4131a1d1349e05aa3f64397123dd87f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): app/resources/js/react/common/api-upload.js:9 \u00B7 app/resources/js/react/common/api.js:9 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/common/api-upload.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c318e8e50bfebe2526dd3f81643900ab929a9e1ff95f3ea01b76018db06092c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4 locations): app/resources/js/react/components/UI/PermissionButtons/ApproveButton.jsx:6 \u00B7 app/resources/js/react/components/UI/PermissionButtons/CancelButton.jsx:5 \u00B7 app/resources/js/react/components/UI/PermissionButtons/DeleteButton.jsx:5 \u00B7 app/resources/js/react/components/UI/PermissionButtons/UpdateButton.jsx:5 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/PermissionButtons/ApproveButton.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29a7845de748d5ef19f24339b79a8c3263428256fb06aab4fb4702e39ab736b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): app/resources/js/react/common/api-upload.js:1 \u00B7 app/resources/js/react/common/authApi.js:1 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/common/api-upload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cd189373d940d624fe09cca99aa466eef60222a49c2d33c0f7ce7ed9600efb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx:28 \u00B7 app/resources/js/react/components/Invoice/IndexInvoiceOuts.jsx:19 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3706545a555968a9b0d088611be72b0dd7c56f561a29e62d20ad80a31800bbde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): app/resources/js/react/components/Order/EditOrder/Products/ProductAdded.jsx:73 \u00B7 app/resources/js/react/pages/user.jsx:199 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products/ProductAdded.jsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2332dd2a72654e0c37568ee88bfe607e8c5dfedd2137deb1fc2b4c12844d118a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockInDetail/ProductTable.jsx:3 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/ProductTable.jsx:3 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail/ProductTable.jsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df2b419b6ae1af8e7caedcaf9430e1bdf238ead6eeb55d8eb46132b7f0c99a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): extension-examples/Smtp/Resources/js/components/Home.jsx:18 \u00B7 extension-examples/Smtp/Resources/js/components/Home.jsx:42 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Smtp/Resources/js/components/Home.jsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30e560f272c7895eb06d880d2921535be3f86a1202fc82ca77b0baef33d2945"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4 locations): app/resources/js/react/components/Order/EditOrder/Products/ListProduct.jsx:70 \u00B7 app/resources/js/react/components/Order/EditOrder/Products/ProductAdded.jsx:73 \u00B7 app/resources/js/react/pages/user.jsx:199 \u00B7 extension-examples/Hrm/Resources/js/components/EndOfDayReportForm.jsx:73 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products/ListProduct.jsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e375d91214c69b7302b40a1284e1201e87c4d08bbd3787952f2f91dc57b248"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): app/resources/js/react/components/Purchases/ListPurchases.jsx:216 \u00B7 app/resources/js/react/pages/suppliers.jsx:241 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/ListPurchases.jsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1c795e6e1e3572b612c654aa71279d6aeefcf370a3e4f75c623a7b1b599056"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): app/resources/js/react/pages/shipping.jsx:216 \u00B7 extension-examples/Hrm/Resources/js/components/IndexLeave.jsx:145 \u00B7 extension-examples/Hrm/Resources/js/components/LeaveApprovalList.jsx:162 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/shipping.jsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7980d226eecd9f842ce678b28f30fcf4e7c221fa01fdd9ea3a3f434bb27eacf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): app/resources/js/react/components/Order/EditOrder.jsx:67 \u00B7 app/resources/js/react/components/Order/EditOrder.jsx:121 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cf4f18d6b5de9d5474bde6849c13eded44eafcae085fe1f40061196f611a9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): app/resources/js/react/components/Customer/ListGroup.jsx:80 \u00B7 app/resources/js/react/pages/warehouse.jsx:23 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListGroup.jsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"72321a6d38f62c6ece95db2d9b71bb2e304268eebdc280d554a7df6551d339cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 10 locations): app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx:241 \u00B7 app/resources/js/react/components/Order/EditOrder/Products/ListProduct.jsx:72 \u00B7 app/resources/js/react/components/Order/EditOrder/Products/ProductAdded.jsx:75 \u00B7 app/resources/js/react/components/Purchases/ListPurchases.jsx:217 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 copies are spread across 10 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b011346bef793cb19a1671095e70aa21cff273523cb2a942ce6b18eb880afaf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:218 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:236 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6828324c700daf45c3e85a8fa5ea9d7e0a9b0e64d289173a61c2dc17588b04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): app/resources/js/react/components/UI/Buttons/DangerButton.jsx:3 \u00B7 app/resources/js/react/components/UI/Buttons/PrimaryButton.jsx:3 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Buttons/DangerButton.jsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"832ba9c19573f523d2f6e32af9aa793bc66c85d5d4ceebffaf34e025cb368eea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): app/resources/js/react/pages/permissions.jsx:60 \u00B7 app/resources/js/react/pages/permissions.jsx:82 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/permissions.jsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfe5dd6fd0284dc5f75a7bee1bd18397d49711bc4612c90d58eabb22506968b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): app/resources/js/react/components/Purchases/EditPurchase.jsx:76 \u00B7 app/resources/js/react/pages/Profile.jsx:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase.jsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db1132ce8703dbadc04240d01e1e612c961ab1666d4b30f35e5d0e4e57e499b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/resources/js/react/components/UI/Buttons/SecondaryButton.jsx:3 \u00B7 app/resources/js/react/components/UI/Buttons/SuccessButton.jsx:3 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Buttons/SecondaryButton.jsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a8fbdcca629261520bad96bf5f8873f78e09c0104cbe1de225ddc94488d0cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/resources/js/react/pages/shipping.jsx:91 \u00B7 app/resources/js/react/pages/suppliers.jsx:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/shipping.jsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0fff8ffc1a14989eb24b58f7a4303861de233b8bcc81c0879946dac1aec8ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:276 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:346 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc71c2bb6c07a25718e10ab887c8c5411531e1e04b58e5d7fc16ca10191bb0c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/resources/js/react/components/Order/EditOrder/ShippingForm.jsx:26 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:23 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/ShippingForm.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2832eb917f36adf07d8bf20a41e7477ffa26e7a652aa097234437e1530396a7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/resources/js/react/components/Product/IndexPriceList.jsx:118 \u00B7 app/resources/js/react/components/Product/ListProducts.jsx:48 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/IndexPriceList.jsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c24c9b9b369e1c2b3b4e4fc805da4d4562523daadbc95490bce511b742e7fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx:23 \u00B7 app/resources/js/react/components/Purchases/EditPurchase.jsx:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 121 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c1e0bb658ede324d0b862d037919f43cbe08c98095ec393b23cd0a5297cd48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/resources/js/react/components/Purchases/AddPurchase.jsx:50 \u00B7 app/resources/js/react/components/Purchases/EditPurchase.jsx:155 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddPurchase.jsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6e860f3d157a30e4bf977012ef26c499968424375ebcb2afd5a46a3aae9032"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/resources/js/react/pages/shipping.jsx:30 \u00B7 app/resources/js/react/pages/shipping.jsx:58 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/shipping.jsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d291cabdc6d43a63474278f5d898140a59761b0de2cd7996d3061a11fcfd7f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/resources/js/react/pages/user.jsx:72 \u00B7 app/resources/js/react/pages/user.jsx:102 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/user.jsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda593ec46f987d031391926b0ea2ddc4e77472175b413a5edf19e5b1458027c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/resources/js/react/components/Footer.jsx:20 \u00B7 app/resources/js/react/layouts/ExtensionLayout.jsx:34 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Footer.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0b5c5ca26cc618e78a4e290e19ea182c4cb78d6c8a49a576d62ba0b3e67b5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx:78 \u00B7 app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx:109 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46c17fabe257db310e6060c560bc8ffda04b6a5d525cccc123cd66abc43e9af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:348 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:412 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e3f29d97055113ce9a9f49e15828aa824caab6dd38df1f87b422522920e528"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/resources/js/react/components/Product/IndexPriceList.jsx:81 \u00B7 app/resources/js/react/pages/shipping.jsx:49 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/IndexPriceList.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8cf9ebe2828cbdb04221b710b8802481b8a4035ea57edaadbbd656c3de549a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): app/resources/js/react/components/Product/ListProducts.jsx:26 \u00B7 app/resources/js/react/pages/shipping.jsx:92 \u00B7 app/resources/js/react/pages/suppliers.jsx:43 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/ListProducts.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9598cc04a87a61af39e81a85f5e05cceceb4e052bbc18dace901e330aa9f8269"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/resources/js/react/components/Purchases/EditPurchase/PurchaseInformation.jsx:81 \u00B7 app/resources/js/react/components/Purchases/EditPurchase/PurchaseInformation.jsx:99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase/PurchaseInformation.jsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff9856ab344ed8057ab70cf3d6baef03c01905791379947c70df86234df417c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): app/resources/js/react/components/Customer/ListGroup.jsx:27 \u00B7 app/resources/js/react/components/Customer/ListGroup.jsx:56 \u00B7 app/resources/js/react/components/Product/IndexPriceList.jsx:63 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListGroup.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c4a3d099d105585d2a6bea429d643d0726e162515ec977d9714e9a05189e8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/resources/js/react/components/Extension/ExtensionCard.jsx:51 \u00B7 app/resources/js/react/components/Extension/ExtensionCard.jsx:73 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Extension/ExtensionCard.jsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f7774bde90aa36f1deb288bf595e07047e59faf7372f328d655389fd803523"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:365 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:429 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"63168b9328bd4ad95ca484c6039c3d5ffd5e5c56407ef8a30a3cafb3176fc397"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): app/resources/js/react/components/Product/Category.jsx:22 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockIns.jsx:14 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockOuts.jsx:14 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/Category.jsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4169bb89fe1ede642698564c590cd04e49581494495f7612abab7f053e8d5daa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/resources/js/react/pages/custominvoiceins.jsx:6 \u00B7 app/resources/js/react/pages/custominvoiceouts.jsx:6 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/custominvoiceins.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd700bed37da161bd67c42469fb7907c3d0d17fb9ec5dd939114975c724f756"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/resources/js/react/pages/suppliers.jsx:164 \u00B7 app/resources/js/react/pages/warehouse.jsx:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/suppliers.jsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b7f3ace59eb7987d44ae29b97aa4ce0bb62f9690f0871076cb9f405158cee4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): extension-examples/FastMode/Resources/js/app.jsx:17 \u00B7 extension-examples/InventoryTracking/Resources/js/app.jsx:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/FastMode/Resources/js/app.jsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ca175ccec2d8c54e78bbf390e7f805052484ea84ec027dd519e07a86b722ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/IndexInvoiceOuts.jsx:41 \u00B7 app/resources/js/react/components/Stock/StockInDetail.jsx:106 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexInvoiceOuts.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f893f20dd476a3676452acaa3de2d862e04bf55f359f393a1c4e59e6d5b3217"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): app/resources/js/react/components/Order/DetailOrder/ShippingForm.jsx:35 \u00B7 app/resources/js/react/components/Order/EditOrder/ShippingForm.jsx:28 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:25 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ShippingForm.jsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"49378df30797281d97c197de5d84f6ed362eeac016291c409e165260bbf359ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): app/resources/js/react/components/Order/EditOrder/CustomerInformation.jsx:66 \u00B7 app/resources/js/react/components/Product/AddProduct.jsx:107 \u00B7 app/resources/js/react/components/Product/UpdateProduct.jsx:116 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/CustomerInformation.jsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e68d017628fa3cf9f6acaf07beb6d092f4c85db4e2dfa9f2346674f243f88c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): app/resources/js/react/components/Product/IndexPriceList.jsx:26 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockIns.jsx:18 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockOuts.jsx:18 \u00B7 app/resources/js/react/pages/shipping.jsx:84 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/IndexPriceList.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a4190d54efdd798ba6a543354938fe233bb9ab955983694b1de4afe6b3285a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockInDetail/TwoCol.jsx:2 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/TwoCol.jsx:2 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail/TwoCol.jsx"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cb40b7534db65e0323abf840553df0b906c30b5103596fe43b9a27ba7b07ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/resources/js/react/components/Order/EditOrder.jsx:108 \u00B7 app/resources/js/react/pages/forget-password.jsx:27 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1896a4860a574d56cb65ded2d71f3e99f0675fb1a768ed911a2059c04824ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): app/resources/js/react/components/Order/EditOrder/CustomerInformation.jsx:119 \u00B7 app/resources/js/react/components/Product/AddProduct.jsx:168 \u00B7 app/resources/js/react/components/Product/UpdateProduct.jsx:185 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/CustomerInformation.jsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a7bc3b7134f7cbf9cf47d6a1a1dc62312f535ca6a0111b65c62cea1f21a46a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/resources/js/react/components/Order/EditOrder/Products.jsx:71 \u00B7 app/resources/js/react/components/Order/EditOrder/Products.jsx:108 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7212e9f71c0f3ff0aa090c49cf824db45f0b71b2744bd9f2cf6925a1ea7d4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): app/resources/js/react/components/Product/ListProducts.jsx:73 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockIns.jsx:56 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockOuts.jsx:56 \u00B7 app/resources/js/react/pages/suppliers.jsx:175 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/ListProducts.jsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"985189471a9b10e7bf3a00d16cb4ff16d4422032b1bc28dd3c8a6b0743839287"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx:386 \u00B7 app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx:424 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c75b04ab531da3df3bc47e756ebf732bc30128609e56b4bcd83fb69b172daa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): app/resources/js/react/components/Purchases/EditPurchase/ApproveContent.jsx:1 \u00B7 app/resources/js/react/components/Purchases/EditPurchase/ApprovedContent.jsx:1 \u00B7 app/resources/js/react/components/Purchases/EditPurchase/RequestContent.jsx:1 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase/ApproveContent.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"170953a710e5d588a9bf7f4223b14d2e2d4f532595d83307539349633a5ce84a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockInDetail/InventoryForm.jsx:7 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:9 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail/InventoryForm.jsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a3a24816320ce529fcf40abb0fb5e6e6e6d4b24b4659021738f5e2400c428f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockOutDetail.jsx:68 \u00B7 app/resources/js/react/components/Stock/StockOutDetail.jsx:97 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail.jsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5974743f7ba265bfe3a67e5d33b34b87fa5e1b45127f3f1b018f4a2a1a0aca9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/resources/js/react/pages/Invoiceouts.jsx:13 \u00B7 app/resources/js/react/pages/invoiceins.jsx:15 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Invoiceouts.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"556a63a92bdb7853aed195df005a774490251ad5f0cbb70a12746a6567238e4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/resources/js/react/services/CustomInvoiceInService.js:2 \u00B7 app/resources/js/react/services/CustomInvoiceOutService.js:2 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/services/CustomInvoiceInService.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ab29ad8fc6da0463f3795aae14034bc8ce3bbfc8f30fe7df0124a73d9aaefa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/resources/js/react/services/CustomerGroupService.js:3 \u00B7 app/resources/js/react/services/CustomerService.js:3 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/services/CustomerGroupService.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3da869d9b1d8710478ccd4c23180a6df051c963654f6382e3d74cb3e15fc18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): app/resources/js/react/components/Customer/ListCustomer/CustomerForm.jsx:43 \u00B7 app/resources/js/react/components/Customer/ListCustomer/CustomerForm.jsx:130 \u00B7 app/resources/js/react/components/Product/AddProduct.jsx:97 \u00B7 app/resources/js/react/components/Product/UpdateProduct.jsx:106 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListCustomer/CustomerForm.jsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24767bf787329f647613864858421362524d19867dddb7908a2d55d2f3a030b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx:173 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:75 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa148170eeea66416cd19116a13da3e488da7d6c0f13d549a16de46b20e87941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:98 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:103 \u00B7 app/resources/js/react/components/Order/EditOrder.jsx:53 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5368a28eb0ca9ee5fe7a2e2834175614549ebdb854b2317be97e6f2ced20a849"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:270 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/ShippingInformation.jsx:14 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"829fd3ca9051bd85d10899c88634c62cd14ec7ac8a3c0960d7cd9acf34322f6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:505 \u00B7 app/resources/js/react/components/Stock/StockInDetail.jsx:387 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb4173b288bfa875bbd90c5689cd7f443d7d9f006153f68e89a42547d33df7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/resources/js/react/components/NotificationList.jsx:59 \u00B7 app/resources/js/react/components/NotificationList.jsx:72 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/NotificationList.jsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4244529aa5fab1d859154aea5a74d47061939bffc54b000603509aa06fa3e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/resources/js/react/components/Order/EditOrder.jsx:139 \u00B7 app/resources/js/react/components/Order/EditOrder/Products.jsx:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"389d6415441fb6c128bf66a79055546e158d319a6e2d0e879955337262be69ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/resources/js/react/components/Order/EditOrder/Products.jsx:40 \u00B7 app/resources/js/react/components/Order/EditOrder/Products.jsx:82 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"587a2d7dea22fc6a1add21e9882f9ab341d1708b64ac98debeadf45c45ca1323"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/resources/js/react/components/Order/EditOrder/ShippingForm.jsx:48 \u00B7 app/resources/js/react/components/Order/EditOrder/ShippingForm.jsx:60 \u00B7 app/resources/js/react/components/Order/EditOrder/ShippingForm.jsx:85 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/ShippingForm.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7af3e8b6633134c687b8068d09256026ad8ebc0d48dfc12c62575b6a47efe4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx:411 \u00B7 app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx:473 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41bcd5890aacbedc6a5c85d83d43b72dca7047bf2886ddacdf251e52bad189c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): app/resources/js/react/components/Stock/StockInDetail.jsx:83 \u00B7 app/resources/js/react/components/Stock/StockInDetail.jsx:154 \u00B7 app/resources/js/react/components/Stock/StockInDetail.jsx:183 \u00B7 app/resources/js/react/components/Stock/StockOutDetail.jsx:65 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0a64aa1f85f2159b3426b659d006899aafc5b57570d378a296c75ed6b7b6c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockOutDetail.jsx:142 \u00B7 app/resources/js/react/components/Stock/StockOutDetail.jsx:156 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail.jsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2126f54d6631910a743898e1d03ee02ba576a21b870709f04ebca90738afa5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/resources/js/react/pages/Profile.jsx:75 \u00B7 app/resources/js/react/pages/Profile.jsx:116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"504ae8385135f64e8939cd3bebd4d2ddeb0e615c77e5cdd1afd4df17b27e96a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): app/resources/js/react/pages/extensions.jsx:19 \u00B7 app/resources/js/react/pages/extensions.jsx:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/extensions.jsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d4fab198d17e12e93228708f75f9e0e898df0ef1f0086d9b9b2d8129d7a6be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/resources/js/react/services/CustomInvoiceInService.js:1 \u00B7 app/resources/js/react/services/CustomInvoiceOutService.js:1 \u00B7 app/resources/js/react/services/PriceListService.js:1 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/services/CustomInvoiceInService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d35ae83932fb5fb6ce73abd8bb97d4fb7c76f30cf7899c375827d4c374770cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7 locations): app/resources/js/react/components/Customer/ListCustomer/CustomerForm.jsx:145 \u00B7 app/resources/js/react/pages/setting.jsx:97 \u00B7 app/resources/js/react/pages/setting.jsx:129 \u00B7 app/resources/js/react/pages/setting.jsx:144 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListCustomer/CustomerForm.jsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f1fcd2ba8c62f6f8afb69991f94f9805561d33d463533cd29234896d654d60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/resources/js/react/components/Customer/ListGroup.jsx:126 \u00B7 app/resources/js/react/components/Product/AddProduct.jsx:74 \u00B7 app/resources/js/react/components/Product/UpdateProduct.jsx:75 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListGroup.jsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a50cbe03fca6465b6b9c849443860633533c29011d0a023fc77d55237db2799"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/resources/js/react/components/Extension/ExtensionCard.jsx:27 \u00B7 app/resources/js/react/layouts/DashboardLayout.jsx:17 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Extension/ExtensionCard.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8618cad8b51e58cc74a13db876f19e85db65afa6fe4fc7350664ed011f950108"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): app/resources/js/react/components/Inventory/IndexInventoryAdjustment.jsx:85 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockIns.jsx:34 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockOuts.jsx:34 \u00B7 app/resources/js/react/pages/suppliers.jsx:159 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Inventory/IndexInventoryAdjustment.jsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7411b2271b35fbdafe1d7ceb6ad96339f4caaf9688b05b249e80ab0ff5d562a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:122 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f718297530ea41b5d818d3bc645e66311351d90cf378bfb742f2978041d72d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:292 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/PaymentInformation.jsx:10 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e4172cc35afb82b9575e0674bababa751847f34897ad918e67ea2d1b2a91ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:255 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:299 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f4b91532809e7ef97afa005b4a7e2a753e4e83a3414f9ce0bb86dc30e5fa21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): app/resources/js/react/components/Order/EditOrder/CustomerInformation.jsx:94 \u00B7 app/resources/js/react/components/Order/EditOrder/CustomerInformation.jsx:108 \u00B7 app/resources/js/react/components/Product/AddProduct.jsx:106 \u00B7 app/resources/js/react/components/Product/UpdateProduct.jsx:115 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/CustomerInformation.jsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99ef05fa40373e20bd2bc2f3ad606ca3fb0204f3f0bafccb53527acb20d80a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/resources/js/react/components/Product/IndexPriceList.jsx:61 \u00B7 app/resources/js/react/components/Product/IndexPriceList.jsx:90 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/IndexPriceList.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a47671a053e10bc154bc5e65f744a661778c82a50ce6f4cd8a157d0536f476"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/resources/js/react/components/Product/ListProducts.jsx:56 \u00B7 app/resources/js/react/pages/suppliers.jsx:78 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/ListProducts.jsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c135fb70970a8483bd44b54f04526440ac1ae7c51f9b5c1d281c9a04987a9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockInDetail.jsx:112 \u00B7 app/resources/js/react/components/Stock/StockInDetail.jsx:207 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fabbd8a944d3d4ea70675ab00640241cd9eed40940d52096418f1fdf53410da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:48 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:69 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:80 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:91 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc23f26b78d21dfd2f90a73bb83a690b053ef2b169e5531ba19638fb6b32c563"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:75 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:86 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:97 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx:108 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail/FormUpdate.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c160018ce529b7718d22b64c6967f11bc4d823486b265d2473eb2c7eb084f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/resources/js/react/pages/business.jsx:79 \u00B7 app/resources/js/react/pages/business.jsx:95 \u00B7 app/resources/js/react/pages/login.jsx:24 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/business.jsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc60f7aef956ceb3e00a6333d819c3011a2f7a783fc72ac0b8c5123d542424e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/resources/js/react/pages/permissions.jsx:97 \u00B7 app/resources/js/react/pages/permissions.jsx:125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/permissions.jsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea5eb50c3edb3f9396522549801e11301a3ff2d9ead36e57d82517ade4809db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): app/resources/js/react/services/CustomerGroupService.js:1 \u00B7 app/resources/js/react/services/CustomerService.js:1 \u00B7 app/resources/js/react/services/ExtensionService.js:2 \u00B7 app/resources/js/react/services/UserService.js:1 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/services/CustomerGroupService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ab6250cea1999d9623c043592353e5224bc581d473caf6ebd2cbb93d630bfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): extension-examples/FastMode/Resources/js/app.jsx:41 \u00B7 extension-examples/InventoryTracking/Resources/js/app.jsx:28 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/FastMode/Resources/js/app.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5832cd7c592f99071a3482d9e7cd9c07d1cbd1e913fad16af94c0da42a924f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/resources/js/react/components/Customer/ListGroup.jsx:110 \u00B7 app/resources/js/react/pages/shipping.jsx:119 \u00B7 app/resources/js/react/pages/warehouse.jsx:143 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListGroup.jsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a6f12727ae4557e1742e2fbb7d8f0faa8df8702e10962920f3c95c06546668"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:305 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:368 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f0bd957ab08704d8e8fab5b0683ef92af60ea198ce60636d33a035c928a84e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx:445 \u00B7 app/resources/js/react/components/Order/EditOrder/CustomerInformation.jsx:137 \u00B7 app/resources/js/react/pages/shipping.jsx:326 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab3b3867c81cf10454992841b99d243a769cbd31463d6a7c1fb68a9135dae1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/resources/js/react/components/Order/EditOrder.jsx:95 \u00B7 app/resources/js/react/components/Stock/StockOutDetail.jsx:53 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a164414c96efd1c0510ae39cfe4285b95e254e6af457f4d8288353416c2a23a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockInDetail.jsx:396 \u00B7 app/resources/js/react/components/Stock/StockInDetail.jsx:410 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"966126371021884131de7084dc2d2c0cdb877e089e482c5950583ccefa17ccd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockInDetail/InfoBox.jsx:2 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/InfoBox.jsx:2 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail/InfoBox.jsx"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc732c09ffd00e0897ddc0a70d6acb8725578d9c929140653b3d9988bf3b8cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/resources/js/react/layouts/AuthLayout.jsx:6 \u00B7 app/resources/js/react/layouts/ExtensionLayout.jsx:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/layouts/AuthLayout.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"910d10d5d116fb25f649f17b1345046d58417f4abb1b71a1d5f0c0d586582b5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/resources/js/react/pages/Profile.jsx:122 \u00B7 app/resources/js/react/pages/Profile.jsx:133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Profile.jsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05cff083e38271ac09a65ef87445fe3d764dcd862beddac06d05b95be629118"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/resources/js/react/pages/setting.jsx:38 \u00B7 app/resources/js/react/pages/shipping.jsx:99 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/setting.jsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf804ae73e3ff47f7ba46ca8183eb1b48d41ed976c95c8075a7f42d5e681921"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:233 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/CustomerInfo.jsx:12 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe5844b8969301a96fa5f8935eb0b29667102fae0f0f1adb784335f68ba9cf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockInDetail.jsx:54 \u00B7 app/resources/js/react/pages/activity-logs.jsx:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e79659568037cbbf13538c3457dccc51f9551725e75a21c8ee2f330eb9dad5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): app/resources/js/react/components/UI/PermissionButtons/ApproveButton.jsx:16 \u00B7 app/resources/js/react/components/UI/PermissionButtons/CancelButton.jsx:15 \u00B7 app/resources/js/react/components/UI/PermissionButtons/CreateButton.jsx:17 \u00B7 app/resources/js/react/components/UI/PermissionButtons/DeleteButton.jsx:15 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/PermissionButtons/ApproveButton.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"03baa42d3a96fbfbb6e4c9b354da27af14834d147c1dd01bf0db1cd907f24794"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/resources/js/react/pages/report.jsx:85 \u00B7 app/resources/js/react/pages/report.jsx:105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/report.jsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f94cf86f8c8806ea9a04184c2644c4e5ca151fe9622167d8e9910f71232eb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/resources/js/react/components/Invoice/IndexInvoiceIns.jsx:30 \u00B7 app/resources/js/react/components/Order/ListOrder.jsx:31 \u00B7 app/resources/js/react/components/Purchases/ListPurchases.jsx:51 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexInvoiceIns.jsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19b8ef95b121ce16f3ccde62355d223bd4b06e7cc9461f88479f0de8e59f149"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:292 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/ShippingInformation.jsx:41 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24ce63c4db81a5482518d5b656dbbc6b04dc5252643bbec129c5050aeca9c46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/resources/js/react/components/RenderFormFieldByList.jsx:20 \u00B7 app/resources/js/react/components/RenderFormFieldByList.jsx:53 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/RenderFormFieldByList.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8beb8ff2882c6b07a5fed827c3c3d135a4615ad9793ed1b83470bccd110c55ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockInDetail.jsx:267 \u00B7 app/resources/js/react/components/Stock/StockOutDetail.jsx:272 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c616d05e34cfc0687133db1aae9ed3258fe93092fa68ad076b0e438b8b2763d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockOutDetail/ShippingInformation.jsx:27 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/ShippingInformation.jsx:37 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail/ShippingInformation.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e3e2455661d494f042ae1e12e10f32d9d336eac4cb31f864dac9908fda8d55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/resources/js/react/components/UI/Input/CustomEditor.jsx:48 \u00B7 app/resources/js/react/components/UI/Input/Textarea.jsx:25 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/CustomEditor.jsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"129ae2a0255ef007cee34d36b5d4cc2f7a7707b1efc9ceb7eb3b4b9e7ce2a418"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/resources/js/react/libraries/handleInput.js:46 \u00B7 app/resources/js/react/libraries/handleTable.js:10 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/libraries/handleInput.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0df7ef23dcb7f8a9788d1fa1bed4addc03075498c365ce416f1cf66af5df9b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/resources/js/react/pages/forget-password.jsx:25 \u00B7 extension-examples/Smtp/Resources/js/components/Home.jsx:27 \u00B7 extension-examples/Smtp/Resources/js/components/Home.jsx:52 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/forget-password.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5303a63666932fb3bc5f036911f74fcf30cc176db3e303db89a194193ccf2070"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 14 locations): app/resources/js/react/services/CustomInvoiceInService.js:1 \u00B7 app/resources/js/react/services/CustomInvoiceOutService.js:1 \u00B7 app/resources/js/react/services/InventoryService.js:1 \u00B7 app/resources/js/react/services/InvoiceInService.js:1 \u00B7 \u002B10 more site(s) not listed \u2014 the 14 copies are spread across 14 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/services/CustomInvoiceInService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd3058d2f48e91c16bf7ca6353f35f1ab15dcd5f94bf611e9c809f7989c8f5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): app/resources/js/react/services/CustomerGroupService.js:1 \u00B7 app/resources/js/react/services/CustomerService.js:1 \u00B7 app/resources/js/react/services/ExtensionService.js:2 \u00B7 app/resources/js/react/services/SupplierService.js:1 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/services/CustomerGroupService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3594204f6ce9bb6f7b2fb1c337f1313409bd7497da5e82802a549695e5d6bb41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): extension-examples/Hrm/Resources/js/pages/HRMPage.jsx:11 \u00B7 extension-examples/Hrm/Resources/js/pages/TimeAttendance.jsx:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Hrm/Resources/js/pages/HRMPage.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba97cc81d56433d973eed11e194507c4b84f1accaa01a98765cb51860b4a7be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/resources/js/react/components/Invoice/IndexInvoiceIns.jsx:14 \u00B7 app/resources/js/react/components/Order/ListOrder.jsx:15 \u00B7 app/resources/js/react/components/Purchases/ListPurchases.jsx:17 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexInvoiceIns.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16c7d9e9cedd79567011738b200a6f370ecd00112637c0166d3d980bb29b292"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:223 \u00B7 app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx:304 \u00B7 app/resources/js/react/components/Stock/StockOutDetail/ShippingInformation.jsx:54 \u2014 the 3 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f322f7c32366a1c050d7c4db4f3b399047d86f6a10c6d639be2426a07c778b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/resources/js/react/components/Order/EditOrder/ShippingForm.jsx:122 \u00B7 app/resources/js/react/components/Product/AddProduct.jsx:159 \u00B7 app/resources/js/react/components/Product/UpdateProduct.jsx:174 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/ShippingForm.jsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f4c7674af65b35d1e2be39440cc19f9edce3e0138860380ecfae1e828be5bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/resources/js/react/components/Order/ListOrder.jsx:49 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockIns.jsx:45 \u00B7 app/resources/js/react/components/Stock/StockList/IndexStockOuts.jsx:45 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/ListOrder.jsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88ef92899ab4c917a5fde845208ae29497075050e230ca2e8fd3fafa97d3a2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/resources/js/react/components/RenderTableSearch.jsx:10 \u00B7 app/resources/js/react/components/RenderTableSearch.jsx:18 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/RenderTableSearch.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73ed201c86352a4f479c9fceeb583797db1bfe006f4055d2654213837022e94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/resources/js/react/components/UI/Input/CustomEditor.jsx:49 \u00B7 app/resources/js/react/components/UI/Input/Select.jsx:29 \u00B7 app/resources/js/react/components/UI/Input/Textarea.jsx:25 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/CustomEditor.jsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"08131b2455bb746a1e05fb319ebb95d2c59a82d060ae13f12d1b77581e31f588"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/resources/js/react/components/UI/Input/SearchSelect.jsx:90 \u00B7 app/resources/js/react/components/UI/Input/Select2.jsx:37 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/SearchSelect.jsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c92ffd6133081ef51972bc2c3a20657e5f98f00642c2f6c4614a03ce37b6f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): extension-examples/Hrm/Resources/js/services/hrm-service.js:3 \u00B7 extension-examples/Hrm/Resources/js/services/hrm-service.js:10 \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":"extension-examples/Hrm/Resources/js/services/hrm-service.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e06f0a3f74e8591c44c75e9a9047ddbe09e1ce5f580b46415819d0b3ba0c54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): app/resources/js/react/components/Product/Category.jsx:148 \u00B7 app/resources/js/react/pages/suppliers.jsx:166 \u00B7 app/resources/js/react/pages/warehouse.jsx:41 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/Category.jsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b487b964fd9ef34d12629cf70f6b2ca0076f2348fc707235a6aecb2c21c91ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/resources/js/react/components/Product/IndexPriceList.jsx:47 \u00B7 app/resources/js/react/components/Product/IndexPriceList.jsx:54 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/IndexPriceList.jsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66b7946acaa0a34af36d63c46dedc234ada58290054b64a24b6ed80497f634f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): extension-examples/Smtp/Resources/js/components/Home.jsx:96 \u00B7 extension-examples/Smtp/Resources/js/components/Home.jsx:135 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/Smtp/Resources/js/components/Home.jsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"981562d91d832b50a8758c66962918d89e5654919bc4aec4bedcb26ab33639c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/resources/js/react/components/Stock/StockInDetail.jsx:287 \u00B7 app/resources/js/react/components/Stock/StockInDetail.jsx:316 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"80108725e985d4775fe80c9de4f10c9b19a9130e5ff6e9dc2c11165158ee9f49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/resources/js/react/libraries/common.js:1 \u00B7 app/resources/js/react/libraries/common.js:11 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/libraries/common.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"badc864fbaf2968131427935160552cefa88cc6f05f4c82804b986de4633257d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): app/resources/js/react/services/CustomerGroupService.js:1 \u00B7 app/resources/js/react/services/CustomerService.js:1 \u00B7 app/resources/js/react/services/ExtensionService.js:2 \u00B7 app/resources/js/react/services/ShippingService.js:1 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/services/CustomerGroupService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff450f1c58041ea8cb2d7d76b63cc3d2c4a9dab351645504754954ef5cec8632"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: app/resources/css/app.css:2 reaches into another package with a relative path (../../node_modules/bootstrap-icons/font/bootstrap-icons.css) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/css/app.css"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"978026fd1159faaae2d2abe7ee1d58235692af141a4a81383a6a89fcca29db59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CommonDataTableV2 (cyclomatic 21, cognitive 24): CommonDataTableV2 has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3dbb60d7742429ab7c174930fbcb0865aa0ced5871ad19e3a6e922ddc2eeab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditPurchase (cyclomatic 19, cognitive 15): EditPurchase has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f221f9247bd82d02ed33cbadc50ba153925ee4d7825397c4f516f9e7c63f48fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InvoiceOutDetail (cyclomatic 18, cognitive 17): InvoiceOutDetail has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe94839ad438ba1a754cdd9ca93602a2b0e07ba8c357877bec76753ac0fe6d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditOrder (cyclomatic 18, cognitive 17): EditOrder has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7416e6aa52e4bb0b24404ee4b4aca8d6261626659c7bd41715d0a6eb55a148db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StockInDetail (cyclomatic 14, cognitive 13): StockInDetail has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bbff9c72753ea23630598590cac8baaaf26adfc280e0f399cafed2ebfa5102"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StockOutDetail (cyclomatic 14, cognitive 13): StockOutDetail has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail.jsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"565db77748ba369c0a91eb168656cee1d8ffb5b4ba024a42cccbb6532ec4ab2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InvoiceInDetail (cyclomatic 13, cognitive 12): InvoiceInDetail has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"808d6fc820e31ded9ae56b2cd2eaaff8ce09b1e4cf779edfa72c7c95f7209918"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InputForm (cyclomatic 13, cognitive 12): InputForm has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/InputForm.jsx"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"063e084c2ac608122442015b76bbc6f16431662c94ee626bbe127dadfdd4a356"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ListProducts (cyclomatic 11, cognitive 10): ListProducts has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da8f82262f44da6d2aa6cae695d29955a5693b4a17e0ba8598b1086bd645259"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bc2679335ae7d530e1aedddb4d00a6f26aa55ecf6c9f4045dc38b12fc5f951"}},{"ruleId":"R3","level":"warning","message":{"text":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx: 510 lines of code: app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx has 510 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"462577fe0964d83740d8d5f3d461c8a563544e188cab1b09b85b06593f5c909a"}},{"ruleId":"R3","level":"warning","message":{"text":"app/resources/js/i18n/locales/en.js: 507 lines of code: app/resources/js/i18n/locales/en.js has 507 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/i18n/locales/en.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aa0dbaea838f0c71f4b2ee3f8fa4f5d6b1324115e51ba49797aa7acd774217"}},{"ruleId":"R3","level":"warning","message":{"text":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx: 493 lines of code: app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx has 493 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5276d90d4161666ba12dc5fbcc9d1fc4da3f0e6b0f504fd60025b38a067d999f"}},{"ruleId":"R3","level":"warning","message":{"text":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx: 442 lines of code: app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx has 442 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceIns/InvoiceInDetail.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3066d31f1054e18ad33b8868944655d20386e993d417ed45b935068ec320d1"}},{"ruleId":"R3","level":"warning","message":{"text":"app/resources/js/react/components/Stock/StockInDetail.jsx: 413 lines of code: app/resources/js/react/components/Stock/StockInDetail.jsx has 413 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0475a54bb32ae5e65ffecb973b86f25406321ec56d513e5e12d9ddfbbe0998b3"}},{"ruleId":"R3","level":"warning","message":{"text":"app/resources/js/react/components/Stock/StockOutDetail.jsx: 407 lines of code: app/resources/js/react/components/Stock/StockOutDetail.jsx has 407 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1342f6f7fa7cff1e991f44812b7ab8ecd9d0c8c25c8e01db634adfbde2a716"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 251 production file(s) reachable from 0 test file(s) via the import graph \u2014 \u0027production\u0027 here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace\u0027s file count"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64e0e3511eb969fb4720b196e7d3799e1714077217351c3c56a27b50e3e21220"}},{"ruleId":"R6","level":"warning","message":{"text":"No test, lint or typecheck script: test \u2717 \u00B7 lint \u2717 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a9372ffc30204d52cc3368af49ceaa995574db973935e30b3946f83785dea15b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~187 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/report.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56340e67795ac0afb3e0dce79636d2dcc4db5d75813e4ccc798457091e748ecc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~162 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ShippingForm.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9361c409314e88b91ba097c0127a4ba50050335db9f5d58d23d1a240f5da59"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~105 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/AutoDataTable.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"509f982ed7b38081738d2624e420eeef8672a40077c2b83f139143c277a888c3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~70 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ProductAdded.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"224fbc3946d977c242132e11de25d1d100a5eba3ec9fea25b4826f4d9878bee5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~60 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/layouts/ExtensionLayout.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a40e4900a1d315e00bd9c955c7c29421c5978815d890f9d6824fe9d35a1fb0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~58 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Select2.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99c055f2a026a839b892474394c3676ed3f9a7f9acda996b8dd880cac23b60c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~48 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/CustomerDetail.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec3c25c83630ec45a95d02ae7ad427edfacde534247ca00ec0a05d101a19f86"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~42 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/ListProduct.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"829de94e66042f66852166508075fca90df439a945b352c5fdd62efc35b299d4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~29 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/Input.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b84ce6442f0eb4f8438256ee86f1dcaaff4ccb95c70cbc9537b24c361d08336"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~28 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/RenderTableSearch.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc186a9fecedbeaec9050cfcc55fd97f2e25859d109b529147b572eca8a5a37"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~27 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail/ProductTable.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c96d1d5a4b1759f1a186059f67167b2ac38e4597dba8167299779e7a14467d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~27 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail/ProductTable.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccffd69f66594bcdd233310d97b48aaa9815bd72b0ea5466f988431859464837"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockList.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b32e32f2086df22d2b6452a90c7d99581f7e444d1d2a33bf0e8431d5de480af"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (app/resources/js/react/components/RenderTableSearch.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/UI/Input/SearchInput.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9d78e466c78f7f4f0f1b31bd4d02f0a55396fb5458e7dc4e213550abf118c5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/core/Extension.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5e867144a46640ef9cabeac5aac17b6668b28c253248d16d95b689b987134b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail/TwoCol.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8ab53675c0de34b713217d66f4d8709446797298d533415e6a55f03d46733c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~11 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail/InfoBox.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6f0769bdc8111219a3be416dd2b49bec82f302adaff6f28c83e60068f7b4e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~11 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/services/StockMovementOut.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cec0680c501ba350dd005a21e8e4dd926f3c637080ffdbbbbe40161fc8bbf0e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~10 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/core/RegisterRoute.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d561e4a253a8d44f13b2e1ad940d54644f62788dd968f9e712c27fd383e531a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~9 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockOutDetail/SummaryRow.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c119f46af6bcbbaf848e5596c598d2331f88002a454f05db6c2a38f3a0a69299"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~6 LoC): no import path from any entry point (7 application, 1 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/DetailOrder/OrderConfirm.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce4889b8cb1c0ebdfe50a306024cc1626a81a64ce736f5128b9595d7494614"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027capitalizeFirstLetter\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/libraries/common.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b391339a0eb3035448a4d4576065a2a06b72ca6df76a8b444528252bcc916b7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resetNotificationCount\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/redux/NotificationSlice.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf051f999fd3e60e8b69a4b2a6a91e9871da50b19cb1fc25d0758eab20583fa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027clearBusinessInfo\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/redux/businessInfoSlice.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"17736d33e0f739dfafb2a6b518ea8d1853972589bb7a19329c1d48e1a42e58f8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027setOrderDetail\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/redux/order/detailSlice.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa017844f646d805b3c29200c8f64adb6c79dee0a4096221ddf09b3295e85e0"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027react\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extension-examples/CustomHomePage/Resources/js/app.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"583370037731efb94508d6106e6787ff1136cd6d3f8175a8159e5d13e63bda46"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027firebase\u0027: Declared in app/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0374548726861faded1e1a755ab00e77699db00908a0e2baf6d4187aa1e766c0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027laravel-echo\u0027: Declared in app/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"78bff9682f764b0fdcbbac9c8a679d7d9607bfc4e002fac3fd84c758e57798c4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027react-to-print\u0027: Declared in app/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0abfb411ee29c0ceff3f565d3a6c38733bbc5df7dccf9049ec22abfff324cdc4"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060host.conf\u0060 is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker-config/host.conf"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"438faa75e82a836231507526afdc5f7a9ce49ca06dde7a64ca410f6e0d7381cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060searchParams.get(\u0027form\u0027) \u0026\u0026 searchParams.get(\u0027form\u0027) === \u0027add\u0027\u0060 appears character-identically in 2 files \u2014 app/resources/js/react/pages/order.jsx, app/resources/js/react/pages/purchases.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/order.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"630e6e46ae3211b3fcbd33f0c69c49cb787c1052d5376eded18f70e0f1386431"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060searchParams.get(\u0027form\u0027) \u0026\u0026 searchParams.get(\u0027form\u0027) === \u0027edit\u0027\u0060 appears character-identically in 2 files \u2014 app/resources/js/react/pages/order.jsx, app/resources/js/react/pages/purchases.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/order.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e55ebf421b50ee0bbb088eede37d38e7b6cf35e9eb4fe07ecf93e3c5aae1228"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060searchParams.get(\u0027form\u0027) \u0026\u0026 searchParams.get(\u0027id\u0027)\u0060 appears character-identically in 2 files \u2014 app/resources/js/react/pages/Invoiceouts.jsx, app/resources/js/react/pages/invoiceins.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/Invoiceouts.jsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2e3b71cb2bedd53958622db2992e97525a00f0acf49ad998f1c581a935685c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$buy \u003C= 0 \u0026\u0026 $gift \u003C= 0 \u0026\u0026 $comp \u003C= 0 \u0026\u0026 $conv \u003C= 0\u0060 appears character-identically in 4 files \u2014 app/core/OrderItem/Http/Requests/CreateOrderItemRequest.php, app/core/OrderItem/Http/Requests/UpdateOrderItemRequest.php, app/core/PurchaseItem/Http/Requests/CreatePurchaseItemRequest.php, app/core/PurchaseItem/Http/Requests/UpdatePurchaseItemRequest.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/OrderItem/Http/Requests/CreateOrderItemRequest.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2522ea2008cdcb9d6ff95048aedf87e3875c3006539413db0069b3faf1ea11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action === HookAction::CREATE \u0026\u0026 $context\u0060 appears character-identically in 34 files \u2014 extension-examples/CategoryProductThumbnail/Hooks/CreateHook.php, extension-examples/CategoryProductThumbnail/Hooks/ValidateCreateHook.php, extension-examples/CustomBusinessRole/Hooks/CreateHook.php, extension-examples/CustomInvoiceIn/Hooks/CreateHook.php. 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":"extension-examples/CategoryProductThumbnail/Hooks/CreateHook.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c55f3689fd905ff142816aa04d6ef692eb9e488d3eacf27ce1c461177f95078"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action === HookAction::INDEX \u0026\u0026 $context\u0060 appears character-identically in 52 files \u2014 extension-examples/CategoryProductThumbnail/Hooks/IndexHook.php, extension-examples/CategoryProductThumbnail/Hooks/IndexShowHook.php, extension-examples/CustomBusinessRole/Hooks/IndexShowHook.php, extension-examples/CustomHomePage/Hooks/CustomHomeHook.php. 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":"extension-examples/CategoryProductThumbnail/Hooks/IndexHook.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"954adb6c1f00026642f56078287a18d4e4479db475ab4bcb1f121ee5489639d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action === HookAction::SEARCH \u0026\u0026 $context\u0060 appears character-identically in 15 files \u2014 extension-examples/CategoryProductThumbnail/Hooks/SearchIndexHook.php, extension-examples/CustomInvoiceIn/Hooks/SearchIndexShowHook.php, extension-examples/CustomInvoiceOut/Hooks/SearchIndexShowHook.php, extension-examples/CustomerFax/Hooks/SearchIndexShowHook.php. 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":"extension-examples/CategoryProductThumbnail/Hooks/SearchIndexHook.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9636cba78fb6def78120be67d7acb918f0464be6f43a50d89e2ca84e4eaead6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action === HookAction::UPDATE \u0026\u0026 $context\u0060 appears character-identically in 32 files \u2014 extension-examples/CategoryProductThumbnail/Hooks/UpdateHook.php, extension-examples/CategoryProductThumbnail/Hooks/ValidateUpdateHook.php, extension-examples/CustomBusinessRole/Hooks/UpdateHook.php, extension-examples/CustomInvoiceIn/Hooks/UpdateHook.php. 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":"extension-examples/CategoryProductThumbnail/Hooks/UpdateHook.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93749143c5cbbc27cac751b7b79c92909b7dc5b2269434a49bccdcf9297d744"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file_exists(public_path(\u0027build/manifest.json\u0027)) || file_exists(public_path(\u0027hot\u0027))\u0060 appears character-identically in 3 files \u2014 app/resources/views/admin/layouts/auth.blade.php, app/resources/views/admin/layouts/dashboard.blade.php, app/resources/views/home/layout.blade.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/views/admin/layouts/auth.blade.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eae842c65d8fb71f68f080de3df922a4dfb9b77097a6c8586b3d1873868f66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060module === \u0027CategoryProduct\u0027 \u0026\u0026 $context\u0060 appears character-identically in 8 files \u2014 extension-examples/CategoryProductThumbnail/Hooks/CreateHook.php, extension-examples/CategoryProductThumbnail/Hooks/IndexHook.php, extension-examples/CategoryProductThumbnail/Hooks/IndexShowHook.php, extension-examples/CategoryProductThumbnail/Hooks/SearchIndexHook.php. 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":"extension-examples/CategoryProductThumbnail/Hooks/CreateHook.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b419a614793d8b0fd23da541c2ac7db6057b24b8451d03bf4f7cf12fdfa3ef6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060module === \u0027CustomInvoiceIn\u0027 \u0026\u0026 $context\u0060 appears character-identically in 9 files \u2014 extension-examples/CustomInvoiceIn/Hooks/CreateHook.php, extension-examples/CustomInvoiceIn/Hooks/IndexHook.php, extension-examples/CustomInvoiceIn/Hooks/IndexShowHook.php, extension-examples/CustomInvoiceIn/Hooks/SearchIndexShowHook.php. 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":"extension-examples/CustomInvoiceIn/Hooks/CreateHook.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bd83ebcbb67e3ecc11534cc9a3b1ca208c93078979692ea91e583f68586194"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060module === \u0027CustomInvoiceOut\u0027 \u0026\u0026 $context\u0060 appears character-identically in 9 files \u2014 extension-examples/CustomInvoiceOut/Hooks/CreateHook.php, extension-examples/CustomInvoiceOut/Hooks/IndexHook.php, extension-examples/CustomInvoiceOut/Hooks/IndexShowHook.php, extension-examples/CustomInvoiceOut/Hooks/SearchIndexShowHook.php. 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":"extension-examples/CustomInvoiceOut/Hooks/CreateHook.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fae1e73062f797561c6939661f07c02c73de37c884508ca5b454a76620b61f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060phase === HookPhase::RESPONSE \u0026\u0026 $context\u0060 appears character-identically in 49 files \u2014 extension-examples/CategoryProductThumbnail/Hooks/CreateHook.php, extension-examples/CategoryProductThumbnail/Hooks/UpdateHook.php, extension-examples/CustomBusinessRole/Hooks/CreateHook.php, extension-examples/CustomBusinessRole/Hooks/ShowHook.php. 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":"extension-examples/CategoryProductThumbnail/Hooks/CreateHook.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aa5a14982b3f75d22940ab4abed3daf46ecf5008050498409949b6befe5bc9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060phase === HookPhase::VALIDATE \u0026\u0026 $context\u0060 appears character-identically in 41 files \u2014 extension-examples/CategoryProductThumbnail/Hooks/ValidateCreateHook.php, extension-examples/CategoryProductThumbnail/Hooks/ValidateUpdateHook.php, extension-examples/CustomInvoiceIn/Hooks/ValidateCreateHook.php, extension-examples/CustomInvoiceIn/Hooks/ValidateSearchHook.php. 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":"extension-examples/CategoryProductThumbnail/Hooks/ValidateCreateHook.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebf92248b4542f50b01fd768caed3e6164b8d02b34d975463c47a993b3edd02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timing === HookTiming::AFTER \u0026\u0026 $context\u0060 appears character-identically in 2 files \u2014 extension-examples/FastMode/Hooks/TriggerUpdateInvoiceHook.php, extension-examples/InventoryTracking/Hooks/TrackingHook.php. 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":"extension-examples/FastMode/Hooks/TriggerUpdateInvoiceHook.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"815292f6c4b79b432e09ab69fa58edb23b98ac47216f297d9b384891fd54e1ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timing === HookTiming::BEFORE \u0026\u0026 $context\u0060 appears character-identically in 2 files \u2014 extension-examples/InventoryTracking/Hooks/AddMenuHook.php, extension-examples/Smtp/Hooks/UserNotify.php. 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":"extension-examples/InventoryTracking/Hooks/AddMenuHook.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"192972e146e083e133e9940fb64af3beb49de5a564c3089e1e0cc8082756f7f2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060link.label\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/AutoDataTable.jsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"deff102fa96a4d2e7f1e70f1478cef362bc57e2951d199b7bf16781e8168e5ca"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.label\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTable.jsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"79850a71a2c2de33eabe13c59aaa2289298b2910643e4771925f838b035586d0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.label\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/CommonDataTableV2.jsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4c59482ffba32223d3fbb5052629c8af9e559678bb09290d5377e9206d52de"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060data\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/RenderFieldTableByList.jsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f02ee72ce1c9d770d964da737b0a97c17f3b85cec6ae99b18c0d20e4144e03d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/activity-logs.jsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f59d50c571f320c799e727043b9698a1166c984ecd0f134a0312b5123f9dff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/user.jsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed4e969d45113aeec2402601f5ee79bcce38ad7813f3a33430dca03291213e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/pages/user.jsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4cec0a2d058733eb13ec369c21cd5d618f17b130bda2f8bdd8d3d5c78d9369"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/layouts/DashboardLayout.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20ca761c9134c115d3d3aad70f92f2653890183c25a1654b9fd5af156b1bd12"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/NotificationList.jsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"942f002a8a282469c3a9a1acafe674616b88f100ea2562ee4984370e4d66d1be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Topbar.jsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58895be740e834d3ba3b787527a88a4981ed3fbf2842b946fd449825aed3837"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail.jsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d50c7915017a1dd3c2c23f9ad57f82b5399802cdbf621af019c7f5b52004db2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Stock/StockInDetail/InventoryForm.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bfb4305f567b1793b7309489e8c64f2c6c451a2ee58891d64d348b75587600"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/EditPurchase/PurchaseInformation.jsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb957ec5ff3b5818d706338136f2af9cb959b4ff640eee5aecf5917be961885"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbfc5020933927e595471cdb420675b0c8512fecf79833837a91a0272fef2fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ba552218521b1d426213fe0078d25a8383f514e2f41c65689e62e74bce0020"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"59502a3b95a0670f4bf750dc7b3203a1152ea5e09f0c26d3d8d20cdee1b5da27"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Purchases/AddProduct/ListProduct.jsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23c88a5d5d49c21dea59c3e5e5c210dc6ec29316f9891f3590d8a8772b8a230"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Product/UpdateProduct.jsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3571ea589a9bd16d443e2755d123d009b0d0bbea42de0405c63afe4831565d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/AddOrder.jsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb76dca5576e1f14fa34a6d4360bdb29ba7c483a7e8fd638ede6c76bbed87a26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"330ab75930896c45ba88b9783e08caff3f92f00a64c93efe3d7f0e7f8d5b3ff2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fd08d34bb0a575183eebe265ecef69bdbda77f5a117cc8d529e9c23e73735a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95e07c097a578f95739b8212fc30f5b03b055d5e3ec21fb635943f2d36d4339"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ac022e4a071afbc524e1e9a7ce023f98719034c1f5fc715cc0e9e0507b7da2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder.jsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b395fb4ef420d7b63ae21cb4497ebf9ce9ae6b29b8d6ba96c6e436ef407e5ff2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/ListOrder.jsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50d4dc61bba5849ea7a90f7b691d10c9587f6ff9ff46628d1d116115eee8e9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/CustomerInformation.jsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a6ff930581efd35ace5209888fe763eecb27ed5076717311c5b83e06decbd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products.jsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"292b4ffec46544f096bee3da39aa4390142da4115073b75e549c0bf4730b7392"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Order/EditOrder/Products/ListProduct.jsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a936d3bb31383e37f29d6421dab8560c0b4ff51f4192f071ac7df8e94ea7ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fece6a0e9f2990334d40005941d45b91709794e7bc978c81420bd1b8ed71c08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceIns.jsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"812d21025bb0c19a3c2209ef5a5f87704a54470e3c4f6e66cd7d608919180abd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/IndexCustomInvoiceOuts.jsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"088db24684cd29fe9553a2a1144f449f10fa5db49044c2477357ccd7524faf59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c563eec28051db7352b499dbec7ee1036375ce1e04507234c71458326ae2f9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((error) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Extension/ExtensionCard.jsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4738627e12862c158f9c3be0f1de52262179e333f6682ef4eb2b3103b48b2307"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/Customer/ListCustomer/CustomerForm.jsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bea9123ee56a336ad82531f9ccfb6d447fc4e35c9dd4c98df57b599ad0dc8a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Extension/Infrastructure/Repositories/EloquentExtensionRepository.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a3f0e068937eb4b3b8a154f67de879972d073869afbd75b1f47cedfdf1bf68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 79 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Ewarning(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::warning(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Providers/AppServiceProvider.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c014948a53c404184069f33220a711d0a4a6e7579ecbef50be8e7fd0effafe8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 88 is handed a double-quoted string with variables interpolated into it as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values in the PSR-3 context array instead: \u0060$logger-\u003Eerror(\u0027Order {order_id} moved to {status}\u0027, [\u0027order_id\u0027 =\u003E $orderId, \u0027status\u0027 =\u003E $status])\u0060, which Monolog and every PSR-3 handler keep as fields beside the message (Monolog\u0027s PsrLogMessageProcessor fills the placeholders), or \u0060Log::error(\u0027order moved\u0027, [\u0027order_id\u0027 =\u003E $orderId])\u0060 with Laravel\u0027s facade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/app/Providers/AppServiceProvider.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a1041b28d3bed1610de0059bb86aa52addbbb81414f1fed55c4544c93fc3ca"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: This repository commits no PHPStan or Psalm configuration (\u0060phpstan.neon[.dist]\u0060, \u0060phpstan.dist.neon\u0060, \u0060psalm.xml[.dist]\u0060, or one a composer.json script names with \u0060--configuration\u0060), so nothing checks null: a \u0060?Customer\u0060 reaches \u0060-\u003Ename()\u0060 silently and throws \u0060Error: Call to a member function name() on null\u0060 the first time it is null. If the build passes a level on a command line instead, put it in a committed configuration \u2014 this check reads configuration, and configuration is all it can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ee877508ebc333ebff2765634874753d7fd67f71ea749a6c333792a59b461d7"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060Loading...\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/resources/js/react/components/AutoDataTable.jsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ca0d479e610a4c8f38d80c00a48bc7487bdcd8d97ebdd25edb1d9f0d97a92e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060all\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the docblock, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/core/Extension/Infrastructure/Repositories/EloquentExtensionRepository.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"30611962b0578226397f5c51cc008d84f64eebb9e5cdab1743606ab20f78b50a"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":72,"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."]}]}