{"$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":"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"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"]}],"properties":{"cwe":["CWE-1059"]}},{"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"]}],"properties":{"cwe":["CWE-506"]}},{"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":"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":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"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":"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 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/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 literals 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 literals inside it that branch (lines 81, 112, 139, \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/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 literals inside it that branch (lines 40, 16, 80, \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/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 literals inside it that branch (lines 18, 31, 44, \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/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 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/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 literals inside it that branch (lines 127, 65, 87, \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/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 literals inside it that branch (lines 81, 112, 139, \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/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). Most of this is not in the body itself: 0 of the 22 points are its own statements and the rest belongs 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 literals inside it that branch (lines 40, 16, 80, \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/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/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/app/Console/Commands/MakeEventModule.php:34-47 | app/app/Console/Commands/MakeListenerModule.php:33-46 \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/Console/Commands/MakeEventModule.php:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \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":"d78fb4138ca017e5e3cdd9e8b5aafac472c14c353070c5241c965b7b746c6ab8"}},{"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":"D15","level":"warning","message":{"text":"Hotspot: app/resources/js/react/components/CommonDataTableV2.jsx: app/resources/js/react/components/CommonDataTableV2.jsx changed 9 times in last 90 days, max cyclomatic complexity 21 in 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/Purchases/EditPurchase.jsx: app/resources/js/react/components/Purchases/EditPurchase.jsx changed 6 times in last 90 days, max cyclomatic complexity 19 in 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/Order/EditOrder.jsx: app/resources/js/react/components/Order/EditOrder.jsx changed 6 times in last 90 days, max cyclomatic complexity 18 in 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/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx: app/resources/js/react/components/Invoice/InvoiceOuts/InvoiceOutsDetail.jsx changed 5 times in last 90 days, max cyclomatic complexity 18 in InvoiceOutDetail at line 24. 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/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":"33fb981437539791a76f03b276d4aab9849c592d425ae13f604423552bff8abf"}},{"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 4 (its worst body is 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 4 (its worst body is 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 5 (its worst body is 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 2 (its worst body is (anonymous) 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: 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":21}}}],"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 4 (its worst body is 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/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 2 (its worst body is (anonymous) at line 23), 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":23}}}],"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 4 (its worst body is 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 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/components/UI/Input/SearchSelect.jsx: app/resources/js/react/components/UI/Input/SearchSelect.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 9 (its worst body is SearchSelect at line 5), 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; \u201CAdd language key, common data table v2, fix label of search select component, add translate for VerticalCommonTable\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/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":"9bb30251e4c3696a77e334fb4b55cef8d1be5fd1744e7fe4de44e593554dc72b"}},{"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 5 (its worst body is 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 (anonymous) at line 33), 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":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc77bbddbb7e67bc22caea2a0fb9e8c227dbfc892db608d78e0292f642c1c8e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/resources/js/react/components/Stock/StockInDetail.jsx: app/resources/js/react/components/Stock/StockInDetail.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 StockInDetail 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: fix overlaping event stock in detail form\u201D; \u201Cfix: add method update inventory on step stock in of purchase, clean code, update ui\u201D; \u201Cfix: fix router display for invoices detail. change key display total price of invoice out\u201D; \u201Cfix: update translate for stock in detail\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/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":"57507cc6273462a73c764f897270627b57e4d742a71936c59ba0f294124e700f"}},{"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/resources/js/react/components/Topbar/MenuMobile.jsx: app/resources/js/react/components/Topbar/MenuMobile.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 2 (its worst body is MenuMobile at line 6), 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: clean code menu mobile\u201D; \u201Cfix: responsive for table, iPad\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/Topbar/MenuMobile.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/Topbar/MenuMobile.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"78667ed5e306a24bdd1215a1a0af6fe97e3cc381dd4318676188649fb39c92f0"}},{"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 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 3 (its worst body is (anonymous) at line 36), 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":36}}}],"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/components/Order/EditOrder/Products.jsx: app/resources/js/react/components/Order/EditOrder/Products.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 10 (its worst body is (anonymous) at line 41), 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.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":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1abd357f97a792fd0a1a3489ed24e8fc764ff6813ead431870f34f0591ff2ba"}},{"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 4 (its worst body is 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/app/Console/Commands/MakeModule.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b65b3701424ade9b4c4e389684545315a6db17c8c512a5f3e7d6330f8626526"}},{"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/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/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/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/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/StockMovementOut/Infrastructure/Repositories/EloquentStockMovementOutRepository.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7acc455f13b6158945713a21ef9d44c7b9ed180fe23839feda4e0c5cd09c69"}},{"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":"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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":"91c52af7211370afd975ba344dfc991d2b12624910cc961ee54e6c2f31c6d6fd"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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":"fc1cc680a886c134b47b3c54e8a5cb34e215302bec82a9fdca7c6fa385d7ad4d"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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":"5a80262fe543467e00b647f3f14b88e8736e3c838ee3e52067a4c790fa365a83"}},{"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"}},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}},{"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"}},{"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"}},{"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"}},{"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":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"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"}},{"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"M1","level":"warning","message":{"text":"README may be stale: 283 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":"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":"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":"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 or lint 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":"cc320bfcb25580c14169043586a3ddd9570d8bf0b4c844452a5deb0ff234a119"}},{"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: No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found \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"}}],"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":"CWE-353","shortDescription":{"text":"CWE-353"},"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":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":62,"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."]}]}